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

3
votes
1answer
1k views

MongoDB isn't installing on FreeBSD 8.2 by any way

Firstly I've tried to perform step by step building of MongoDB on my vps with FreeBSD 8.2 on it. I've faced problem with the last step of building it: vm3578# scons . scons: Reading SConscript files ...
1
vote
1answer
741 views

Incoming SSH stopped working on FreeBSD 7.2

Somehow sshd stopped running and no amount of start, restart or onestart will make it go again. I normally ssh into it from a dual-boot laptop computer that shows up on the network as gabi-buntu when ...
1
vote
2answers
157 views

Odd rsync issue - duplicating and uncompressing files

I have two servers: our production web server(freebsd) and a backup server(centos). The production server does mysql database dumps every 3 hours and compresses the dump file using bzip2. So we have a ...
1
vote
4answers
153 views

Download FreeBSD print system

Where can I get to download FreeBSD print system? I have webmin installed on mac os x 10.6.4 and when i want to setup printer administration i get this error The spool directory /var/spool/lpd does ...
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 ...
1
vote
2answers
566 views

How to share USB drive via NFS on FreeBSD

I'm trying to share USB hard drive with msdosfs connected like this: mount_msdosfs -o large /dev/da1s1 /mnt/usb I can see mounted drive: /dev/da1s1 on /mnt/usb (msdosfs, local) but when I'm ...
-2
votes
2answers
380 views

FreeBSD 9.0 supports only IPv6. What this practically means?

I have very scarce knowledge of IPv6 but I'm considering installing FreeBSD on an RDC device which acts as a server to my home network running services. The last release states that one of the changes ...
4
votes
2answers
16k 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
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 ...
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
1answer
1k views

snmptrapd traphandle to php script

I have to receive snmptraps in php script, so what i've done is: snmptrapd.conf traphandle 1.3.6.1.4.1.3.1.1 /usr/home/user/trap/l.php l.php #!/usr/local/bin/php <?php $flow = ...
1
vote
1answer
158 views

Make a file accesible by PHP but not from the outside

My host gives me two folders for my use, a /home/public/ which is where the pages go, and /home/private/, which is for my personal use. I would like for PHP to create a file that's readable by me from ...
7
votes
3answers
2k views

“zpool replace” hangs and locks up the pool

Given my four disk RAIDZ1, one disk has become physically noisy, not producing errors yet, but not sounding healthy either. So I've chosen to pre-emptively replace it. I have done: zpool offline ...
6
votes
1answer
2k 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 ...
1
vote
2answers
2k views

How can I drop all connections to a given host under FreeBSD?

I know about tcpdrop which is in base distribution. But this tool requires port numbers to be specified. Is there any tool to drop connections by IP?
0
votes
1answer
2k views

How to find a file that contains the specified string in FreeBSD?

I'm searching for the way to find a file that contains specified string text. It should be fast as possible but its not that important. I was reading the manual, and I've build something like that: ...
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. ...
2
votes
1answer
275 views

FreeBSD Jail Authentication and Commands

