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, ...

learn more… | top users | synonyms

3
votes
1answer
1k views

FreeBSD: periodic(8) is too noisy. How can I control the noise level?

FreeBSD & MacOSX ship with the the periodic(8) utility, which is a neatly organized set of utilities to periodically run system functions like ZFS filesystem checks, security checks, checking for ...
3
votes
3answers
5k views

APC shared memory problems

i have nginx+php-fpm and APC installed on a freebsd server, and i'm experiencing constant problems with php-fpm connected somehow with APC. php-fpm freezes in 'lockf' state (in top) and thus site is ...
3
votes
3answers
437 views

Use default options when compiling ports

I am compiling a few ports on FreeBSD, however during the compiling process I am often greeted with options for the dependencies of the port. This causes the compiling process to pause until I select ...
3
votes
3answers
658 views

FreeBSD buildworld

When recently using a Perl script, I got an error message saying "Userland and kernel are out of sync". After Googling around I've found that probably I haven't yet done make buildworld I understand ...
3
votes
4answers
2k views

How to grant su access without password to one user only in wheel group (FreeBSD)?

I know how to enable su without a password for all wheel group users by adding the appropriate configuration line in /etc/pam.d/su. I do not want to enable this for all wheel users but only one ...
3
votes
1answer
110 views

Migrating ZFS from using partitions to using the entire disk

I have a simple ZFS setup that I've been running for a few years now. When I originally set it up, I created a number of partitions and created a zpool from a partition on each of my two drives, and ...
3
votes
1answer
818 views

top process state column under FreeBSD

When running top interactively, I can see various words in the state column : nanslp, biord, select, uwait, lockf, pause, kqread, piperd, sbwait ... Some like nanslp or kqread are self ...
3
votes
1answer
315 views

Hosting multiple private VPNs on PFSense

We are running PFSense 2.0.1-RELEASE and need to make the following scenario work: 1..n remote offices for company A need to connect to a private VPN (VPN server hosted in our datacenter). All the ...
3
votes
4answers
2k views

How to clone pfsense 2.0 (FreeBSD) server for backup?

I'd like to routinely clone my live pfSense 2.0 server for backup purposes. I am a FreeBSD n00b. What I'm doing now: 1. Manually install pfSense to an identical hardware 2. Backup config file from ...
3
votes
2answers
764 views

Creating you own FreeBSD ami in EC2

I'm running XVM on my laptop. XVM has got FreeBSD installed with all the required ports to run APACHE/PHP. I want this .vdi file to be imported into an EC2 instance. Is it possible to import a ...
3
votes
1answer
151 views

Is it safe to install several apps from ports at the same time?

Can multiple make installs cause problems for the package system? For example: cd /usr/ports/*/nmap && make install cd /usr/ports/*/firefox && make install
3
votes
2answers
1k views

Best way to install multiple versions of Apache, PHP and MySQL on a single FreeBSD host

I want a test- and development-environment for web using Apache, PHP and MySQL. I need to be able to test a single web-application with multiple versions of PHP (5.2, 5.3, etc) and multiple versions ...
3
votes
3answers
525 views

Is MINFREE old hat?

On FreeBSD systems, and presumably a bunch of others, there is an amount of space reserved for root which is MINFREE% of the total capacity. With multi-terabyte filesystems, the default of 8% is a ...
3
votes
4answers
505 views

Best tools for keeping a FreeBSD 7.x system up to date?

I have had on-and-off contact with FreeBSD for 15 years, but I haven't maintained a FreeBSD system since 4.x. Now I need to install and maintain a couple of 7.x systems; first for development, then an ...
3
votes
1answer
124 views

Executing a command on link state change in freebsd

In freebsd when a cable gets plugged/unplugged the following lines are written to dmesg buffer: em0: link state changed to DOWN em0: link state changed to UP I would like to run a script when either ...
3
votes
2answers
3k views

How can I setup PCI passthrough for my HighPoint 1144A USB 3.0 card under ESXi 5.1?

I have an Apple Mac Pro (MacPro5,1) running VMware ESXi 5.1.0 (799733) with a HighPoint RocketU 1144A USB 3.0 PCI-express card installed. Given that VMware ESXi 5.1 doesn't support USB 3.0 for ...
3
votes
1answer
394 views

