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

2
votes
1answer
66 views

Apache PATH very long with duplicate entries

When showing phpinfo() the sheet show that Apache PATH enviroment variable is very very long and with duplicate entries? Why is that? And how to fix? ...
0
votes
1answer
792 views

How to redirect request to second host if the first one is off-line?

I have two hosts in different networks (different ISPs). I would like to redirect all traffic to second host only in case if first one is off-line (unexpectedly). What are technical solutions to ...
0
votes
1answer
669 views

M0n0wall won't pass traffic on different LAN subnets unless “Bypass firewall rules” is checked

I have a working configuration, but a question is bugging me. The question centers around having multiple subnets on a single interface. LAN: 10.10.10.1/24 OpenVPN Server LAN IP: 10.10.10.250 ...
7
votes
3answers
1k views

OpenBSD/FreeBSD Firewall w/ GUI that is compatible with Intel 82574L Gigabit LAN NICs

I recently purchased a server to run m0n0wall or pfSense but I've learned since then that both of these firewall products are based on versions of FreeBSD which weren't yet compatible with the NICs in ...
1
vote
2answers
470 views

Would NetBSD be a good choice for a web server?

I've the choice of crafting a NetBSD image for a Xen VPS host, and was just wanting to play around as I like BSD and wished to use it for my general web hosting. I will be hosting a low-mid traffic ...
0
votes
1answer
163 views

need help with resolv.conf

my freebsd server runs a nameserver. the nameserver has information about a single domain. a common, I think, setup for a dedicated server. I also have an upstream nameserver that i would like to ...
0
votes
1answer
413 views

Why can't add a hot spare in freebsd? Can anybody help me fix it?

Why can't add a hot spare? # mfiutil add e1:s1 mfid0 mfiutil: Drive 1 is not available I found the reason is e1:s1 is marked online, it must be Marked as an unconfigured good drive, and to mark ...
0
votes
3answers
584 views

FreeBSD and Linux VLAN

I have a LAN and i need to create a LAB with three VLAN on my boxes, Linux and FreeBSD. Well i create a VLAN 1 on the linux box as follow: sudo vconfig add eth0 1 sudo ifconfig eth0.1 inet6 add ...
4
votes
1answer
723 views

Reducing ZFS stream size for offsite backup

NOTE: My understanding of this question has changed significantly since I first asked it (see Edit 2 below) but I've left the original version intact. We've put together an offsite backup system ...
0
votes
1answer
593 views

FreeBSD 8.2 + Apache 2.2 + mod_auth_pam2: unable to authenticate

I've installed Apache 2.2 and mod_auth_pam2 from ports, but I can't get local UNIX authentication to work. When I access the protected part of my local website, I do get the authentication request, ...
1
vote
1answer
565 views

How to get the CentOS 5.6 alsa drivers which will really work with one shot, without any internet

I have one chance to install this in my server on site. Server that i am running is CentOS 5.6 (Dell R310, RAID1) where i need to install alsa-sound driver so that anything related to audio recording ...
1
vote
3answers
667 views

MySQL is 2 hours behind system time

Have a FreeBSD box with MySQL server on it. The system time is correct - For Denmark (Europe/Copenhagen) currently summertime. # date Fri Jun 17 12:09:56 CEST 2011 The MySQL server has timezone ...
1
vote
1answer
283 views

FreeBSD Dump with cURL/rsync

I'm trying to create a backup script using FreeBSD's dump to take a snapshot of a filesystem, but instead of storing the snapshot on disk I want to pipe the output from dump into cURL or rsync so its ...
1
vote
3answers
340 views

Most secure webserver software

I was reading about Hiawatha and I was wondering if really Freebsd+Hiawatha could be considered safer than Linux+Lighttpd or any other webserver. Moreover, if you were to have to host a very ...
33
votes
1answer
1k views

I am going to chop the FreeBSD automounter into little pieces and boil them in oil

I am trying to expose a hierarchy of home directories to a number of FreeBSD jails. The home directories are configured such that each is a unique ZFS dataset. The jails are used for development ...
25
votes
6answers
32k views

FreeBSD vs Linux performance? [closed]

I know that FreeBSD is famous for being highly stable, secure and of course open source. So I am going to try it on one of my servers. However, I am wondering what are the pros and cons of Using ...
1
vote
3answers
981 views

Problem using BASH in cron (FreeBSD)

