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
725 views

Automated installation of FreeBSD

I would like to automate the installation of FreeBSD 8.2 for a project I'm working on. I know the answer to every question in the standard installation, so even a script that just pushes keystrokes ...
3
votes
2answers
469 views

Crontab: Not executing properly

(OS is FreeBSD 8.1) Yesterday I added 2 lines to crontab as root: 0 7 * * * curl --silent http://username:pass@dev.mydomain.tld/cron/execute/process/verbose/true ...
3
votes
3answers
995 views

What's the difference between BSD-style and Unix-style command line options?

I tried to google it but to no avail. Can anybody help me with this?
3
votes
2answers
1k views

How do I automatically start supervisor on boot in FreeBSD?

Is there a pre-existing startup script for supervisord on FreeBSD? If not, is there a good guide for writing rc.d scripts for FreeBSD? I'm pretty new to the platform. Thanks. UPDATE: I now have the ...
3
votes
1answer
199 views

How do I remove Apache if I installed it from the source tarball?

I installed Apache 2.4 from a source tar, and there seems to be no "make deinstall" or "make uninstall" options in the makefile in the extracted directory. How can I remove the installed Apache server ...
3
votes
2answers
1k views

FreeBSD 9.1; bridge0 and default gateway issue

I've got a FreeBSD 9.1-RELEASE-p1 system with three nics, I'm using: igb0, sfxge1 and sfxge2. igb0 used for internet access and is default gateway. Other two nics, I need to use to create bridge0. ...
3
votes
1answer
308 views

How can I quickly install FreeBSD ports?

I am a Linux system administrator, so my knowledge of the specifics of FreeBSD are very literal, and not very thorough; I've been configuring packages and what not a for a few days now and every one ...
3
votes
2answers
1k views

Building one big filesystem with JBOD and ZFS

How to build a really big ZFS filesystem? The above question is vague in the 1st reading, so more precise. I know how to build big ZFS volume with one computer. e.g. get a good computer with ECC ...
3
votes
1answer
548 views

Expanding raidz vdev

I'm currently planning on installing FreeBSD 9 on my home server. The machine has 4x 1.5TB disks, and at some point, when HDD prices drop I'll be upgrading to something bigger, perhaps 3TB. The disks ...
3
votes
1answer
2k views

How can I disable NTP in pfsense?

I am running my pfSense gateway in a ESXi server. right now the server gets its time from the NTP server specified in the general settings section of the WebGUI. I want to disable this so pfSense ...
3
votes
2answers
90 views

Will a freebsd installation run on a different system without reinstalling?

I want to move my freebsd 8.2 installation from a dual-core AMD machine to a quad-core intel machine. Ideally I'd just like it to re-detect all the changed hardware and load whatever drivers it needs ...
3
votes
4answers
1k views

Automatically throttle network bandwidth for users causing bulk traffic

Is anybody aware of a FreeBSD, Linux, or Windows based product that can automatically lower the priority of network packets of users that have caused a high amount of network traffic during the last ...
3
votes
3answers
4k views

Handling FreeBSD package upgrades using pkg_add

I'm trying to use FreeBSD's pkg_add command to install and upgrade binary packages in a build-once-install-on-multiple-machines sort of scenario. It works well when installing a new package, but ...
3
votes
3answers
6k 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
530 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
706 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
1answer
50 views

FreeBSD ports: Set make defines not exposed as Options

In FreeBSD, when you do make config, lots of ports have options that can be set. These options are saved so that when you update the port, they are used again. Some ports have additional items that ...
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
128 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
1k 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
2answers
1k 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
374 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
2k views

ZFS RaidZ Import Failure when migrating

So my the USB drive attached to my FreeNas 7 system, went bad so I used the situation as an opportunity to upgrade to FreeNas 8. The problem is now I'm having trouble getting my ZFS to spin up: ...
3
votes
2answers
963 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
3k views

Pfsense mbuf full, what to do?

I noticed today that the MBUF usage has hit its limit. Apparently the site I'm running under pfsense is having some troubles too, I'd like to know if it would be safe to just sysctl ...
3
votes
1answer
156 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
549 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
508 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
308 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
479 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
1answer
357 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
745 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
1k 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
259 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
97 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
422 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
4answers
3k views

Mounting a share with spaces in FreeBSD fstab

I'm trying to mount a smb network share in fstab on FreeBSD, which works fine for a share without spaces, but fails if a space is in the name. I have replaced the space with \040 which is what ...
3
votes
2answers
348 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
7k 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
171 views

Understanding PAM authentication procedure on FreeBSD with security/sssd

I'm trying to understand what's behaving errantly on my PAM configuration on FreeBSD 10.0 The machine is configured with two different authentication realms, one is the default Unix authentication ...
3
votes
1answer
228 views

where does uname get version number in FreeBSD RELEASE?

I installed FreeBSD 9.1-RELEASE, after binary upgrading to 9.2-RELEASE using freebsd-update, all files I checked are correctly in 9.2-RELEASE-p4. For example: the kernel contains the new version: ...
3
votes
1answer
156 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
659 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
494 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
209 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
433 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
229 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 ...