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

5
votes
3answers
3k views

httpready problem on Apache httpd restart on FreeBSD?

I run Apache HTTPD 2.2 on my FreeBSD 7.2 webserver. I have enabled the httpready and dataready in my /boot/loader.conf, like this: accf_http_load="YES" accf_data_load="YES" That works great when ...
1
vote
2answers
1k views

FreeBSD Traffic Shaping

I'm trying to do traffic shaping with FreeBSD, here are my rules su-3.2# ipfw show | grep pipe 08380 1514852 125523804 pipe 1 tcp from any to any dst-port 80 su-3.2# ipfw pipe 1 show 00001: 2.000 ...
0
votes
5answers
1k views

Removing files of a specific extension unix

Quick question, how do I recursively remove files of a specific extension? I wish to remove all .svn folders from a project. rm -Rf www/ "*.svn" The above seems to remove everything. Im using ...
0
votes
2answers
842 views

phpmyadmin not installing on freebsd

Hi Im attempting to install phpmyadmin and have become unstuck with the following problem: # cd /usr/ports/databases/phpmyadmin/ # make install ===> Installing for phpMyAdmin-3.1.1 ===> ...
0
votes
2answers
210 views

Connecting to virtual machine on host computer

I ultimately wish to run a FreeBSD virtual machine on my Vista computer to act as a server so I can test several projects. Im getting the FreeBSD vm set up with apache, php etc but how do I connnect ...
2
votes
5answers
503 views

Apache on FreeBSD not responsive but not busy

I run a fairly busy webserver. It's pretty standard: Apache with mod_php on FreeBSD 7.1. It connects to a separate MySQL server. It serves lots of static images. Users have been complaining of slow ...
2
votes
5answers
860 views

Apache logging strategy on busy webserver: write contention?

We have a busy webserver (> 5 million hits/day) that serves about 500,000 unique files. We're running Apache on FreeBSD 7.2. According to iostat -x, the bottleneck seems to be the seek speed of the ...
0
votes
1answer
1k views

setting up svn on a FreeBSD server with SSH access

I'm not too familiar with this, and not a network administrator in general, but I am attempting to set up multiuser access to an svn repository on a local server. So far I have installed subversion ...
1
vote
3answers
1k views

FreeBSD ipfw firewall_type

I'm trying to create my own firewall script inside of FreeBSD and I'm running in a bit problems, I was wondering if someone done something smilier and could show me an example? su-3.2# grep ...
2
votes
4answers
204 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 ...
1
vote
2answers
975 views

Upgrade FreeBSD ZFS system to larger drives

I have a FreeBSD system with a 750GB boot drive (UFS boot, ZFS root) and a second data made from a three drive raidz setup. I'd like to swap the three 250GB drives for a trio of 2TB drives. Assuming ...
4
votes
3answers
7k views

Failed to enable the 'dataready' Accept Filter

I'm not sure why, but I'm getting this warning when I start my apache... su-3.2# /usr/local/apache2/bin/apachectl start [Wed Sep 23 13:40:42 2009] [warn] (2)No such file or directory: Failed to ...
4
votes
4answers
12k views

SATA Drive and RAID Controller Recommendation for FreeNAS [closed]

I'm looking to build a RAID Array for storage of media (Audio, Video), file server for both CIFS/NFS and as a repository for backups. Performance isn't a huge concern but reliability is as this is ...
0
votes
2answers
320 views

Install FreeBSD kernel

I'm trying to setup Asterisk, and one of the pre-installation tasks is setting up zaptel. I get the message that I need to install the FreeBSD kernel source code to /usr/src. When I run make ...
2
votes
1answer
108 views

What is the best way to convert a block number to a file name in FreeBSD?

Today I found the following message in the daily log mail I get from a FreeBSD server: ad2c: hard error reading fsbn 1081249272 of 540624636-540624639 (ad2 bn 1081249272; cn 1072667 tn 14 sn 54) ...
2
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?
0
votes
2answers
1k views

FreeBSD nat via PF: how to change from random UDP ports to incremental?

I'm testing NAT penetration code and need a symmetric NAT. I have configured FreeBSD with PF, very simple rule: # rl0 in WAN on DHCP, sk0 is LAN with computers behind this NAT. nat on rl0 from ...
1
vote
2answers
926 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 ...
1
vote
2answers
487 views

FreeBSD's sendmail

-bash-3.2# hostname name.foo.bar.domain.tld -bash-3.2# whenever I send an email it leaves as userid@name.foo.bar.domain.tld, I need to have sendmail change it to userid@domain.tld how do I do ...
0
votes
3answers
1k views

VirtualBox Monitor Resolutions with XP Host, BSD Client and xfce

I'm running VirtualBox on an XP host and I have installed FreeBSD 7.2 using xfce as my window manager. Everything works fine except for the monitor resolution. I can only access the old standard ones: ...
89
votes
4answers
109k views

FreeBSD performance tuning. Sysctls, loader.conf, kernel

I wanted to share knowledge of tuning FreeBSD via sysctl.conf / loader.conf / KENCONF / etc. It was initially based on Igor Sysoev's (author of nginx) presentation about FreeBSD tuning up to ...
3
votes
3answers
525 views

Is MINFREE old hat?