Does NFSv3 respect ZFS ACL's?

NFSv3 of course doesn't support ZFS ACL's, but what will happen if I have the following setup?: +-----------------------------------------+ +-------------+ | FreeBSD ZFS serv1 ...
3
votes
2answers
810 views

linux : netstat listeting 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 ...
3
votes
1answer
307 views

How can i view the disk latency of a ZFS pool, or of the disks in it?

I'm using FreeBSD. I would like to write a munin plugin to log it, but i don't understand how to get this data.
3
votes
1answer
583 views

How to rebuild gmirror from bad hard drive

On my freebsd box $uname -rms FreeBSD 7.2-RELEASE-p5 i386 hard disk want to die. smartd daemon write in log: Mar 29 21:25:04 smartd[935]: Device: /dev/ad7, 10 Currently unreadable (pending) ...
3
votes
1answer
889 views

MongoDB isn't installing on FreeBSD 8.2 by any way

Firstly I've tried to perform step by step building of MongoDB on my vps with FreeBSD 8.2 on it. I've faced problem with the last step of building it: vm3578# scons . scons: Reading SConscript files ...
3
votes
2answers
239 views

Digitally signed FreeBSD package

In nasty world of Windows you can digitally sign installation package (exe) and during installation check if its authentic or not. Any idea how to check same under FreeBSD(preferably in conjunction ...
3
votes
1answer
95 views

blocking packets larger then specific size with pf

Is there a way with pf to block specific type of packets larger than specific size?
3
votes
1answer
386 views

Freebsd 7.2: View firmware version for disks?

I'm running FreeBSD 7.2, with Seagate Cheetah (Model ST####) drives. We are having some problems with the SCSI drives on these machines. Our vendor says that updating the firmware on the drives may ...
3
votes
2answers
345 views

IP Forwarding and traffic shaping

Is there any way to forward packets from network A to network B (just like a router) without changing source IP Address (and vice versa, from network B to network A) and also enforcing traffic shaping ...
3
votes
4answers
6k views

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 ...
3
votes
1answer
122 views

FreeBSD 9.2 shows SATA3 drives as SATA2

I'm running FreeBSD 9.2 on an Intel S2600GZ server board with 4 Intel SSDs. Both the server board as well as the disks are SATA3 capable. However, FreeBSD seems to think they are SATA2. Nowhere in ...
3
votes
1answer
601 views

Segfault PHP-FPM, Nginx, Freebsd

We are experiencing CPU shortage at high-load. It only happens at some point when online users are around 1300-1400 (according google analytics). We are receiving Empty Response in browser. It seems ...
3
votes
1answer
362 views

100% kernel load on FreeBSD 9

I'm having problems with a FreeBSD 9 server. One of the 8 cores (4 w/ HT) is constantly at 100% kernel load. top gives me: CPU: 0.0% user, 0.0% nice, 12.5% system, 0.0% interrupt, 87.5% idle ...
3
votes
2answers
186 views

HighPoint RocketRAID 2680SGL and FreeBSD

I'm trying to get my RAID controller working with FreeBSD. But it seems it's not being recognized by FreeBSD: module_register_init: MOD_LOAD (pci/rr2680, 0xc0a45b90, 0xc61f0430) error 22 ...
3
votes
1answer
353 views

ftp.exe does not convert end of line characters while transferring to FreeBSD ftp server

I am having problems transferring a text file from Windows 7 using ftp.exe to a FreeBSD server. After the file transfer the end-of-line characters are not changed from \r\n to \n, Instead they remain ...
3
votes
1answer
184 views

Resource consumption of FreeBSD's jails

Just for curiosity. An example machine: an dedicated amd64 server with the last stable version of FreeBSD and UFS for the partitions. How much resources consume FreeBSD for each empty jail? I mean, I ...
3
votes
1answer
404 views

Should pam_mkhomedir go in /etc/pam.d/login , sshd or system-auth?

I want to enable pam_mkhomedir.so for users who authenticate to our system. I want a user's home directory to be created when they SSH into the box. One common convention seems to be to put ...
3
votes
1answer
176 views

Turn server back on after power loss with FreeBSD

I have a VIA M'SERV S2100 with FreeNAS 8. Since I upgraded from FreeNAS 7, the M'SERV no longer turns back on after suffering a power failure. As I remember it, there was a setting for it in the old ...
3
votes
2answers
781 views

Run cgi-script on commandline as user www?

I'm running FreeBSD 7 and apache-2.2.13. I am trying to debug a cgi script at http://www.example.org/cgi-bin/printenv . This script is a simple script written in Bourne shell. I would like to run ...
3
votes
3answers
1k views

Command to output panic/reboot history in FreeBSD

Many years ago while dealing with a FreeBSD (5.3?) box that randomly panic'ed and reboot (bad memory as it turned out), I came across a command in some forum post that when used would output ...
3
votes
1answer
1k views

Checking whether disk is in sleep state (FreeNAS)

How to check whether disk is in sleep? I am doing some reports in background and, if disk is already sleeping, I would like to avoid waking it up. Which command can I use to check its status without ...
3
votes
7answers
438 views

Convert dedicated server from Linux to FreeBSD

I have a dedicated server with CentOS 4 on it. I want to put FreeBSD 7 on it, but I do not have console access nor physical access. I was thinking of doing a generic install of FreeBSD on a local ...
3
votes
1answer
79 views

Is it possible to update a package w/out rebuilding it from /usr/ports on FreeBSD?

I'm running FreeBSD: # uname -a FreeBSD f9.XXX.org 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # ...
3
votes
1answer
124 views

FreeBSD restore of /rescue

I'm running a restore from a previous backup of my FreeBSD system, and run into trouble when restoring / (excluding mount-points). The problem is that /rescue fills the / partition (to the extent that ...
3
votes
1answer
325 views

FreeBSD network performance fluctuating

I just installed a fresh FreeBSD 9.0 on a new server. The machine is using the onboard gbit nic (Atheros AR8151). It runs Samba and FTP and has a ZFS pool of ~3TB. When I download files from some ...
3
votes
1answer
3k views

FreeNAS box has slow network transmit speeds

I'm seeing some really odd issues with network speeds on my FreeNas 8.0.3 box. Receiving traffic is fine, but sending traffic slows down to 10-50kb/s, and stalls a lot. Receiving: Transmitting: ...
3
votes
3answers
2k views

How do I get internal hosts to use a VPN connection set up on a FreeBSD router?

Question in short: How do I get traffic from a host on an internal network, using NAT behind a router, to use a VPN connection set up on the router? I have a FreeBSD 9 router with 4 network ...
3
votes
1answer
396 views

Adding the IP Failover on FreeBSD

I've just bought a dedicated server in OVH.com and they are sending me some warnings in email that I haven't configured my IP Failover address correctly and they're going to block this failover within ...
3
votes
2answers
1k views

FreeBSD: Samba performance over GBit-Ethernet

I'm using a FreeBSD NAS with RAID-Z. I can read ~300MB/s from the ZFS disks to /dev/null on the box, but only get about 50MB/s over GBit-Ethernet with SMB to Windows 7 (Samba 3.5.6). Both systems ...
3
votes
1answer
252 views

Analyze contents of a dump file

Is it possible to extract some details from a file generated with the dump(8) command on a FreeBSD system? Preferably, I'd like to see the file sizes for each file inside, to see what exactly makes my ...
3
votes
1answer
126 views

GCCVERSION not found error when installing a FreeBSD port

I am trying to install a program using port on FreeBSD 4.7. I get this error: Couldn't find your current GCCVERSION (OSVERSION=470000) How would you fix an error like this?
3
votes
2answers
1k views

How to tell if a freebsd jail is up to date?

I've set up a "Service Jail" in FreeBSD 8.0 according to the FreeBSD Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html). After upgrading the host to the latest ...
3
votes
3answers
3k views

rsync over ssh backup failing after relocation of server

I've got two FreeBSD machines set up; one serves video data and the other is the backup for the first. At this point I've got around 4TB of data. I add files to the video server a few at a time, and ...
3
votes
3answers
5k views

pkg_add Environment on FreeBSD

Suppose you want to add a package foo but when you invoke pkg_add via: pkg_add -r foo you get an error: Error: Unable to get ftp://.../foo.tbz: File unavailable ... It's not a problem since ...