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
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
2answers
1k 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 ...
3
votes
1answer
481 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
2answers
1k 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
1k 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
207 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
721 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
606 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
249 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
533 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
284 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 ...
3
votes
1answer
505 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
209 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
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
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
2k 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
481 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
92 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
163 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
1k 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
382 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
510 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
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
285 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
57 views

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

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
0answers
653 views

SSH_ORIGINAL_COMMAND variable not getting set

I am working with two servers, both of which run FreeBSD 8.4-RELEASE-p1 and OpenSSH_6.1p1. Both servers' ssh_config files, located in /etc/ssh, are identical. Both servers are configured to allow ...
3
votes
1answer
37 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
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
4answers
437 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
299 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
976 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
3k 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
2k 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
294 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
1answer
720 views

What are main differences between Linux and FreeBSD system from sysadmin point of view? [closed]

What are main differences between Linux and FreeBSD system from sysadmin point of view ? What specifically and significantly differs Linux from BSD (memory/resources/users management, other ...
2
votes
3answers
843 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
903 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
4k 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
7k 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 ...