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
677 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
312 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
3k 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
1answer
3k views

OpenLDAP client configuration headache in FreeBSD

I am using FreeBSD 7.2 as an NFS server, and as a client to an OpenLDAP server (which runs Debian etch). When users access their files on the NFS server, the users' UIDs are looked up in the ldap ...
3
votes
3answers
3k 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
7answers
492 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
138 views

Distributed mirrored filesystem under FreeBSD

Can someone share their experience in building a distributed mirrored filesystem between multiple FreeBSD machines? I. e. we have two (three, four...) servers and special partition "part1" mounted on ...
3
votes
3answers
147 views

Failing to compile audio/teamspeak3-server with FreeBSD poudriere system [closed]

I've a Poudriere server to keep local binary packages to all of our servers. A request for TeamSpak software was done and I was trying to create the binary package for installation using Poudriere. ...
3
votes
1answer
1k views

Setup ZFS on freeBSD from bsd-rescue

I have a server from OVH and have the following procedure of setting ZFS on FreeBSD10 on OVH server following the https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror Creating a bootable ZFS ...
3
votes
1answer
95 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
232 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
2answers
767 views

recursively mounting ZFS filesystems?

I'm aware this more of a beginners question, but manpages, google and FreeBSD Handbook provided no solution. I'm using ZFS Version 28 on a 8.2 Stable FreeBSD and my problem is the following: When I ...
3
votes
2answers
2k views

Real-time layer 7 (http.request.uri) filtration on freebsd

I have a freebsd 9.0 router with 250-300Mbit/s traffic, and need to filter small list of pages (http.request.uri). I do not care about tor, anonymizers, proxy etc. Just prevent direct access from my ...
3
votes
4answers
3k views

XenServer and ZFS via NFS

I'm trying to connect a NFS share to XenCenter. The NFS server is a ZFSGuru distro (uses FreeBSD). The zfs volume was exported like this: /sbin/zfs set sharenfs="on" temppool/share According to ...
3
votes
1answer
2k views

How do I disable NFSv3/v2 connections to a FreeBSD NFSv4 server?

I am using a Kubuntu 11.10 client with a FreeBSD 9.0 server. The server has the following lines in /etc/rc.conf nfs_server_enable="YES" nfsv4_server_enable="YES" nfsuserd_enable="YES" and the ...
3
votes
1answer
437 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
4k 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
3k 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
2answers
2k 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
370 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
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 ...
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
7k 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 ...
3
votes
0answers
122 views

pfSense Internal Traffic Policy Based Routing

What is the current and correct way to apply policy based routing to pfSense internal traffic (originating from the firewall itself)? Creating a floating rule with the WAN interfaces selected, ...
3
votes
1answer
675 views

FreeBSD 10.1 how to autoreboot on kernel panic

Recently I installed FreeBSD 10.1 on machine that for years was working fine with FreeBSD 6.2. Since machine is located in datacenter I configured remote access via serial console. After installation ...
3
votes
1answer
53 views

what exactly does fsck do under the covers (for UFS)?

If a computer crashes then the filesystem is an inconsistent state. What exactly is fsck(8) doing to restore to a usable filesystem? Is there a backup table? Is it cross-checking metadata? ...
3
votes
2answers
826 views

How to put FreeBSD configuration under Revision Control?

I heard once that in Linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all. ...
3
votes
4answers
583 views

Optimize Apache performance

I'm looking for ways to optimize our current web server hosted in-house. I'm trying to supply as much relevant information below. Please let me know if you would require additional information in ...
3
votes
1answer
327 views

6* HDD ,2*SSD, Freebsd, Raidz2 or hardware R6? [duplicate]

Possible Duplicate: Does ZFS replace the need for hardware/software RAID? I want to install Freebsd 9 on our servers. We have 6 HDD and 2SDD. SDD will be used for database. For now we're ...
2
votes
8answers
6k views

What next after Ubuntu? Arch Linux / FreeBSD / Gentoo

I have been using Ubuntu, mainly as a production system for a very long time. Fedora Core and Mandrake before that. I am a developer, mostly working over networking core - L3/L4. I wish to graduate to ...
2
votes
2answers
354 views

FreeBSD RAID rebuild by data center, now data in /var/logs and /var/db/mysql is *gone*, OH NO!

OK, our data center did a RAID rebuild (and possibly some other stuff) on our server overnight. Something failed at some point, I checked on things this morning, and it appears as if the /var ...
2
votes
3answers
1k views

Snort Based Firewall

