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
1k views

Remote Logging with syslog

I have two machines running FreeBSD, bsdclient and bsdserver. I am trying to setup remote logging such that bsdclient sends all the logs to bsdserver. My syslog.conf on bsdclient goes like this *.* ...
1
vote
1answer
914 views

FreeBSD netstat -di, Idrop vs Drop and drop count from NIC or kernel?

On FreeBSD what's the difference between Drop and Idrop in the netstat output? $ netstat -di Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll Drop bge0* 1500 ...
0
votes
1answer
547 views

Samba authentication when AD is down?

I have succesfully added my Freebsd 9 to a Windows server 2008 R2 AD Domain. Using samba 3.6. The problem is that i want to be able to connect to the shares when the AD server is down. Because the ...
0
votes
1answer
521 views

Freebsd ssh key doesn't work

I have a problem with ssh key on freebsd vps. I generated a key and it works on debian. i usually just copy paste it to ~/.ssh/authorized_keys and it starting to work. In freebsd it doesn't. I tried ...
3
votes
2answers
2k views

ZFS RaidZ Import Failure when migrating

So my the USB drive attached to my FreeNas 7 system, went bad so I used the situation as an opportunity to upgrade to FreeNas 8. The problem is now I'm having trouble getting my ZFS to spin up: ...
0
votes
1answer
383 views

Freebsd 9 on Z68 chipset support

Does Freebsd 9 support Z68 chipset like in Intel DZ68BC motherboard? Will I have any "unrecognized device" issues ? What about Freebsd 8? What's the best way to find it out ?
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 ...
2
votes
2answers
3k views

bandwidth monitoring issue on PfSense router

I have a PfSense router installed , where it has 4 interfaces. one of them is WAN and rest 3 are LAN networks, which have different subnets and IP address ranges. wan interface name = em0 lan ...
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
721 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
149 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
152 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
4k 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
504 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
372 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
15k 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
143 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
261 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
380 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
284 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
154 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
6k 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
383 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
275 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
358 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
174 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
619 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
357 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
961 views
2
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
785 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
476 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
423 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 ...
2
votes
1answer
715 views

How to download a single port on FreeBSD?

How can I download a single port from freebsd site instead of downloading the whole port collection?
8
votes
3answers
867 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
547 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
112 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 ...