Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [freebsd]

FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, and userland utilities such as shells.

2
votes
0answers
93 views

How can I recover my ZFS pool, which suddenly went offline and reports that it was “last used by another system”?

tl;dr: I am running a FreeBSD 11.2 NAS server with ZFS on a server with 16GB ECC memory. I've discovered that my main pool has disappeared. ZFS can see the pool, but reports fault ZFS-8000-EY and ...
1
vote
1answer
4k views

mysql won't start on FreeBSD

We recently picked up a client that has a site hosted on a FreeBSD box. The stack is FAMP. Things were chugging along just fine until recently mysql seems to have stopped running. There is no mysql ...
0
votes
1answer
33 views

What is the most likely to succeed way to detect attached disks in FreeBSD?

I have seen at least 3 different ways to view attached disks in FreeBSD. Is one more likely to succeed in detecting disks than the others? Here are the three that I know about: camcontrol devlist ...
0
votes
1answer
2k views

GPT partition errors on boot - ZFS FreeBSD

My system appears to be running fine and I'm just trying to clean up errors. That said... On boot, I get the following errors for all drives in a 24 disk storage enclosure: GEOM: diskid/DISK-%20%20%...
0
votes
1answer
20 views

freebsd server hard drive exact copy of drive make it bootable [closed]

I run freebsd 11 on a server. I bought 8 10 terabyte hard drives. This is going to replace the current single drive I have. My server has a built in raid controller. Ass drives are sas drives. Ok ...
0
votes
1answer
27 views

On FreeBSD what tool is used to dislay the DNSSEC signature expiry date for a zone?

We use FreeBSD-12 and Bind-9.11.6. We have DNSSEC enabled for some of our domains. I wish to verify the signature expiry date for these zones. I cannot seem to locate any information on exactly how ...
1
vote
1answer
43 views

Forward traffic on same interface

I am operating a server hosting a set of services, each run in a separate Docker container. In addition, there is a KVM running pfSense acting as firewall. The firewall has a physical interface that ...
5
votes
1answer
76 views

Resize zfs pool

We are using Digital Oceans block storage feature on our FreeBSD system. When we add a new block storage we get: da0 at vtscsi0 bus 0 scbus0 target 0 lun 1 da0: <DO Volume 1.5.> Fixed Direct ...
0
votes
1answer
928 views

Samba config and Mac OS X mounting

I'm aware that his question should maybe be posted on SuperUser. But as it probably has something to do with the Samba server, i'm posting it here. I'm trying to mount one of my Samba shares in Mac ...
-2
votes
1answer
18 views

Freebsd 11 custom installer memstick with packages [closed]

I use freebsd 11 memstick installer image always but need some packages if I install freebsd 11 then I should install some packages ( phpmyadmin, php7, nginx, mysql, nano) and enabled root ssh vb ...
0
votes
0answers
39 views

Periodically 504 timeout with nginx and php-fpm

I have php-fpm 7.0 and nginx 1.11.6 in FreeBSD 10.3. Sometimes I get 504 timeout even when the server has a lot of free resources. Nginx waiting answer from php-fpm 30 seconds. I write application ...
2
votes
2answers
1k views

FreeBSD shows high load, cannot find bottleneck

So we have set up a server(11.0-RELEASE-p2) that hosts around 150-200 jails. The server has 24 cores and 192gb of ram. When using top it shows no sign of stress - except the high load. All jails ...
0
votes
2answers
2k views

Can't connect to a postgres server

I have a strange situation, I have created a second postgres server that will eventually become a slave to my current master, anyway for testing purposes I have currently installed postgres, and ...
1
vote
0answers
29 views

expect, mpd5 and dynamic config loading

