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
2k views

Increasing FreeBSD threads

For network apps that create one thread per connection (like Pound), threadcount can become a bottleneck on the number of concurrent connections you can server. I'm running FreeBSD 8 x64: $ sysctl ...
0
votes
3answers
2k views

Smallest footprint OS [closed]

Many FreeBSD users tell me that FreeBSD has the smallest footprint in terms of CPU & RAM usage. I'm looking for a server OS with the smallest possible CPU & RAM usage, so I will try FreeBSD ...
0
votes
2answers
1k views

Python program not being started by rc.d in FreeBSD 7.1

I have a python program which I wrote and would like to run on startup in FreeBSD 7.1. For my current installation, the script lives at /home/devuser/project/trunk/src/proj. At the beginning of my ...
1
vote
1answer
50 views

FreeBSD pre-mount script for gnop device?

How do I run a script in FreeBSD before filesystems are mounted? I want to install a gnop device and mount it (no, not for ZFS). Is there any canonical place where I can put a gnop create ...?
0
votes
1answer
105 views

backup multiple websites daily automatically [closed]

this is my situation i have a web server pc with many websites in it (using vhost) running freebsd. just in case something bad happened to my server, i want to backup every websites in it every ...
2
votes
2answers
3k views

FreeBSD: OpenLDAP, SASL, and GSSAPI

I've run into some problems getting OpenLDAP on FreeBSD (8.2-STABLE) to authenticate using Kerberos tickets. I hope I've just had a brain glitch, so please feel free to let me know that I've missed ...
0
votes
1answer
419 views

File name too long mount_nfs

I have a FreeBSD Vagrant box that looks like this: # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = ...
0
votes
1answer
559 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: ...
2
votes
1answer
118 views

PF redirect rule: how to limit the rule to specific user

I was trying to setup a PF redirect rule to force all web traffic from a specific user account to go through a web filter on a shared computer. With iptables, I can use --uid-owner option to limit ...
3
votes
5answers
597 views

Router limits network performance but its CPU load isn't 100%

I'm using a PC Engines APU device running FreeBSD as a NAT router. The setup is very usual: one WAN connection and one LAN connection. Theoretically, WAN connection is 800/40 Mbit/s and the LAN one ...
-1
votes
1answer
211 views

LSI MegaRAID 9240-4i & RAID1 (mirroring) on ZFS filesystem

Exist any incompatibility between an existing virtual drive created on LSI MegaRAID 9240-4i SAS/SATA Controller with RAID1 and the ZFS filesystem? I tried to make mirror(2xSATA HDD 300Gb) on freebsd ...
0
votes
1answer
150 views

forward a single message from queue with sendmail

I have a message in the mail queue which has been deferred because the recipient box is full. The message isn't in my mailbox, just the queue. Is it possible to forward that message to a different ...
1
vote
1answer
104 views

Building custom bootable image from installed and customized FreeBSD 10.1

I am using FreeBSD 10.1 amd64. I customized it and now i want to make a bootable image so that I can install it on any machine with usb stick. How can I make the Bootable image from the Pre- installed ...
6
votes
4answers
2k views

FreeBSD Hypervisor?

is there any possibility to have FreeBSD running virtual guests (Linux and Windows) apart from VirtualBox? Didn't find any recent information yet.
1
vote
0answers
335 views

How Do I get unbound to only use DNSSEC?

I have a pfsense box, that I am in the process of configuring for the first time I would like to use DNSSEC. I used this site to check my DNSSEC status. When I go to this site I am told that my ...
0
votes
1answer
303 views

are these firewall settings correct on my freebsd server to allow postfix to pass trough?

I'm trying to set a mail server up on my freebsd 7 virtual host. But when I try to send or receive an email the log files tell me something about connection refused like this: Feb 8 17:54:42 ...
1
vote
1answer
283 views

FreeBSD: netatalk3 daemon keeps restarting

I set up a netatalk3 / afpd daemon on my FreeBSD server about half a year ago and used it as networked TimeMachine for my MacBook Pro. Pretty much fire and forget. Then, beginning of this month, I ...
2
votes
1answer
542 views