On FreeBSD systems, and presumably a bunch of others, there is an amount of space reserved for root which is MINFREE% of the total capacity. With multi-terabyte filesystems, the default of 8% is a ...
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 ...
1
vote
5answers
217 views

HTTP request pause for one minute

I have this website which works very smoothly but occasionally when I click a link it pause for around one minute before I get the page, and when I open the same page in a new window, it open smoothly ...
0
votes
1answer
56 views

Using the -H Option to Create Users with the pw Utility

I'm using pw to add users to a FreeBSD system and I'd like to use the -H option, e.g., pw add user userfoo -H pwfile The man page says that I need to have a password "supplied already encrypted in ...
4
votes
2answers
1k views

Easy multi-level authentication for sudo

I have a FreeBSD server with password-based SSH enabled. I would like to enable sudo, but I do not want a potential attacker to be one password away from root access. My current solution is logging ...
1
vote
2answers
667 views

Freebsd Box hangs on boot loader

I have a freebsd box that seems to not want to boot past the boot loader. It wont go past the initial boot loader phase and just lists the version number for the boot loader(btx loader). It hangs ...
7
votes
4answers
1k views

ZFS and non Sun OS's

Is there any other Unix like distros that can read and write to ZFS filesystems. I know its currently unstable in FreeBSD :( The reason I am asking is I love ZFS but don't get on so well with Solaris. ...
1
vote
3answers
655 views

Is playing Flash Videos on Freebsd still a problem, or is it ok now?

So am thinking about trying out Freebsd. But I heard stories that FreeBSD is really having problems with Flash, like it always crash, or it has to run through a linux emulator to get it to work ... ...
0
votes
6answers
747 views

NFS server for storing ESX images

In the interests of avoiding FCvsNFS religious wars, let me first say that I prefer NFS over a standard FC SAN, and also I don't really have the option of using using FC for this anyhow. I'm ...
1
vote
1answer
263 views

FreeBSD Virtual consoles hang

I'm running FreeBSD 7.2 on a relatively new Dell Desktop, and when I switch between virtual consoles (ALT-f1, f2 etc) it works the first few times, but then just stops. It doesn't matter which ...
1
vote
5answers
2k views

FreeBSD's VPN & Mac OS X IPSecuritas

I need to be able to VPN in to my FreeBSD server from my Mac using IPSecuritas. I was wondering if anyone ever done something, I'm reading VPN over IPsec but that mainly covers if you had 2 nodes with ...
2
votes
3answers
1k 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
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
1answer
722 views

Creating pflog interface

I'm attempting to create a pflog interface using ifconfig so I can log to more than one file and when I attempt to execute the following command I get this error. I'm attempting this on a vanilla ...
1
vote
3answers
4k views

How to discover current time-zone (FreeNAS shell)?

How can I find which time-zone is currently in effect on my system and get offset to it? I need this information in order to offset some time calculations and I cannot make it constant because of ...
3
votes
3answers
1k 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 ...
5
votes
6answers
14k views

How can I tell how much RAM is installed on a FreeBSD server?

As per the title: How can I tell how much RAM is installed on a FreeBSD server? Thanks!
0
votes
3answers
689 views

adduser without creating a home directory (BSD)

Should be a very simple question: I'm on a FreeBSD server, running adduser asks for the home directory with a default in /home/username. I'd like to not bother adding a home directory, but I would ...
2
votes
4answers
5k 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
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
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
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 ...
0
votes
2answers
341 views

MySQL dump-restore replaces characters with 3Fh

FreeBSD Server with Mysql and make.conf like that .if ${.CURDIR} == ${PORTSDIR}/databases/mysql50-server WITH_CHARSET=cp1251 WITH_COLLATION=cp1251_bin BUILD_OPTIMIZED=yes BUILD_STATIC=yes .endif .if ...
0
votes
1answer
123 views

PF tagging then adding to table

could someone please provide an example on how to add a tagged packet to a table? I have found commands to do it from the command line but can you setup a specific rule to do it inside of pf.conf? ...
3
votes
7answers
438 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 ...
0
votes
8answers
1k views

How and what kind of mail server software to install on FreeBSD

I have a server running on FreeBSD 7.2. I'd like to install a mail server on it for purposes of receiving emails at my domain name whose nameservers are pointing to that server on the registrar ...
0
votes
4answers
685 views

FreeBSD Server .htaccess issues

Server Details: FreeBSD PHP Version 4.3.11 Apache Appache Modules: mod_throttle, mod_php4, mod_speedycgi, mod_ssl, mod_setenvif, mod_so, mod_unique_id, mod_headers, mod_expires, mod_auth_db, ...
3
votes
4answers
505 views

Best tools for keeping a FreeBSD 7.x system up to date?

I have had on-and-off contact with FreeBSD for 15 years, but I haven't maintained a FreeBSD system since 4.x. Now I need to install and maintain a couple of 7.x systems; first for development, then an ...
0
votes
7answers
4k views

Strange GD error when working on PNG images from PHP on FreeBSD

I have a problem with my FreeBSD 7.1 server. PHP's GD implementation no longer works on PNG images. Whenever the system tries to work with PNG images, I get these three error messages: [Sat Jul 18 ...