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

0
votes
3answers
888 views

How to find out the memory cost of each mysql connection?

I want to find out the memory cost of each mysql process. Right now, I have 800+ mysql connections but I have no idea when will the system start swapping. I use FreeBSD.
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 ...
2
votes
1answer
144 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 ...
1
vote
1answer
151 views

Locked Out of FreeBSD

So I'm upgrading from FreeBSD 7.2 to FreeBSD 8.0 and after a while I get to the part where you have to rebuild all 3rd party applications (stuff from the ports tree or those compiled from source). I ...
0
votes
5answers
2k views

FreeBSD running in Hyper-V

I'd like to install FreeBSD 8.0 in a Hyper-V VM but I get a kernel panic whenever I try to boot the install ISO. I've tried both i386 and amd64; with and without APIC enabled; with and without ...
0
votes
3answers
2k views

install SSH2 (server?) on FreeBSD

At work we have freeBSD testmachine. And we have a PHP script that uses SSH2 protocol to connect with the freeBSD server. With this script I'm not able to connect to the freeBSD server. I wanted to ...
0
votes
3answers
1k views

Does PF support divert like IPFW?

I'm currently using IPFW on 3 dedicated firewall servers, and I would like to convert them to PF for some of its functionalities, but I need divert to work. Specifically I am teeing packets to a ...
2
votes
2answers
4k views

Difference between FreeBSD 8.0 CD and DVD

What is the difference between the Installation Media for FreeBSD 8.0. One is a CD and the other is the DVD...any place where I can find what packages are not present in the CD media that are in the ...
0
votes
2answers
736 views

Python program not being started by rc.d in FreeBSD 7.1

I have a python program which I wrote and would like to run on startup in FreeBSD 7.1. For my current installation, the script lives at /home/devuser/project/trunk/src/proj. At the beginning of my ...
1
vote
3answers
1k views

Max open files (MySQL 5.0 on FreeBSD 7.0)

I'm getting "Can't open file: './databasename/tablename.frm' (errno: 24)" errors from MySQL but as far as I can tell, I've set the necessary limits far higher than I need. Other than the ...
1
vote
2answers
1k views

Exim4 Configuration of Maildir Delivery

Documentation online is rather sparse on how to go about configuring Exim4 to use the Maildir delivery method instead of the default mbox format. This is on a FreeBSD system with Exim4 compiled from ...
3
votes
4answers
3k views

Mounting a share with spaces in FreeBSD fstab

I'm trying to mount a smb network share in fstab on FreeBSD, which works fine for a share without spaces, but fails if a space is in the name. I have replaced the space with \040 which is what ...
3
votes
2answers
350 views

IP Forwarding and traffic shaping

Is there any way to forward packets from network A to network B (just like a router) without changing source IP Address (and vice versa, from network B to network A) and also enforcing traffic shaping ...
0
votes
4answers
2k views

Forward port to another machine on FreeBSD 6.2

I'm in the process of shutting down an old FreeBSD 6.1 server, but I need to port foward 80 & 443 to its replacement while I wait for those naughty ISPs that cache DNS records longer than my TTL ...
3
votes
3answers
721 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 ...
0
votes
1answer
470 views

NFS headaches with FreeBSD 4.9

Once upon a time, this used to work, and I kept the configuration the same, but... now nothing. I'm just trying to get an NFS server set up on a FreeBSD 4.9 server. The process should be about as ...
1
vote
2answers
242 views

Install Apache22 in parallel to existing Apache13 installation on FreeBSD

I am running a FreeBSD (6.3-STABLE) production server with apache13 installed via ports. For various reasons I need to upgrade this to apache22, preferable also installed via ports. As my maintenance ...
4
votes
2answers
1k views

Linux alternative for FreeBSD systat tool

I'm looking for a Linux alternative for systat tool that is avalaible only for FreeBSD. What do you recommend?
0
votes
2answers
838 views

VMware ESXi - varying CPU time (CPU reservation)

I'm running FreeBSD 7.2 under VMware ESXi 3.5. Host has 2 physical CPUs and the BSD box is currently the only running VM. Only one virtual CPU is assigned to the VM. When measuring CPU time of a ...
2
votes
1answer
913 views

Dell “identify server” light in FreeBSD?

Does anyone know of a way to turn on the identification light on a Dell rack-mount server. This is the light which you can switch on locally by pushing the (i) button on the front of the server which ...
1
vote
5answers
997 views

Show tar file contents with 'less' on FreeBSD

Constantly switching between Linux and FreeBSD I keep bumping into this. When I do: less something.tgz Linux systems(well... Ubuntu to be precise) show me a list of files, which is what I ...
1
vote
3answers
305 views

FreeBSD with nginx can't connect networks after running for a while

My server is a FreeBSD system, I run nginx on it to proxy user requests to another real server. My problem is I can't visit my freebsd server after a while. The server is in another place, so I ...
3
votes
1answer
2k 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 ...
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) ...
1
vote
3answers
865 views

Installing PostgreSQL on FreeBSD (with ports)

Hey everyone, I am trying to install (using ports) PostgreSQL on a virtual server, running FreeBSD. My one question is this: Which of the following should I install? postgresql-contrib ...
4
votes
1answer
219 views

Forgotten Root Password FreeBSD - Have sudo accounts

This is a really stupid question. Is there a way of resetting the root users password on my FreeBSD machine? I have a user which has sudo capabilities so I can perform all admin functions. Thanks.
0
votes
2answers
169 views

Loading a project from a virtual machine into Eclipse

Here is the setup - I have a server with the svn repositories containing projects. I have a virtual machine on my Vista computer running FreeBSD acting as a server to test projects locally. Projects ...
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
913 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
228 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
529 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
891 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
215 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
982 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
355 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
114 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) ...
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?
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
970 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
505 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: ...
90
votes
4answers
120k 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
559 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 ...