FreeBSD 10.1 routing issues

I have FreeBSD based router in my campus. Trivial configuration for these types of routers: two interfaces, one of them looking to the outer internet, second - to the local net. In my local net ...
0
votes
1answer
178 views

nginx php-fpm not fully working

I'm using nginx-1.6.2_1,2 with php5-5.4.36 on: # uname -a FreeBSD X.X.X 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014 root@X.X.X:/usr/obj/usr/src/sys/R610 amd64 ...
2
votes
1answer
3k views

Samba server on CentOS sees shared directories, but no files visible

I have a very basic samba share for a development environment. There is a directory /var/www/ owned by www:www. All subdirectories are also owned by www:www. All users are members of the www group. ...
1
vote
3answers
3k views

Bridged Networking with bhyve and FreeBSD Guests does not work

I have a FreeBSD10 host with bhyve and the following IP-configuration in rc.conf: ifconfig_igb0="inet X.X.X.146 netmask 255.255.255.0 broadcast X.X.X.255" defaultrouter="X.X.X.254" ...
0
votes
2answers
359 views

Extremely stupid FreeBSD mistake

I accidently did a echo "" > /etc/rc.conf on my box and I locked my self out completely stupidly tring to get the rc.conf back then rebooted making my self locked out.
5
votes
4answers
10k 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 ...
2
votes
2answers
450 views

Redirection with natd flags on FreeBSD

I am trying to setup a basic NAT server. I want all traffic coming from the outside world to the NAT server to be redirected to another machine, where I have a lipcap service running to parse this ...
2
votes
2answers
662 views

Graphite: How to make historic whisper data available through web app

I've recently reconfigured my graphite setup from a single carbon-cache instance to several carbon-cache instances. As I needed to cook this up on a new host without bringing down the old graphite ...
3
votes
2answers
232 views

Understanding zpool status output

I'm having difficult understanding the output after running the zpool status command: NAME STATE READ WRITE CKSUM tank ONLINE 6 0 0 raidz2-0 ONLINE ...
0
votes
2answers
4k views

How to chroot VirtualHosts on a Apache server?

