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

1
vote
2answers
3k views

Wrong MIME-type while uploading files

I have a problem with MIME-type while uploading a file to server from the web-interface. I used CI as engine for my website. I have FreeBSD with Apache 2.2.15 on the board. The problem is: While i ...
1
vote
2answers
671 views

Ping size limit - FreeBSD

In the man page for FreeBSD ping: -s packetsize Specify the number of data bytes to be sent. The default is 56, which translates into 64 ICMP data bytes when combined with the 8 ...
7
votes
3answers
884 views

Why is there less latency on loopback than on a carp interface?

Stack Overflow Careers is served up something like so: user -> internet -> our fw -> nginx -> haproxy -> web farm FreeBSD is the operating system in use no firewalling or QoS is in ...
0
votes
1answer
848 views

ipnat.conf - map and rdr won't work!

I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? su-...
5
votes
2answers
399 views

Is there a good guide to using “The DJB Way” with FreeBSD?

I'm rapidly becoming a FreeBSD convert (from Linux). I'm also intrigued by djb's software. Is there a good guide to replacing the standard set of FreeBSD utilities with their djb equivalent? It would ...
4
votes
1answer
659 views

How to install newer port (PHP >5.1) on older release/world?

On my FreeBSD (home) server I have installed 6.2-RELEASE-p8. This "includes" PHP 5.1. I need to install PHP 5.2 now (because of a dependency, 5.3 would probably also work). Now my (newbie) question ...
1
vote
4answers
181 views

How to perform action when given syslog message arrives on UDP port

