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

4
votes
1answer
2k views

how to troubleshoot using rsyslog to output to a mysql database

Using FreeBSD 8.0 32 bit. I have installed rsyslogd 5.5.5 with ommysql. (installed ports /usr/ports/sysutils/rsyslog55 and /usr/ports/sysutils/rsyslog55-mysql) My rsyslog.conf file looks like: ...
4
votes
1answer
3k views

TCP/IP & throughput between FreeNAS (BSD) server & other LAN machines

I have got a question for someone that knows BSD a bit better than me that are in regards to my LAN setup at home/work here outside Chicago. I can't seem to fully optimize my network's (LAN) ...
4
votes
0answers
2k 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 ...
4
votes
0answers
745 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 ...
4
votes
2answers
3k 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 ...
4
votes
1answer
269 views

Multi homed firewall with ipnat

i am trying (without success) to configure a ipnat/ipf box under FreeBSD 8.2, here is the scenario: outside inside +----+ ADSL ...
3
votes
4answers
2k views

“watching” a log on FreeBSD vs Linux

On Linux systems I can watch -n1 tail /var/log/whatever.log or watch -n1 grep somestuff /var/log/whatever.log To show updates to a log every 1 seconds. On FreeBSD however, the watch command does ...
3
votes
7answers
1k 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 ...
3
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.
3
votes
2answers
322 views

Join multiple filesystems (on multiple computers) into one big volume

Scenario: Have 10 computers, each have 12x2TB HDDs (currently) in raidZ2 (10+2) configuration, so, in the each computer i have one approx. 20TB volume. Now, need those 10 separate computers ...
3
votes
2answers
5k 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 ...
3
votes
2answers
3k 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
3
votes
2answers
5k views

ZFS over iSCSI high-availability solution

I am considering a ZFS/iSCSI based architecture for a HA/scale-out/shared-nothing database platform running on wimpy nodes of plain PC hardware and running FreeBSD 9. Will it work? What are possible ...
3
votes
4answers
217 views

Moving live files on a unix like system

On a recent job posting for a general Unix admin at a datacenter, a listed requirement was to move live files in a data center setting. What does this mean and how can one move live files?
3
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: ...
3
votes
1answer
995 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 ...
3
votes
2answers
516 views

Installing FreeBSD remotely using Ubuntu LiveCD

I realised this is a very specific question, but I am wondering if there is a way to install FreeBSD on a machine using only SSH access to a Ubuntu LiveCD on the server?
3
votes
4answers
4k views

booting FreeBSD 9 from USB stick: boot error

I am trying to boot FreeBSD 9 from a USB stick that I created following the official guidelines: dd if=FreeBSD-9.0-RELEASE-i386-memstick.img of=/dev/da0 bs=64k Booting fails with a simple 'boot ...
3
votes
5answers
3k views

Apache DDoS Protection in router (pFsense) [duplicate]

I'm soon going to change my infrastructure when I buy a new server. I'm going to replace my D-Link DIR-655 router with an pFsense router (and probably use the 655 as an AP) using my old server ...
3
votes
2answers
3k views

“No space left on device” with FreeBSD

When I login with root, and run "mkdir test", the system says "No space left on device". But if I login with other user, it goes well. [/root]df -h Filesystem Size Used Avail Capacity ...
3
votes
1answer
5k views

Binary zone file on BIND9

Binary Zone File Problem (FREEBSD) DNS Master transfered zone file to slave But I cannot read zone file less db.example.com "db.example.com "may be a binary file. See it anyway? This happend ...
3
votes
2answers
5k views

Create a rule using shell in fresh pfSense installation to open up WAN access to WebConfigurator

I am in a situation where I require WAN access to be opened up to the WebConfigurator through pfSense because I do not have another node connected to the same network to access WebConfigurator from ...
3
votes
3answers
5k views

Free space on ZFS file system unexpectedly missing

Going to completely rephrase this question since it's still an outstanding production issue several months later. I have a FreeNAS 0.7.2 box, based on FreeBSD 7.3-RELEASE-p1, running ZFS with 4x1TB ...
3
votes
5answers
3k 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
3
votes
2answers
201 views

Mimicking Google's Persistent Disks — Is this a logical FreeBSD disaster recovery strategy?

I am looking into FreeBSD to provide a more comprehensive backup and disaster recovery strategy for database servers. Ideally I want to mimic what google is doing with "Persistent disks" ...
3
votes
1answer
3k views

FreeBSD 8.1 64bit logrotate - ELF interpreter /libexec/ld-elf-so.1 not found

I am trying to get logrotate running on a FreeBSD 8.1 virtual machine. I installed the logrotate with pkg_add, I have created the logrotate.config file and also run: mkdir /var/lib/ touch ...
3
votes
1answer
846 views

Automated installation of FreeBSD

I would like to automate the installation of FreeBSD 8.2 for a project I'm working on. I know the answer to every question in the standard installation, so even a script that just pushes keystrokes ...
3
votes
2answers
670 views

Crontab: Not executing properly

(OS is FreeBSD 8.1) Yesterday I added 2 lines to crontab as root: 0 7 * * * curl --silent http://username:pass@dev.mydomain.tld/cron/execute/process/verbose/true ...
3
votes
3answers
2k views

