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

1
vote
2answers
732 views

Convert raidz1 to raidz2 via a temporary drive

I set up a new NAS server a few months ago and set it as RaidZ. I'm re-thinking that decision and would like to grab an extra drive and move to RaidZ2. Before everyone replies that this isn't possible ...
4
votes
1answer
1k views

ZFS shows pool state FAULTED, but all devices are ONLINE; how can I recover my data?

Our 100TB NAS based on FreeNAS 8 was unexpectedly powered off due to power failure. After turning it on back, 100TB zpool "projects" was unmounted with state "FAULTED". I've tried zpool import -fFX, ...
1
vote
2answers
808 views

How to block MAC address in pf firewall

I want to block particular MAC address on PF firewall. I know PF firewall works on the Layer 3 i.e it operates on the IP addresses rather than MAC address.But is there any way to block the MAC address ...
1
vote
0answers
546 views

freebsd cannot start mysql for the first time

I am having the same issue as this person serverfault link but the solution completely does not work for me. I cannot start mysql5.5 for the very first time. At first start of mysql with cd /usr/...
2
votes
1answer
255 views

Is it possible to avoid umask 0002?

Is it possible to give an automatic ability to modify files(folders and all recursively) created by one user to another within one specified folder (let's say "shared") on the basis of both users ...
0
votes
1answer
34 views

Awstats - Update the log path for multiple configs at once

I'm running a FAMP (FreeBSD, Apache...) box and just updated Apache to 2.4. We have somewhere around 100 sites running on this box as vhosts, and they all have their own separate config file for ...
0
votes
0answers
149 views

Not getting httpd dump on segfault

I'm attempting to troubleshoot apache seg faults, and am trying to get a core dump for it. I've followed the instructions from here and still not happening. Here's what I've done so you don't have to ...
1
vote
2answers
3k views

freebsd 8 mail log status, what do these mean?

I'm new at some of the server stuff and need a bit of help understanding what the /var/log/maillog file is saying. I've sent 200 emails for an email newsletter I'm running. In the "maillog" file I ...
4
votes
1answer
268 views

How to install CMake on FreeBSD without Sphinx

CMake recently (September 2014 I guess) started to depend on py27-Sphinx port for its documentation. I actually don't use python on my server, but CMake builds and installs it and its 9 other ...
0
votes
1answer
69 views

Issue with Bash Script On FreeBSD

I have the below bash script set to run every hour via cron as the root user. The purpose of this script is to email us when files have been uploaded to our sftp server and send us the logins. Here is ...
0
votes
0answers
152 views

rndc fails to add zone, bind99 freebsd

I solved all rndc key errors and appear to perform most functions but when testing the addzone feature I am getting this error while trying to use rndc to add a fresh new zone -> rndc addzone ...
3
votes
3answers
3k views

mounting ZFS zvol snapshot locally gives “Invalid argument”

I'm trying to mount a snapshot of a ZFS zvol. The zvol should have a ext2 partition on it (as evidenced by the CentOS VM to which the zvol is currently shared by iSCSI): [root@test-vm ~]# file - &...
-1
votes
2answers
177 views

Migrating IMAP emails from a FreeBSD server to a CentOS server both running Dovecot

What would be the best way to do this migration considering that I do not have the passwords for the IMAP accounts on the source server running FreeBSD and Dovecot. I do have SSH access to both ...
0
votes
0answers
178 views

zfs raidz can not read from disk

my freebsd 10 server running on zfs raidz. I have a problem with reading files, test dd of=/dev/null if=/tmp/test/1000mb.bin bs=1024k count=1000 953+1 records in 953+1 records out 1000000000 bytes ...
1
vote
2answers
5k views

Why is my server displaying openssl 0.9.8 when I have openssl1.0.1 installed?

I am creating a test server that is vulnerable to the heartbleed bug. My server is running Apache 2.4 on a FreeBSD VM. By default, FreeBSD seems to have OpenSSL 0.9.8 installed by default. I tried ...
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
52 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
107 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 ...
26
votes
6answers
42k views

FreeBSD vs Linux performance? [closed]

I know that FreeBSD is famous for being highly stable, secure and of course open source. So I am going to try it on one of my servers. However, I am wondering what are the pros and cons of Using ...
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
470 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 = "...
5
votes
9answers
2k views

Hidden features of FreeBSD?

For completeness, similar to http://serverfault.com/questions/2817/hidden-features-of-linux and http://serverfault.com/questions/17468/hidden-features-of-solaris-opensolaris, what are the hidden ...
0
votes
1answer
649 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%...
2
votes
1answer
130 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 ...
-1
votes
1answer
225 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
166 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
105 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
351 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
304 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 vps-...
1
vote
1answer
289 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 ...
3
votes
1answer
555 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
185 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" cloned_interfaces="...
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
460 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
715 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
237 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
5k 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
151 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
283 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
383 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: https://www....
0
votes
0answers
316 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
60 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
13k 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
463 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 is,...