I need to perform given action when specific message (matching for example regexp) arrives at the UDP port (syslog format). How to do this (i.e. by using already avaible softwere as opposed to writing ...
2
votes
1answer
596 views

What are the alternatives to using allow.sysvipc in a jail running PostgreSQL in FreeBSD

This question is prompted by this one. I've set up a jail to run PostgreSQL but without allow.sysvipc when creating the jail (or setting the relevant rc.conf entries), the system call to shmget are ...
3
votes
1answer
846 views

What are the security implications of using allow.sysvipc in a FreeBSD jail

The man page for jail says that allow.sysvipc enables "System V primitives [to] share a single namespace across the host and jail environments..." thus "... processes within a jail would be able to ...
0
votes
1answer
886 views

Running PostgreSQL Inside a Jail Using FreeBSD

I'm using FreeBSD 8.0 and I've setup a jail, pgsql, to act as a database server. After installing, I've tried to run initdb but get the following error: $ /usr/local/pgsql/bin/initdb -D /usr/home/...
0
votes
2answers
408 views

automatic ssh logout not working due to screen caption setting

I have set up an automatic logout for idle ssh session using "ClientAliveInterval 7200" However I do not get logged out everyone else who uses the server gets logged fine. I have tracked the ...
1
vote
1answer
1k views

freebsd 8.0 release won't boot after upgrade - can't find kernel

What would be the simplest method of repair; upgrade via disk, single user mode using disk? Thanks.
5
votes
2answers
2k views

lacp, cicso 3550, 3560, help with configuration

Hey all this is a repost from a question I asked on the cisco forums but never got a useful reply. Hey I'm trying to convert the FreeBSD servers at work to dual-gig lagg links from regular gigabit ...
3
votes
1answer
383 views

Analyze contents of a dump file

Is it possible to extract some details from a file generated with the dump(8) command on a FreeBSD system? Preferably, I'd like to see the file sizes for each file inside, to see what exactly makes my ...
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: $...
0
votes
1answer
2k views

Squid 3.1 Not Allowing Cookies Possible SSL issue?

I'm doing a poor job finding this in the documentation, but as of right now attempting to login to sites like gmail through the proxy gets me into a redirect loop with sites saying cookies aren't ...
1
vote
2answers
1k views

Why apcupsd won't see the UPS connected to the USB posrt on FreeBSD 8.0 amd64

Recently I installed an apcusbd on a FreeBSD 8.0 amd64 box via ports system. It installed perfectly but it won't run. Here what is says in the log: FATAL ERROR in generic-usb.c at line 636 Cannot ...
5
votes
3answers
6k views

Why does ifconfig reset the default gateway route?

In FreeBSD, an ifconfig call seems to delete the default gateway route, even when given the same IP-address (e.g. when updating the netmask only). Is it a bug or a feature? As fas as I remember Linux ...
2
votes
1answer
525 views

FreeBSD 8 and Samba 3.3 smb_panic

What is causing samba to crash? Need help diagnosing ... [2010/06/14 16:11:42, 0] lib/fault.c:fault_report(40) =============================================================== [2010/06/14 16:11:42, ...
2
votes
1answer
2k views

What should the hostname/domain be when installing FreeBSD?

I am trying to configure a fresh installation of FreeBSD using VMware workstation. I get to a screen where I have to configure the Network Interfaces (some values are set automatically because I've ...
5
votes
3answers
313 views

freebsd does not recognise that php was installed via ports

I have php 5.2.12 installed on FreeBSD 8.0-STABLE. It was installed from ports and I am trying to upgrade it to 5.3.2. However for some reason my system is not recognising that php was installed via ...
1
vote
4answers
835 views

Is FreeBSD more suitable than CentOS for firing 40k concurrent connections (for Jmeter)?

I am trying to run Jmeter to simulate 40k concurrent users and stress test a particular system. Putting aside the possibility that Jmeter may not be able to push such a high number (although I have ...
0
votes
1answer
1k views

Nginx Static Content Server Maxing Out?

I use nginx to serve the static content for a decently busy website of mine. I have the logging disabled, and 4 worker processes enabled with 5,000 connections per worker (which should yield a max ...
1
vote
2answers
676 views

Strange ZFS hidden filesystem problem

Half of my ZFS filesystems are hidden in ZFS-fuse. Here's my story: So, I love ZFS. I used it for about six months on FreeBSD, but due to it crashing the kernel during heavy inter-filesystem IO load, ...
2
votes
1answer
1k views

Find the source of malware?

I have a server that was running an older version of lighttpd (1.4.19 on a freebsd 6.2-RELEASE (yea, old) machine) and google alerted me that it had found malware embedded on one of my server's pages. ...
8
votes
9answers
11k views

Simple web-frontend for remote svn administration? [closed]

We run a SVN repository. Some of our more advanced users need to be able to perform some SVN administration without relying on the system administrator. They need to be able to do things like create ...
2
votes
1answer
2k views

FreeBSD DHCP server on multiple interfaces

I have FreeBSD server (7.2) which has a lot of interfaces (vlans, count near 100). I want to configure DHCP server with separate pools for each interface. What program should I use? Thanks for any ...
0
votes
1answer
303 views

FreeBSD after motherboard replacement; should I have any concerns?

So after three years my motherboard (Asus M2N-0MX) has died off. As I go shopping for its replacement tomorrow I have a concern about the data that I currently have on the drives wtihin. I'm currently ...
3
votes
1answer
651 views

Freebsd 7.2: View firmware version for disks?

I'm running FreeBSD 7.2, with Seagate Cheetah (Model ST####) drives. We are having some problems with the SCSI drives on these machines. Our vendor says that updating the firmware on the drives may ...
3
votes
2answers
2k views

Best way to install multiple versions of Apache, PHP and MySQL on a single FreeBSD host

I want a test- and development-environment for web using Apache, PHP and MySQL. I need to be able to test a single web-application with multiple versions of PHP (5.2, 5.3, etc) and multiple versions ...
0
votes
1answer
197 views

Freebsd write access to group directory

I'm confused. I have two users in system: u1 and u2, and group u1. both u1 and u2 belong to u1. I've created directory /opt/d with properties: drwxrwxr-x 2 u1 u1 512B May 26 17:55 d AFAIK, ...
2
votes
3answers
388 views

Link aggregation with freebsd8 and a cicso 3550, what am i doing wrong?

Hey, I am trying to setup Link Aggrigation with LACP (well, anything that provides increased bandwidth and failover using my setup will work). I'm running FreeBSD 8.0 on 3 machines. M1 is running 2 10/...
3
votes
4answers
236 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?
0
votes
2answers
172 views

Upgrade processes between FreeBSD/Ubuntu

Are there significant differences between FreeBSD and Ubuntu Linux when it comes to upgrading? FreeBSD appears to offers a more reliable path for upgrades with "freebsd-update" though I think "apt-get ...
2
votes
2answers
904 views

Hosting provider that allows you to host your own VM image? [closed]

I've already looked at the 'Best Hosted VM Provider' question and checked the recommendations there, but I seem to have slightly odd requirements. Basically, I am looking for a host that allows me to ...
11
votes
7answers
5k views

Cloud Providers that support FreeBSD? [closed]

NOTE: Even though I've accepted an answer for this, if you have a better one, please put it below. Thanks! I'm looking for recommendations from the wise and all-knowing Server Fault community on ...
4
votes
2answers
981 views

FreeBSD 32bit to 64bit migration

I need to transfer my FreeBSD 7.0 i386 server to another hosting. I would like to also upgrade to the 64bit version (to eliminate 4GB memory limit). The server has common open source software: apache2,...
0
votes
2answers
149 views

Writing files directly in zpool

We're on freebsd 8, and i created a zpool of 3 drives. # zpool create mypool da1 da2 da3 Now my question is, can i begin saving files to this?.. we´re talking 1TB of pictures (photography). Or is ...
5
votes
4answers
6k views

PXE boot FreeBSD iso from pxelinux server

I'm using FOG as a TFTP / PXE server and would like to be able to boot a FreeBSD LiveCD (specifically pfSense, but it could be any LiveCD, really); I've found HOWTOs for booting a "netboot" BSD but ...
5
votes
2answers
2k views

OpenVPN - client-to-client traffic working in one direction but not the other

I have the following VPN configuration: +------------+ +------------+ +------------+ | outpost |----------------| kino |----------------| guchuko | +---------...
0
votes
2answers
2k views

Build Freebsd from source (LFS like)

Do you know any project/document similar to Linux from Scratch for FreeBSD? Any pointers to build FreeBSD from scratch is appreciated. It is for learning purpose similar to LFS.
5
votes
2answers
19k views

Header set Access-Control-Allow-Origin not working with mod_rewrite + mod_jk

My first question on here on SF so please forgive me if I manage to bork the post. :) Anyways, I'm using mod_rewrite on one of my machines with a simple rule that redirects to a webapp on another ...
0
votes
3answers
3k views

Who provides the best and/or most affordable VPS hosting for FreeBSD guests? [closed]

I've seen plenty of recommendations for Linux VPS hosting, but not as much for FreeBSD. Who's the Linode/Slicehost of the BSD world? As an added bonus, who provides cheap but serviceable BSD hosting?
3
votes
1answer
2k views

Increasing FreeBSD threads

For network apps that create one thread per connection (like Pound), threadcount can become a bottleneck on the number of concurrent connections you can server. I'm running FreeBSD 8 x64: $ sysctl ...
1
vote
2answers
6k views

CARP: two machines think they're the master, but only on one interface

I have two machines, each configured identically as a firewall/load balancer for a busy website. I have set them up with CARP and pfsync on both the internal and external interfaces. The internal ...
0
votes
1answer
348 views

Two Tomcat SSL Providers & One FreeBSD

Versions used: JDK 1.6 Apache Tomcat 6.0.2X CryptoPro CSP 3.6 provider (www.cryptopro.ru) Question: On FreeBSD8 I need to have two opened HTTPS different ports (443 and 444, for example). In other ...
4
votes
2answers
2k views

How do I automatically start supervisor on boot in FreeBSD?

Is there a pre-existing startup script for supervisord on FreeBSD? If not, is there a good guide for writing rc.d scripts for FreeBSD? I'm pretty new to the platform. Thanks. UPDATE: I now have the ...
1
vote
1answer
380 views

BSD route(8) MAN page bug

http://www.freebsd.org/cgi/man.cgi?query=route Route is a utility used to manually manipulate the network routing tables. It normally is not needed, as a system routing table management ...
5
votes
5answers
9k views

Is Apache stalled? /server-status shows over 240 requests like “OPTIONS * HTTP/1.0” 200 - “-” “Apache (internal dummy connection)”

Some details: Webserver: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e OS: FreeBSD 7.2-RELEASE This is a FreeBSD Jail. I believe I use the Apache 'prefork' MPM (I run the default for ...
4
votes
6answers
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 ...