I have a FreeBSD server (company's OS of choice). Currently we run several websites on each of the webservers. Websites are in PHP which is run in Apache Module mode. At the Apache is not chrooted so ...
3
votes
3answers
149 views

port in freebsd

I think this is a very basic question but I need some understanding. What does a port mean in freebsd?
0
votes
2answers
279 views

SW ZFS vs. HW RAID controller

I run a FreeBSD 10.1-RELEASE webserver, and I have 2 sata HDD on a HW RAID1 controller, but when I installed the OS, it won't do it on a ZFS filesystem (for mirroring as I intended to) but I was ...
0
votes
2answers
354 views

Disabling timer in ACPI on FreeBSD 10

My server is failing to boot because of what I suspect is an error with the timeclock in ACPI, so I'd like to try to disable it in the course of troubleshooting it. Per the handbook: ...
0
votes
0answers
299 views

Ipfw forward from table to IP

I try to forward on FreeBSD all requests on port 80,443 from clients in some table to one IP. ipfw add 80 fwd ip from "table(10)" dst-port 80,443 to x.x.x.x:80 So, not working... What i did wrong?
0
votes
1answer
58 views

Resilvering for data transfer?

I currently have a production server with four drives in raidz2 and a backup server that is identical in configuration and hardware. I'm currently doing a transfer of data using rsync between the ...
8
votes
5answers
12k views

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 ...
1
vote
0answers
441 views

FreeBSD L2TP/IPsec not routing traffic to vpn server

I have configured a VPN server on my FreeBSD server, it all seems to be running, but the VPN traffic is not routing through to the local VPN server and I cannot figure out as to why. So my question ...
2
votes
1answer
925 views

Dummynet Filtering not working on FreeBSD 10

I am trying to do network emulation using dummynet in FreeBSD 10. I have this working in 9.3 however things must have changed and I cant determine exactly what but my setup no longer works. I have ...
3
votes
4answers
4k views

booting FreeBSD 9 from USB stick: boot error

I am trying to boot FreeBSD 9 from a USB stick that I created following the official guidelines: dd if=FreeBSD-9.0-RELEASE-i386-memstick.img of=/dev/da0 bs=64k Booting fails with a simple 'boot ...
0
votes
1answer
118 views

add a directory inside freebsd jail

Not sure if this is correct, but i have now installed freebsd 10 on top of ZFS with jails and have created a jail for Mongodb. For the data files I used the following: zfs create -o atime=off \ ...
0
votes
1answer
192 views

gstat output on FreeBSD: does it show an average over time?

When you run the gstat command on FreeBSD to get information about i/o performance, you can pass the -I (interval) option to change the default interval from 1 sec to some other time frame. My ...
1
vote
1answer
538 views

FreeBSD/FreeNAS: How to change group for multiple users?

I need to change group membership for a bunch of users. How do I list all users? change multiple users to nogroup primary group? add secondary/auxiliary groups to multiple users? Basically I need ...
-1
votes
1answer
82 views

Why does nvi think I have files being editing?

I've got a couple of FreeBSD servers that throw several copies of the following error on reboot: On Wed Oct 10 15:13:16 2012, the user root was editing a file named /tmp/crontab.s00huOAZD2 on the ...
10
votes
1answer
2k views

FreeBSD link aggregation no faster than single link

We put a 4 port Intel I340-T4 NIC in a FreeBSD 9.3 server1 and configured it for link aggregation in LACP mode in an attempt to decrease the time it takes to mirror 8 to 16 TiB of data from a master ...
1
vote
2answers
2k views

Apache 24 not serving PHP on FreeBSD 10

I've been at this for a few hours now. I cannot figure out WHAT is wrong with my configuration. When I navigate to any php file (wordpress installation is the intent), it opens the file for download ...
2
votes
2answers
3k views

Can't boot FreeBSD 10 iso by PXE

I'm trying to boot FreeBSD 10 bootonly iso from with pxelinux and tftp, unfortunately the following error appears during freebsd boot: cd9660 :/dev/iso9660 error :/dev/iso9660/FREEBSD_INSTALL ...
1
vote
1answer
641 views

best way to create perfect mirror of zfs based backup server

The existing system: I have a FreeBSD based backup/archive server, which pulls the backups from the live servers via rsync every night and does a zfs snapshot to archive the backup contents for a ...
0
votes
1answer
194 views

Nginx virtual host servername, root

I installed nginx-1.6.2,2 on FreeBSD-9.2-RELEASE-p5 and here is my configuration: # tail -2 nginx.conf include _includes/*.conf; } # cat _includes/XXX.conf server { server_name XXX; root ...
1
vote
5answers
1k views

FreeBSD determine if reboot was due to power loss

We are running FreeNAS (which is built on FreeBSD) to run our data storage systems. It is running on an APC Smart-UPS 750VA X. On a couple of occasions, I have been alerted to the fact that the ...
3
votes
2answers
5k views

FreeBSD 10 won't boot to ZFS root after power failure

While installing new hardware today, I involuntarily disconnected the power to one of our servers. This server is running FreeBSD 10 with Root-on-ZFS as offered by the installer. It has a total of 36 ...
1
vote
3answers
1k views

will it work setting /etc/aliases root to gmail address on freebsd postfix

Is it possible to set the root mail address to my gmail address? And if so how? Would it work by just setting my email address in the following file? /etc/aliases : root: mygmail@gmail.com Or ...
-2
votes
3answers
2k views

FreeBSD encryption concept: automatic boot without password or key, when mounted by another system?

Recently, i installed FreeBSD for work and geli for encryption. (Full disk encyrption without boot partition.) When I finished getting it setup, I found that every time it boots, I need to enter the ...
0
votes
2answers
3k views

Increase/refresh the size of the FreeBSD's main partition

I am using VirtualBox and have my FreeBSD mounted on a virtual drive, which recently ran out of space (10 GB) so I have increased the Virtual Drive size up to the 15 GB - started my FreeBSD and its ...