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
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
1k 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
0answers
650 views

Unix nslcd login with sAMAccountName and/or userPrincipalName from Active Directory

I'm trying to setup authentication from Active Directory in FreeBSD 10.0 using nslcd (nss-pam-ldapd-sasl package) and would like to allow both sAMAccountName and userPrincipalName as valid login ...
3
votes
1answer
48 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
721 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
492 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
318 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
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
319 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
1k 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
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
965 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
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 ...
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
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
3answers
7k 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
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
2answers
1k views

Serial Over LAN on FreeBSD 10.0 with SuperMicro X9-SCM-F

How can I setup Serial-Over-Lan (SOL) on FreeBSD 10.0 with a SuperMicro X9-SCM-F motherboard? There are a few resources out there but they contradict each other, are unclear, and don’t actually allow ...
2
votes
3answers
6k 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
4answers
870 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
271 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
1answer
1k views

How can I start a shell inside a jail on FreeBSD?

I have access to a a previously set up FreeBSD box with a number of jails on it. One of the jails is an SQL server, and does not have ssh enabled on it. How can I gain access to a shell on that jail ...
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
237 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
4answers
288 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
2answers
485 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
2answers
1k views

Unable to update using “freebsd-update” on FreeBSD 7.4-RELEASE

Is there a way to upgrade 7.4-RELEASE-p5 to 7.4-RELEASE-p12 using freebsd-update now? bash-4.2# freebsd-update upgrade -r 7.4-RELEASE-p12 Looking up update.FreeBSD.org mirrors... 5 mirrors found. ...
2
votes
2answers
2k views

FreeBSD - unexpected soft update inconsistency

I came into work this morning and one of my BSD servers is unable to boot properly. I can get into single user mode but when running fsck I get the error "unexpected soft update inconsistency" Does ...
2
votes
1answer
1k views

HP MDS 600 compatibility questions

I've bought a used HP MDS 600 to use as JBOD to a ZFS filesystem. Originally I just assumed that it was a pretty 'dumb' box and I'd be able to use a SAS card like the 16-port LSI one, and most any ...
2
votes
1answer
318 views

ping6: sendmsg: Operation not supported on FreeBSD

I'm trying to set up IPv6 on FreeBSD 8.2. I added to the /etc/rc.conf the following lines: ipv6_enable="YES" ipv6_gateway_enable="YES" ipv6_ifconfig_le0="ff00::2" and restarted IPv6: ...
2
votes
3answers
944 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
4k views

PHP Warning: PHP Startup: apc.shm_segments setting ignored in MMAP mode

Any ideas on how i can fix this warning? Getting this while executing it from shell, on FreeBSD 8.x # /usr/local/bin/php --run 'echo "test";' PHP Warning: PHP Startup: apc.shm_segments setting ...
2
votes
3answers
3k 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
1answer
175 views

How can I verify the type of memory that my freebsd box supports?

I have an old pfsense router and want to see what type of memory it supports (e.g. DDR2 240 pin... PC100... DDR... etc). Is there a command that will show me this? I know I could just open the box ...
2
votes
3answers
2k views

Discovering external IP from FreeNAS command line

Is there some command line function within FreeNAS (FreeBSD) derivative which could return my external address? Since that same address is synchronized with DynDns (via router), in C# I retrieved that ...
2
votes
1answer
451 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
3answers
1k views

How do I non-interactively update FreeBSD system (and ports)?

Essentially, I am looking for a fully silent, non-interactive version of freebsd-update fetch freebsd-update install and portsnap fetch update
2
votes
2answers
736 views

understanding disk space on ec2 freebsd instance

So I probably lack some basic fundamental understanding when it comes to unix drives. On amazon-ec2, I just created an instance where I specified the root device to be 30 GB. If I goto volumes I see ...
2
votes
4answers
273 views

Uninstall last n of ports/packages

While compiling some port, I realized that it depends on 1000+ of other ports and will install forever until I die or my disk is full (my hdd is really small). I interrupted make install clean. How ...
2
votes
2answers
2k views

UPS monitoring software for Linux, FreeBSD and Solaris

Looking to configure auto shutdown for my servers once the UPS battery reaches a certain state. We have MGE / EATON Pulsar M3000 UPS units, and a heap of servers running Ubuntu, FreeBSD and Solaris - ...
2
votes
1answer
2k views

Is it possible to restart a supermicro kvm with ipmitool? (the kvm not the server)

The KVM on my supermicro motherboard seems to have crashed or is otherwise not answering network requests on it's assigned IP address. I need to try to restart the KVM (not the server). Is this ...
2
votes
4answers
15k views

How to format a partition under FreeBSD

I want to format a partition under FreeBSD and change it to UFS filesystem. I searched the web but even the "fdisk" man page is not clear at all. Any help would be clearly appreciated ! My current ...
2
votes
2answers
1k views

Centralized syslog-ng logging on FreeBSD

I've managed to successfully switch from syslogd to syslog-ng for my logging. I would however like to have the syslog-ng box receiving all logs from the all boxes running syslog on the network. How ...
2
votes
4answers
3k views

How to install DHCP server on FreeBSD 7.2?

I have a clean install of FreeBSD 7.2-RELEASE. I want to install a simple DHCP server for a few windows computers. But, unfortunately, following don't work: pkg_add -r isc-dhcp3-server Error is: ...
2
votes
4answers
4k views

Option 82 and dhcpd. “No free leases” for second computer

There is DHCP server in network (isc-dhcpd-server-3.0 on FreeBSD 7.2) than gives one IP per switch port to every user via Option 82 The problem appears when user disconnects one of his computers and ...
2
votes
2answers
537 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
2answers
4k views

Need to identify disk in zpool … how?

I need to replace a bad disk in a zpool on FreeNAS. zpool status shows gptid/5fe33556-3ff2-11e2-9437-f46d049aaeca UNAVAIL 0 0 0 cannot open How do I find the serial # of that disk? ...
2
votes
1answer
682 views

FreeBSD's pkg “No trusted fingerprint found matching package's certificate”

I just installed FreeBSD 10 and trying to get pkg going, but something isn't working: # uname -a FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 ...