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
449 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
191 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
1k 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
2k 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
2k 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
470 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
85 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
145 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
886 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
1answer
1k 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
349 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
455 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
270 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
127 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
6k 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
2answers
409 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 - ...
3
votes
1answer
33 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
4answers
2k 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
1k 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

strange ZFS disk space usage report for a ZVOL

We have a 100G ZVOL on a FreeBSD 10.0-CURRENT host which claims to use 176G of disk space: root@storage01:~ # zfs get all zroot/DATA/vtest NAME PROPERTY VALUE ...
3
votes
4answers
401 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
284 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
7answers
879 views

Changed root's shell to non-existing path

I just made a bit of a mistake: Fresh install of FreeBSD 8.2 logged in as root installed bash from ports created users, setting bash as shell vipw (edit passwd file) changed root's shell from ...
2
votes
3answers
2k views

running freebsd on linode

How do I setup a linode to run FreeBSD? There is an example for NetBSD and references to successful attempts at getting FreeBSD to run but no actual document I can find.
2
votes
1answer
1k views

Freebsd: How to change default shell?

The default shell in freebsd is SH and I really can't stand it: autocomplete is very limited, and rehash commands kill me. I feel like a one armed and one legged man... How can I change the shell ...
2
votes
2answers
286 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
568 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
2answers
2k views

Determine the motherboard/chipset type on FreeBSD box

I need to know what chipset / motherboard type for a FreeBSD box. Is there a quick way to do that without ports ? Thanks
2
votes
3answers
830 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
3k views

What is the easiest way to upgrade my existing Perl 5.14 to Perl 5.16 on FreeBSD 9 using the ports system?

I use the ports system on FreeBSD. What is the easiest way to upgrade Perl using ports? I currently uninstall all of perl and it's dependencies. I'd think there would be a cool way to upgrade Perl and ...
2
votes
4answers
6k 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
5answers
2k 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
3k 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
4k 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
4answers
553 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
230 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
3answers
487 views

How can I set default versions of MySQL, Postgres, Apache, etc. prior to installing anything from ports in FreeBSD?

When I install software from ports on a FreeBSD system, sometimes rather outdated versions of Apache/MySQL/Perl/etc are installed as dependencies. Is there any way to set the versions of these ports ...
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
3answers
5k views

How do I update PHP and all its modules on FreeBSD in one go?

Basically, I usually do something like this: # portsnap fetch # portsnap update # portmaster -L | grep -B1 "New version" ===>>> php5-5.2.11 ===>>> New version available: ...
2
votes
4answers
214 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
5answers
2k views

Max total files in a directory in FreeBSD 6 ufs?

Is there an upper limit to the total number of files stored in a single subdirectory in FreeBSD 6? The filesystem is ufs
2
votes
2answers
70 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 ...
2
votes
1answer
227 views

FREENAS: Why isn't mv command instant within a RAIDZ1 volume?

I'm currently 'reorganizing' file structure within a RAIDZ1 volume. Moving directories from one dataset to another, which are both contained on the same volume. SSH'ed into the machine and did a ...