What's the difference between BSD-style and Unix-style command line options?

I tried to google it but to no avail. Can anybody help me with this?
3
votes
3answers
144 views

port in freebsd

I think this is a very basic question but I need some understanding. What does a port mean in freebsd?
3
votes
2answers
3k views

FreeBSD 8.0 “Watchdog Timeout” drops ethernet connection

Recently my FreeBSD 8.0 (GENERIC) box was hit with a large amount of requests from an IP in Taiwan, trying to guess passwords and all of that stuff. Anyway, long story short, I noticed at a certain ...
3
votes
5answers
381 views

Router limits network performance but its CPU load isn't 100%

I'm using a PC Engines APU device running FreeBSD as a NAT router. The setup is very usual: one WAN connection and one LAN connection. Theoretically, WAN connection is 800/40 Mbit/s and the LAN one ...
3
votes
1answer
967 views

How do I remove Apache if I installed it from the source tarball?

I installed Apache 2.4 from a source tar, and there seems to be no "make deinstall" or "make uninstall" options in the makefile in the extracted directory. How can I remove the installed Apache server ...
3
votes
2answers
2k views

FreeBSD 9.1; bridge0 and default gateway issue

I've got a FreeBSD 9.1-RELEASE-p1 system with three nics, I'm using: igb0, sfxge1 and sfxge2. igb0 used for internet access and is default gateway. Other two nics, I need to use to create bridge0. ...
3
votes
3answers
2k views

Installing multiple php versions plus extensions on freebsd

I'm a currently learning how to work with freebsd. Lately I have been trying to run multiple php versions along with their respective packages. However, I seem to be running into issues while making ...
3
votes
1answer
573 views

Expanding raidz vdev

I'm currently planning on installing FreeBSD 9 on my home server. The machine has 4x 1.5TB disks, and at some point, when HDD prices drop I'll be upgrading to something bigger, perhaps 3TB. The disks ...
3
votes
2answers
3k views

How can I disable NTP in pfsense?

I am running my pfSense gateway in a ESXi server. right now the server gets its time from the NTP server specified in the general settings section of the WebGUI. I want to disable this so pfSense ...
3
votes
2answers
96 views

Will a freebsd installation run on a different system without reinstalling?

I want to move my freebsd 8.2 installation from a dual-core AMD machine to a quad-core intel machine. Ideally I'd just like it to re-detect all the changed hardware and load whatever drivers it needs ...
3
votes
4answers
2k views

Automatically throttle network bandwidth for users causing bulk traffic

Is anybody aware of a FreeBSD, Linux, or Windows based product that can automatically lower the priority of network packets of users that have caused a high amount of network traffic during the last ...
3
votes
3answers
5k views

Handling FreeBSD package upgrades using pkg_add

I'm trying to use FreeBSD's pkg_add command to install and upgrade binary packages in a build-once-install-on-multiple-machines sort of scenario. It works well when installing a new package, but ...
3
votes
3answers
6k views

APC shared memory problems

i have nginx+php-fpm and APC installed on a freebsd server, and i'm experiencing constant problems with php-fpm connected somehow with APC. php-fpm freezes in 'lockf' state (in top) and thus site is ...
3
votes
3answers
2k views

Firebird on FreeBSD

Does anybody know on how to install Firebird 2.0 on FreeBSD 7.2? I have updated the ports and the kernels, but when I try to do a "make install", I get the error: Please do not build firebird as ...
3
votes
3answers
825 views

FreeBSD buildworld

When recently using a Perl script, I got an error message saying "Userland and kernel are out of sync". After Googling around I've found that probably I haven't yet done make buildworld I understand ...
3
votes
3answers
2k views

How do I spamtrap with Postfix?

How do I setup spamtraps with Postfix so clients that send to trapped addresses are prevented from sending me more spam?
3
votes
1answer
2k views

NOQUEUE: reject: RCPT from on freebsd and postfix

I am building a server using this config -> http://www.purplehat.org/?page_id=4 and when trying to test basic email capabilities I get -> NOQUEUE: reject: RCPT from when try to send a test email. ...
3
votes
1answer
600 views

Need help grepping postfix log

I'm trying to search for an unknown string (Message ID) in a log based on a known string (recipient address), and then grep the unknown string to output the entire relevant log information. I'm able ...
3
votes
1answer
79 views

FreeBSD ports: Set make defines not exposed as Options

In FreeBSD, when you do make config, lots of ports have options that can be set. These options are saved so that when you update the port, they are used again. Some ports have additional items that ...
3
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? ...
3
votes
4answers
3k views

How to grant su access without password to one user only in wheel group (FreeBSD)?

I know how to enable su without a password for all wheel group users by adding the appropriate configuration line in /etc/pam.d/su. I do not want to enable this for all wheel users but only one ...
3
votes
1answer
148 views

Migrating ZFS from using partitions to using the entire disk

I have a simple ZFS setup that I've been running for a few years now. When I originally set it up, I created a number of partitions and created a zpool from a partition on each of my two drives, and ...