I have setup a jail on FreeBSD-8.2 following the manual. After the setup, I copied these files rc.conf, /etc/passwd from base to jail. And this is what I did in order: jexec id passwd (to change the ...
2
votes
2answers
388 views

FreeBSD security log message: “Received data after socket was closed”

I am running FreeBSD 7 and I get this in /var/log/security : +++ /tmp/security.AIKARuA1 2009-06-30 03:05:17.000000000 +0500 +TCP: [69.147.83.36]:80 to [115.186.130.56]:50488 tcpflags ...
5
votes
3answers
296 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
2answers
169 views

FREEBSD creating new port

I have a script here that I want to create as a port in freebsd and then make it as package so that I can install on some machines. script is below. #!/usr/local/bin/bash if [ ! -f "/suid.old" ] then ...
2
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: ...
1
vote
1answer
1k views

How can I automatically install Perl modules from ports in FreeBSD?

I need to automate installation of a multitude of Perl modules. Most of them are present in ports. But some modules are located in bundles, for example www/p5-HTML-Tree prvides HTML::Element, ...
0
votes
2answers
429 views

Clone ports from bsd installation to another

I have a production FreeBSD webserver which I would like to "clone" to create a development/preproduction server. I've installed a clean FreeBSD server and now I would like to know if there's an easy ...
0
votes
1answer
279 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: ...
1
vote
1answer
376 views

Installing PostgreSQL 9.0 on FreeBSD

My installation of databases/postgresql90-client fails on a FreeBSD box. The installation blocks on configure, at the following step (while CPU usage tops 100%): checking thread safety of required ...
3
votes
1answer
181 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
2k views

UPS monitoring software for Linux, FreeBSD and Solaris

Looking to configure auto shutdown for my servers once the UPS battery reaches a certain state. We have MGE / EATON Pulsar M3000 UPS units, and a heap of servers running Ubuntu, FreeBSD and Solaris - ...
0
votes
2answers
679 views

nagios nrpe plugin output not complete

I have written a small script to check the states of PfSense, and using this script to get the output in nagios, through NRPE... Here is the script used=`pfctl -s state | wc -l | bc | cut -c1-5 | ...
1
vote
1answer
375 views

Serve an NFS mount over TFTP

I have a FreeBSD server on which I would like to run a TFTP server (for PXE). My daemon of choice is tftp-hpa and I have it configured to serve from /tftpboot properly. It works unless I mount ...
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
1answer
2k views

proftpd overwrite permission denied ftp user

I have a freebsd server with proftpd installed. When I chmod 777 the directory I can overwrite files, but using 755 permissions on the folder I can not overwrite files in the folder. In the conf ...
4
votes
2answers
983 views
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
3answers
813 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
2answers
495 views

java for freebsd

I am trying to install java on freebsd 7.X and i have done following thing so far download the tar file from this link and store the file in cd /usr/ports/distfiles/ after that i run cd ...
3
votes
1answer
2k 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 ...
1
vote
2answers
442 views

FreeBSD out of box Screen/TMUX functionality?

Does FreeBSD include capabilities out of box that are similar to Screen or TMUX? If so, what is the utility called? Update: I'd rather not use Screen due to it licensing. TMUX is BSD-3 clause, which ...
8
votes
3answers
918 views

FreeBSD 8.2, deleted /bin/sh, can't boot

I made a really bad decision on one of my servers. I deleted /bin/sh. I restarted the server and the server won't run because it needs /bin/sh to start the rc scripts. I can't access single user mode ...
4
votes
1answer
592 views

Adding the IP Failover on FreeBSD

I've just bought a dedicated server in OVH.com and they are sending me some warnings in email that I haven't configured my IP Failover address correctly and they're going to block this failover within ...
1
vote
1answer
113 views

FreeBSD aliased user identification and GNU screen

The situation is the following. I have FreeBSD user M, which is an alias for root, i.e., its UID equals to 0. I have a daemon started as M (as a shell for an autologin console, if it matters). The ...
1
vote
1answer
2k views

Unable to load dynamic libraries (pcre,spl,gettaxt,mhash,snmp,sockets,tokenizer)

I'm a bit new to freeBSD and trying to set up a webserver. I've managed to get phpmyadmin installed and phpinfo(); works fine. But when i typ in 'php -v' i get some warnings: PHP Warning: PHP ...
0
votes
1answer
244 views

FreeBSD: Syslog configuration for wireless routers ( BlueSocket )

Problem: Trying to isolate the issue preventing one of our BlueSocket routers from logging to a FreeBSD syslog box. The one that is not logging has identical logging settings to the other but is on a ...
1
vote
1answer
476 views

How to send multicast traffic from one vlan to 100-500 other

In addition to prev question How to share multicast traffic to many vlans I recieve answer that solution for my task is mrouted on my freebsd router. But for now i see this problems: mrouted ...
2
votes
3answers
2k views

Port-Forward for all IPs on an interface

I'm running a java-based web server as a non-privileged user. Therefore it listens on ports 8080 and 8443 instead of 80 and 443. Right now I'm using the following pf rules to forward the ports ...
2
votes
4answers
395 views

Is SASL not supported in Postfix on FreeBSD?

I'm managing a mail server that was set up on FreeBSD that runs Postfix and Dovecot. When I type postconf -a, nothing is returned. As I understand it, this command should tell me if SASL is supported ...
1
vote
1answer
1k views

Alternative to Ntop on FreeBSD

ntop is a great tool for recording network throughput statistics for FreeBSD based firewalls. The statistics can be displayed as graphs using a web browser. Ntop, however, has the limitation that it ...
5
votes
2answers
4k views

How to log every login (SSH) on FreeBSD

I want to log every SSH login attempts, both successful and not, to my FreeBSD server to a file, and daily mail this log to root. I could accomplish something like this by parsing /var/log/auth.log, ...
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) ...
0
votes
1answer
129 views

Locally redirect Domain1.com to Domain2.com/subdir on one computer

I am running a FreeBSD server and I want to redirect a specific website domain to another domain including subdirectory. I want to bypass that domain to alter the XML results it returns. I tried the ...