Scenario: We have a legacy system running FreeBSD 4.7 (please, no laughing. It's being retired at the end of the year.. I just need to keep it alive and backed up until then) and I have some database ...
2
votes
1answer
843 views

pipe multiple files, single ssh connection, remote commands

I'd like to pipe several files to a remote server, piped as input to commands run on the remote server, over ssh, but only one ssh connection/command is permitted. (In the remote authorized_keys file, ...
2
votes
1answer
2k views

FreeBSD: OpenLDAP, SASL, and GSSAPI

I've run into some problems getting OpenLDAP on FreeBSD (8.2-STABLE) to authenticate using Kerberos tickets. I hope I've just had a brain glitch, so please feel free to let me know that I've missed ...
2
votes
1answer
770 views

How to check pf's queues?

I use FreeBSD and working with pf+ALTQ now. Something doesn't work and I need a tool to view what requests are marked and moved to a queue "queue_name" Need something like pftop but showing queues. ...
6
votes
1answer
2k views

Is there a tool for managing FreeBSD jails that knows about ZFS?

ZFS under FreeBSD lets one assign filesystems to a jail, such that an account in the jail with the appropriate privileges can access the filesystem, create new subordinate filesystems, and so forth. ...
2
votes
1answer
1k views

Horrible PostgreSQL locking performance

I recently noticed a very horrible PostgreSQL locking performance drop after running the DB server for a couple month. The load of the website increased a lot these weeks but the speed is getting ...
6
votes
1answer
1k views

FreeBSD: periodic(8) is too noisy. How can I control the noise level?

FreeBSD & MacOSX ship with the the periodic(8) utility, which is a neatly organized set of utilities to periodically run system functions like ZFS filesystem checks, security checks, checking for ...
0
votes
1answer
273 views

FreeBSD hardware recommendations [closed]

I'm looking for hardware to run FreeBSD. I really like the chassis of the Dell R210, because two of them can stack up on a shelf in my wiring closet and take up the space of a single tower (laying on ...
1
vote
1answer
388 views

Dell R210 & FreeBSD

I'm trying to get FreeBSD installed on a Dell R210 server with the H200 hard drive controller. I can boot with the 8.2-RELEASE ISO and the 8-STABLE-20110522 ISO. My problem is getting it to boot ...
1
vote
2answers
2k views

freebsd 8 mail log status, what do these mean?

I'm new at some of the server stuff and need a bit of help understanding what the /var/log/maillog file is saying. I've sent 200 emails for an email newsletter I'm running. In the "maillog" file I ...
3
votes
1answer
160 views

Is it safe to install several apps from ports at the same time?

Can multiple make installs cause problems for the package system? For example: cd /usr/ports/*/nmap && make install cd /usr/ports/*/firefox && make install
2
votes
2answers
264 views

Сan I configure FreeBSD to use DHCP or a static IP depending on the detected ssid?

I have a FreeBSD 8 machine which can use several wireless access points. I want it to use the first available network and automatically use DHCP or a static address as required. Is it possible under ...
0
votes
1answer
809 views

FreeBSD guests running on ESX hang without panic log

We have three servers running on a same ESX host, all virtual disks are from a remote SAN storage controller. These tree servers hanged and restarted several days ago, and it happened to the DB server ...
4
votes
1answer
135 views

How do I securly update a *BSD system?

Security is a major concern. Every major Linux distribution uses signed packages. But the FreeBSD systems in the office downloading unsigned packages/ports via FTP. Is there a solution that would ...
0
votes
2answers
138 views

Both DC's able to connect to branch office, Branch DC can only connect to one local DC

I am stumped on this one, I appreciate any help with this scenario because this just seems odd. We have 3 domain controllers: DC1 - 192.168.1.2 - main office (LAN port of PFSense) DC2 - 192.168.1.4 ...
5
votes
3answers
3k views

PAM: Execute a command before pam_mkhomedir?

When a user logs into a system and there is no home directory, we would like to to create the user's home directory using pam_mkhomedir. This is a common practice. Here's a quick description of ...
4
votes
2answers
962 views

FreeBSD server - certified compatible hardware?

I am looking for recommendations for hardware that is "certified" with FreeBSD (8+) I suspect I am looking for a small server manufacturer that will build me a server that "just works". I have read ...
2
votes
1answer
712 views

rsync to remote server that does not have the same users setup as local server produces permission error

I'm setting up a backup of my linux-based webserver to a NAS running FreeBSD. I've created a backup user on the FreeBSD box and ran rsync as root on the local (web server) box using the following ...
1
vote
1answer
325 views

Why no one seems to use FreeBSD to host Rails app? [closed]

I'm moving this thread previous adressed to stackoverflow. (Original Thread) We use FreeBSD 8.2, Rails 3.0.7, postgresql 8.3, passenger and nginx for our production servers. (More Infos) We seems to ...
2
votes
1answer
1k views

Protecting against UDP flood

One of my servers is being flooded with udp packets on random ports. 12:11:54.190442 IP 182.48.38.227.60173 > localhost.51523: UDP, length 1 12:11:54.190447 IP 182.48.38.227.60173 > ...
0
votes
2answers
205 views

Rewrite sh script for freebsd

I have an sh script: #!/bin/bash fullpath="$1" filename="${fullpath##*/}" dir="${fullpath:0:${#fullpath} - ${#filename}}" base="${filename%.[^.]*}" ext="${filename:${#base} + 1}" if [ -f ...
0
votes
1answer
266 views

Portsnap error, doesn't work anymore FreeBSD 8.2

I can't seem to run portsnap anymore, there seems to be an error and /usr/ports/sysutils/portsnap doesn't exist for a reinstallation. The error I'm getting when running portsnap is: ...
0
votes
2answers
2k views

PF rules and configuration to allow a local IP alias to NAT on FreeBSD?

Here's exact details of my configuration: Firewall/DNS Server: 192.168.2.1 (local lan) which routes out to the internet. <-- NOT UNDER MY CONTROL My FreeBSD Server: 192.168.2.23 (LAN) "Inside" ...
0
votes
1answer
721 views

uWSGI touch-reload feature not working with 100% CPU

On my development box, I have configured uWSGI to reload every time a file gets touched (using the --touch-reload command line argument). When I specify a non-existent file, I get a warning in the ...
1
vote
1answer
213 views

Make: Permission Denied (until I `cd .`)

I have an account on a shared host running FreeBSD 5.5-STABLE. I was compiling my own version of Ruby today, and encountered this anomaly: If I tried to execute 'make', I get a "permission denied" ...
1
vote
2answers
126 views

Adding FreeBSD user upon first login

Is it possible, to achieve the proposed behavior on my FreeBSD 8.2 server: New user ssh's into my server. He supplies as 'Login:' his student index number and a new, locked account is created with ...
2
votes
1answer
411 views

I cannot use screen stuff command from cron, but I can from a shell script (same user)

I have a shell script on FreeBSD that sends a few screen stuff commands to a running screen session (which runs a Minecraft server). The commands work when I execute it manually. But if I put the ...
0
votes
1answer
309 views

Install MySQL on FreeBSD 8.2 without ports

I have downloaded and extracted the latest MySQL package from their website on my FreeBSD machine, I would like to install it. But I don't want to use the inbuilt ports, I want the latest version to ...
1
vote
4answers
973 views

Monitor Dell thermal sensors in FreeBSD?

I'm trying to remotely monitor temperature sensors within two Dell PowerEdge 6850's. I have a fear that the building we are in is turning off the air conditioning on the weekends to save power, which ...
0
votes
2answers
293 views

using “include” like statement in pf.conf to include some parts from other files

I want to be able to include some parts of my pf.conf from other set of files. For example I will include "set timeout" vs like statements in another file. Using anchors and "load anchor from ...
4
votes
4answers
927 views

RAID-Z Failure Notification

I have a FreeBSD file server with a 10TB array in RAID-Z (so 8TB usable with 2TB redundancy). I am trying to figure out how to get the system to notify me, preferably by email, if one of the drives ...
1
vote
1answer
986 views

Export NFS to multiple networks in FreeBSD (FreeNAS)

I'm trying to export a share to multiple networks using the following in the /etc/exports file: /mnt/tank/xen_nfs -alldirs -mapall=root:wheel -network 10.1.1.20 10.1.1.45 10.1.1.105 but whenever I ...
1
vote
2answers
2k views

How to monitor ZFS with SNMP in FreeBSD?

I'd like to monitor these with SNMP: zpool iostat -v 1 Per drive and sum. zpool status Scrubbing as 1 and not scrubbing as 0. zpool status -x Monitor $? (return value). Send trap when value ...
1
vote
1answer
937 views

FreeBSD: how to associate disk serial numbers to device names when using a 3ware SATA card

When using a 3ware SATA/RAID card is there a way to associate the disk serial # with the /dev/daN device? I can get serial numbers by using "smartctl -d 3ware,0 /dev/twa0 -i", but I don't know if ...