I have not worked with SNORT much or done too much research on this but it sounds possible. If I setup a server and run snort on it. Would it then be possible to route ALL my traffic through it like ...
2
votes
3answers
1k views

FreeBSD crash course for a Debian administrator?

Can someone please post a quick FreeBSD administration crash course, targeted at a Debian administrator? The environment is a production web server. Some things I'd like to know: package ...
2
votes
2answers
150 views

Postfix seems to send spam

I recently discovered this in my postfix-log: Aug 4 11:09:12 mail postfix/smtpd[71597]: connect from unknown[59.88.35.206] Aug 4 11:09:14 mail postfix/smtpd[71597]: Anonymous TLS connection ...
2
votes
2answers
283 views

Upgrading old FreeBSD system

I have a very old FreeBSD server at work. atlas:~>uname -mprs FreeBSD 6.4-RELEASE-p8 i386 i386 I'd like to update it. I'm quite familiar and comfortable with the "make world" methods. I've just ...
2
votes
4answers
8k views

What is the equivalent in FreeBSD 7.2 to yum/yast/apt-get?

I'm new to the FreeBSD release, but am very familiar with many Linux releases. I'm attempting to (1) keep my system updated, and (2) install new packages under FreeBSD 7.2. So is there an equivalent ...
2
votes
3answers
8k views

nslookup fails but ping succeeds for nonexistent domains

I have two different FreeBSD servers (different hosting companies), both exhibit this same behavior: They pick a specific IP address (216.239.120.238) for every domain that does NOT exist. nslookup ...
2
votes
5answers
3k views

ZFS + FreeBSD + virtualbox

I'm configuring a FreeBSD server hosting virtualbox serving half dozen mission critical busy mail servers. I just learned ZFS, I'm quite attracted, but have a few questions: what is the CPU ...
2
votes
4answers
4k views

On a freeBSD box - CPU idle from TOP is 0% but no process taking up cpu

On a freeBSD box, when I do TOP after starting a process x: CPU states: 34.4% user, 0.0% nice, 64.8% system, 0.8% interrupt, 0.0% idle Here, 0% idle. But the highest cpu using process is x ...
2
votes
4answers
5k views

Installing and setting up SVN on FreeBSD Server

Firstly thank you to everyone who responded to my earlier question - http://stackoverflow.com/questions/1393827/setting-up-svn-web-based-services-vs-your-own-svn-server As much as I would prefer to ...
2
votes
5answers
578 views

ZFS backup advice with another server

I currently have two servers both have the exact same hardware, disks, etc. One server (server1) is going to be the "main" server. It's basically a server with raidz2 that has SMB shares on it that ...
2
votes
4answers
1k views

SSH connection closes as shell fails to load

I have FreeBSd running with OpenSSH. I set up everything and the connection via SSH worked perfectly. Then I decided to get rid of some not used ports and I obviously uninstalled one that was used by ...
2
votes
2answers
3k views

Dropping Cached Memory on FreeBSD

i use FreeNAS server which is built on OS version FreeBSD 8.2-RELEASE-p6. I use ZFS file system with 13TB HDD on my 8GB physical ram installed box. It almost uses all of RAM installed while ...
2
votes
3answers
4k views

Minimum hardware requirements of a loadbalancer?

I'm going to use a FreeBSD system as a loadbalancer which routes 1gbps public traffic to back-end webserver cluster. What are the minimum hardware specs for this job? Thanks.
2
votes
2answers
2k views

FreeBSD LDAP authentication, pam_ldap, can't bind

I've been able to get some of my linux servers authenticating users against my LDAP directory server, but I've been having some trouble trying to do this with nss_ldap and pam_ldap in FreeBSD. Going ...
2
votes
4answers
265 views

Looking for FTP server recommendations for BSD [closed]

I'm currently deciding on what ftp server we should use for an internal system that we have running FreeBSD 6.2. The requirements that we'll need are the following: must be able to handle SSL, as ...
2
votes
2answers
626 views

When does main www/mod_php5 port get updated?

I haven't been able to find any info regarding this anywhere while burying through the thousands of results I have been getting concerning php5 so here goes. We have several FreeBSD 9.2 machines and ...
2
votes
1answer
571 views

FreeBSD pkg database deleted

after resolving repeated crashes on startup with fsck I noticed some files were removed, one of them was the sqlite pkg database, so now when I run for example pkg install somepackage I get this erro: ...
2
votes
2answers
972 views

How can I determine what RAIDZ level my volume is using?

I am looking at a ZFS volume on FreeBSD system, and I have no idea what RAIDZ level it is configured at. How can I find out using the ZFS command line or other? I tried "zpool status" already, and ...