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.

FreeBSD includes many modern OS features including advanced IP stacks and networking, Virtualization, hardened security, and high availability techniques.
For more information about FreeBSD, see their website (FreeBSD.org).

Questions are welcome here on Server Fault, the Unix and Linux Stack Exchange or the FreeBSD Forums.

Additionally Wikipedia has en entry on FreeBSD and the original BSD OS.

1537 questions
11
votes
5 answers

ZFS Sync over unreliable, slow WAN. ZFS replication, or rsync?

I've been tasked with making an off-site backup work over the WAN. Both storage boxes are FreeBSD based NAS boxes running ZFS. Once or twice a week, 15-60 gigs of photography data gets dumped to the office NAS. My job is to figure out how to get…
Paul McMillan
  • 1,219
  • 1
  • 8
  • 17
11
votes
5 answers

FreeBSD jails vs virtualization performance

I'll soon buy myself a nice server (something like the quad-cpu HP DL585) for personal use (home related stuff, data-mining projects, web server and some cron jobs), and I wonder how to separate all those tasks into dedicated environments. I'm used…
Berzemus
  • 1,192
  • 3
  • 11
  • 19
10
votes
2 answers

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 content with ending ��������� 4. Log file of…
busy
  • 281
  • 1
  • 2
  • 8
10
votes
2 answers

BSD nc (netcat) does not terminate on EOF

Host A: tar cf - stuff | dd | nc -N -l 12987 Host B: nc a.example.com 12987 | dd | tar tf - On host A dd prints its summary after tar completes. Thus it is clear, that tar closes the pipe/file -> EOF. 165040+0 records in 165040+0 records out…
georg
  • 313
  • 1
  • 2
  • 8
10
votes
3 answers

SFTP with chroot depending on public key of connecting user

I want to build a server (running Debian or FreeBSD) that receives backups from different clients via sshfs. Each client should be able to read and write its own backup data, but not the data of any of the other clients. I had the following idea:…
Xykon42
  • 103
  • 1
  • 6
10
votes
1 answer

SSH_ORIGINAL_COMMAND variable not getting set

I am working with two servers, both of which run FreeBSD 8.4-RELEASE-p1 and OpenSSH_6.1p1. Both servers' ssh_config files, located in /etc/ssh, are identical. Both servers are configured to allow users to remote into a jailed environment using…
dtg
  • 201
  • 2
  • 3
10
votes
5 answers

How to integrate Active Directory with FreeBSD 10.0 using security/sssd?

What are the required steps to authenticate users from an Active Directory running on Windows Server 2012 R2 in FreeBSD 10.0 using sssd with the AD backend with Kerberos TGT working?
10
votes
1 answer

How can I get FreeNAS and pfSense to report more using SNMP?

I have two servers which run variants of FreeBSD: One is a pfSense router and one is a FreeNAS 8 server. Both these servers run SNMP, and I am collecting and graphing their information using a third Cacti server. The SNMP data from both the pfSense…
Josh
  • 9,190
  • 28
  • 80
  • 128
10
votes
1 answer

How to NFSv4 share a ZFS file system on FreeBSD?

Using FreeBSD 9, and created a ZFS file system like so zfs create tank/project1 zfs set sharenfs=on tank/project1 There are many howto's on setting up NFSv3 on FreeBSD on the net, but I can't find any one NFSv4 and when the NFS share is done with…
Sandra
  • 10,303
  • 38
  • 112
  • 165
10
votes
5 answers

FreeBSD Ports: How can I see all dependencies for a port, and all subdependencies for those dependencies?

I'm trying to build a port which depends on apache-ant. I thought I could run make build-depends-list to see all dependencies required by this port: # make build-depends-list /usr/ports/devel/apache-ant /usr/ports/java/jdk16 /usr/ports/math/gmp But…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
10
votes
4 answers

Why can't I ping an address on the loopback device under FreeBSD?

From Wikipedia: The most commonly used IP address on the loopback device is 127.0.0.1 for IPv4, although any address in the range 127.0.0.0 to 127.255.255.255 is mapped to it. This is not true, at least on FreeBSD: $ ping 127.1.1.1 PING…
Eugene Yarmash
  • 2,433
  • 5
  • 34
  • 54
10
votes
1 answer

How to print list of users and groups on FreeBSD?

How to print list of users and groups on FreeBSD?
Eonil
  • 10,459
  • 16
  • 36
  • 54
10
votes
4 answers

Change default crontab editor to nano in FreeBSD

When I edit the crontab using crontab -e it opens the crontab in vi. I'd prefer it to use nano. How can I change this? EDIT: For some reason the export command returns command not found. And changing the EDITOR env value didn't work for crontab…
Ian
  • 1,498
  • 4
  • 26
  • 32
10
votes
1 answer

How do I disable hard disk spin down or head parking in FreeBSD?

I have built a new FreeBSD file server with multiple HDDs. I found whenever the disks are not accessed for a while, the disks would spin down completely or park its head. How do I disable HDD spin down or head parking? On Linux, I know it can be…
比尔盖子
  • 434
  • 1
  • 3
  • 11
9
votes
3 answers

ZFS volume as ISCSI target

I'm looking into ZFS and using FreeNAS for ZFS management and have the following question: Do the ZFS advantages as deduplication, auto error fixing etc still work when creating an iSCSI target on a ZFS volume? In FreeNAS, this is probably a raw…
Devator
  • 1,473
  • 4
  • 18
  • 37