I have a FreeBSD server that's connected to WAN using PPPoE. Iva esuccessfully set ip the L2TP and PPTP VPN ontop of this PPPoE WAN connection. The problem is that L2TP needs to call 'set lt2p self ` ...
4
votes
1answer
1k views

Install Java 9, 10, 11, or 12 on FreeBSD 11.1

When I look to my up-to-date Ports collection: cd /usr/ports/java && ls -d openjdk* … I see only versions 6, 7, and 8 of Java in the OpenJDK releases: openjdk6 openjdk6-jre openjdk7 ...
2
votes
1answer
67 views

Enable IPv6 in MariaDB in FreeBSD jail

I'm trying to set up a MariaDB 10.2 Server on a FreeBSD 11.2 Jail. The Server is running and accepts remote connections via IPv4 just fine. According to sockstat, it should also be listening on IPv6: ...
1
vote
1answer
1k views

FreeBSD & Jails: Send mail through Postfix in Jail

I have FreeBSD 10.2 and I'm using several Jails, one of them has Postfix installed. I want my other jails and my host system to use the local Postfix installation in the Jail. They should use ...
0
votes
3answers
3k views

how to change mysql data directory

I use FreeBSD 8.2, mysql 5.1.58. I want change mysql default directory. I config datadir= /path OR my-data-dir= /path on my.cnf but not done. Note: i permission for /path is 755 and owner mysql:mysql. ...
1
vote
3answers
417 views

Get list of users in a group in FreeBSD

How to get a list of usernames assigned to a group in FreeBSD 11.1? This Question asks for a list of users or a list of groups. This Question asks for users who happen to be members of multiple ...
1
vote
1answer
994 views

Increase number of connections per socket

How do I increase the number of connections each socket can accept? I know that you can increase the total number of connections using: # sysctl kern.ipc.somaxconn=4096 But each connection is then ...
1
vote
0answers
351 views

freebsd-update IDS reports wrong SHA256 on every single file on my system

How come freebsd-update says following on every single file on my file system? # freebsd-update IDS > freebsd-update.IDS # tail -1 freebsd-update.IDS /var/db/mergemaster.mtree has SHA256 hash ...
2
votes
2answers
930 views

syslogd filtering not working on FreeBSD

I am failing to get filtering by program or facility working in FreeBSD syslogd. I added local6.debug /var/log/test.log !testd *.debug /var/log/test.log to my /etc/syslog....
0
votes
1answer
1k views

Bhyve : tap0 bridged network interface for ubuntu instance times out during startup

I'm trying to setup an ubuntu instance using iohyve under FreeNAS 9.10, the instance will boots up but timeout when trying to raise the network interface. So far I've tried to double check the ...
0
votes
1answer
990 views

M0n0wall won't pass traffic on different LAN subnets unless “Bypass firewall rules” is checked

I have a working configuration, but a question is bugging me. The question centers around having multiple subnets on a single interface. LAN: 10.10.10.1/24 OpenVPN Server LAN IP: 10.10.10.250 ...
7
votes
5answers
16k views

linux : netstat listening queue length

Is there a way to view queue length on listening socket under Linux, the same way as netstat -L outputs for FreeBSD? I.e. you can see X/Y/Z in netstat -L output, but netstat under Linux doesn't ...
5
votes
13answers
14k views

Network monitoring tool for FreeBSD [closed]

I am using FreeBSD 6.1 as router. Now I looking for Network Traffic Monitoring software to see what's happening with internet link. I have two installed LAN cards in my system, one for lan and other ...
0
votes
1answer
1k views

ports in freebsd jail fetching but not updating

I've created a jail to host my webserver/blog, but when attempting to build any port, I consistently get the message "portsnap: Directory is not writable: /usr/ports". Attached is a screen capture ...
4
votes
2answers
3k views

nginx php-fpm child exited with code 0

Anyone had a similar problem with php-fpm 7 with 11.0-RELEASE-p8 or know how to debug it? Situation starts after few minutes and show only half pages to clients. Any pages show up about ~62kb of ...
0
votes
1answer
42 views

PF blocking out Flags [FP.]

On a FreeBSD 12 server, I started to notice that pf is blocking out having Flags [FP.], the logs are flooded with something like this: 00:00:00.000004 rule 2/0(match): block out on bge0: 213.59.241....
10
votes
3answers
19k views

ZFS import unable to find any pools

I had a ZFS pool -- a mirror containing 2 vdevs -- running on a FreeBSD server. I now have only one of the disks from the mirror, and I am trying to recover files from it. The ZFS data sits in a GPT ...
0
votes
1answer
1k views

One domain on Apache goes to default page without www

I'm using Apache/2.4.16 on FreeBSD 10.2. I have two instances of Apache running, each serving several domain names. The server has two network interfaces, one for the public Internet, one only ...
4
votes
2answers
12k views

How to use nginx PAM module?

I would like to use nginx PAM module to authenticate a site with existing users on a FreeBSD system. I tried to use pam_unix.so, but no luck. It's just not let me in with my usr/psw pair. :( nginx ...
1
vote
0answers
310 views

How to reinstall boot loader on FreeBSD?

I'm planning to use rsync to clone an entire FreeBSD server to another machine, overwriting the files of the existing old FreeBSD OS (minus /etc/hostid and a few others) But that would break the boot ...
1
vote
2answers
136 views

Trapped in freebsd-update fetch with strange End display

FreeBSD noob here. When I run freebsd-update fetch on a fresh install of FreeBSD 12.0, it ends with, well, End, without taking me back to a prompt. How do I exit this screen?
0
votes
1answer
1k views

How to compile FreeTDS on FreeBSD10.0-64 in a right way

When i try compile freetds-stable from source (today is a 0.91 version) with: ./configure --with-iodbc=/usr/local --with-tdsver=7.2 --disable-libiconv make make install i didn't find the libtdsodbc....
0
votes
1answer
1k views

ipnat.conf - map and rdr won't work!

I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? su-...
0
votes
2answers
176 views

FreeBSD swap usage with mysql

For the past few months, on a few different servers with similar FreeBSD versions and specs, I've been experiencing high swap usage with MySQL while seemingly having plenty of free RAM. FreeBSD 11.2-...
0
votes
1answer
333 views

Something sends emails to email@example.com permanently

I'm watching multiple lines in maillog for the last few days Feb 26 06:00:17 d3355 sm-mta[2682]: x1L5tNWu013205: to=<email@example.com>, delay=4+21:04:54, xdelay=00:00:00, mailer=esmtp, pri=...
8
votes
6answers
17k views

Identify Disks on SuperMicro server running FreeBSD

I am running on a SuperMicro 2U server with 6 disks in a ZPool. I want to identify each drive bay using the Drive Carrier LED from running a command from a tool in FreeBSD. Is there a way to do this? ...
0
votes
1answer
108 views

Releasing zfs arc memory on FreeBSD

I have a machine running FreeBSD that is subject to a variety of workloads, rabging from Disk intensive to memory intensive. If large amounts of ZFS data are accessed, then the Wired Memory usage can ...
0
votes
1answer
68 views

Time is going too fast on FreeBSD 12 on compute engine

I have created a FreeBSD VM on Google cloud engine. The image is installed with ntpd configured and is running: $service ntpd status ntpd is running as pid 4950. But date is in the future, the time ...
0
votes
0answers
80 views

FreeBSD-12.0 PF firewall default rule is blocking when more specific rule allowing is ignored

Our PF firewall contains this: . . . scrub in all fragment reassemble no-df max-mss 1440 ### em1 ipv4 = 123.12.3.234 nat log on $ext_if \ from $net_nat \ ...
1
vote
1answer
99 views

Sendmail in FreeBSD send with external SMTP without auth

I'm sorry if this might sound confusing at first. My brother asked me to make a web server for him because he wanted to self host his own website and not use a hosting service anymore. The problem ...
1
vote
1answer
1k views

FreeBSD 10.3 SSSD AD integration issues

I'm having a lot of issues with FreeBSD 10.3 I'm finding the binary packages are fairly useless. I've had to build nearly everything to make things "work". I like using the adcli tool to join to a ...
1
vote
2answers
1k views

How can I check the partition name in FreeBSD?

I am currently running my server in the rescue mode, due to the firewall issues. In order to disable the firewall thing I would have to mount the / partition. My problem is that I dont know/remember ...
0
votes
1answer
105 views

how to update and maintain multiple jails (ZFS & nullfs skeleton)

There are multiple ways and tools to create jails, and now that disk spaces is becoming cheaper the creation of a full jail (having already compiled a world) is just a matter of seconds: zfs create ...
0
votes
1answer
1k views

FreeBSD jail with IPFW with loopback - unable to connect loopback interface

I am trying to configure a one IP jail with loopback interface, but I am unsure how to configure the IPFW rules to allow traffic to pass between the jail and the network card on the server. I have ...
0
votes
1answer
1k views

How to get access to Icinga on Apache 2.4?

I am trying to install Icinga on a FreeBSD 9.1 box with Apache 2.4. I use the Apache config which was provided with the Icinga port. But when i try to access the web frontend, i get the following ...
0
votes
0answers
140 views

Amavis decide_mail_destiny crash

After upgrading to FreeBSD 12 I'm experiencing issues with amavis from time to time. The reason for the crash in unclear for now. A simple kill -9 $amavispid && service amavids start does ...
0
votes
0answers
65 views

MongoDB rc.d script for FreeBSD

I want to start MongoDB (aka mondgod) as a service under FreeBSD. I have the following in rc.conf: mongod_enable="YES" mongod_config="/usr/local/etc/mongodb.conf" mongod_dpath="/var/db/mongod" But ...