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
416 views

FreeBSD network performance fluctuating

I just installed a fresh FreeBSD 9.0 on a new server. The machine is using the onboard gbit nic (Atheros AR8151). It runs Samba and FTP and has a ZFS pool of ~3TB. When I download files from some ...
1
vote
2answers
762 views

freebsd pid file not created

Pid files not created in /var/run folder. rc.d script: #!/bin/sh . /etc/rc.subr name=phpcgi rcvar=phpcgi_enable pidfile=/var/run/${name}.pid command=/usr/local/bin/php-cgi load_rc_config $name ...
1
vote
1answer
300 views

What's the difference between Send-Q and S-BCNT in FreeBSD netstat -anx?

What's the exact meaning of Send Buffer byte count in the extended netstat statistics, and why is it always bigger than Send-Q? In other words, what's counted against the S-BCNT that's not counted ...
1
vote
3answers
807 views

FreeBSD rc.d script doesn't work when starting up

I am trying to write a rc.d script to startup the fastcgi-mono-server4 on FreeBSD when the computer starts up - in order to run it with nginx. The script works when I execute it while being logged in ...
1
vote
4answers
2k views

Slow VM on esxi 4.1

We have a FreeBSD 64bit running on a esxi 4.1, the hardware platform is a DELL R710 with 2 x 56xx (intel 6core cpu) and 48 GB ram. The FreeBSD vm is very slow, when we compiles/builds something on it, ...
3
votes
1answer
1k views

How to rebuild gmirror from bad hard drive

On my freebsd box $uname -rms FreeBSD 7.2-RELEASE-p5 i386 hard disk want to die. smartd daemon write in log: Mar 29 21:25:04 smartd[935]: Device: /dev/ad7, 10 Currently unreadable (pending) ...
4
votes
2answers
2k views

Building one big filesystem with JBOD and ZFS

How to build a really big ZFS filesystem? The above question is vague in the 1st reading, so more precise. I know how to build big ZFS volume with one computer. e.g. get a good computer with ECC ...
4
votes
2answers
825 views

Web site kills hard disk I/O, how to prevent?

The situation: I have a server, on which we have 2-3 projects. Starting not long ago, the server started hanging up (We could not connect to it by ssh, and the connected clients had to wait 20 minutes ...
3
votes
1answer
571 views

Expanding raidz vdev

I'm currently planning on installing FreeBSD 9 on my home server. The machine has 4x 1.5TB disks, and at some point, when HDD prices drop I'll be upgrading to something bigger, perhaps 3TB. The disks ...
1
vote
0answers
184 views

Distribute outgoing connections among multiple IPs configured on the same NIC

I have a NIC with 2 aliases on it. The network interface has 3 IPs configured on it. Think about it like this: i can ping the same server by hitting .100 .101 and .102. I want the source address of ...
1
vote
2answers
3k views

:/: RPCPROG_NFS: RPC: Program not registered

I tried to share the root / from a fedora 9 to a freeBSD while when I tried to mount the / folder it complained with "[tcp] nfs_server:/: RPCPROG_NFS: RPC: Program not registered". I followed the ...
0
votes
1answer
612 views

Can not start the mysql server

I got the problem with starting my mysql server, it was working fine until I copied the "read" mysql configuration file (/usr/local/share/mysql/my-huge.cnf) to the /etc/my.cnf, then I restarted my ...
2
votes
1answer
356 views

MySQL performance on FreeBSD after moving db files from /var

I was running out of space on /var so I moved my db dir to /usr and noticed a significate decrease in performance. In addition I noticed that performance is much slower as well under any Jailed ...
1
vote
4answers
8k views

How to increase /var directory size?

First question: When I run df -h I can see this: # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 9.7G 8.0G 918M 90% / devfs 1.0K 1.0K 0B ...
1
vote
2answers
1k views

start-stop-daemon freebsd

Have a line in sh script starting service from rc.d start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/local/bin/env -- $ARGS RETVAL=$? it returns /etc/rc.d/spat: ...
1
vote
1answer
342 views

FreeBSD VirtualBox disk performance using mdmfs

I am having some trouble with poor I/O running a Windows 7 VM on VirtualBox on FreeBSD 9.0. I would like to change my virtual disk type to immutable, and then change the location of the differencing ...
0
votes
2answers
78 views

freebsd shell package not execute after successfull install

After successfull installing midnight commander with pkg_add - mc i try to load it from shell command "mc", but it did not work. Leaving the root and going root again fixes that problem. The same ...
6
votes
1answer
3k views

PXE Boot FreeBSD ISO from a Linux PXE server

I have a working PXE boot server running on CentOS 5.5 that works perfectly for any flavor of Linux. I'm trying to add FreeBSD to the install options as a ISO memdisk, but so far nothing is working ...
1
vote
1answer
660 views

trying to “setup apache fastcgi”

my system is: wx3# uname -a FreeBSD wx3 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 wx3# packages ...
1
vote
3answers
1k views

Htop installation failed

I'm trying to install the htop , but I can't since I'm getting this fatal error: # cd /usr/ports/sysutils/htop && make install clean ===> Installing for htop-1.0.1 ===> htop-1.0.1 ...
0
votes
3answers
935 views

DDoS - How to detect an attacker IP address [duplicate]

Someone keep attacking my server, but unfortunately I've switched my OS to the FreeBSD, as I've earlier used Debian 5.0 Lenny, and none of netstat or tcpdump commands I used on Debian, works on ...
0
votes
1answer
237 views

What may cause apache slowing down

I have a server setup with FreeBSD 8.2-STABLE running Apache/2.2.22. Since this morning it became very slow. Connections are quickly established, but the response is very slow. This is valid even for ...
0
votes
2answers
3k views

PHP Warning: PHP Startup: Unable to load dynamic library

I have tried to run my script via cron, but it was not working... */1 * * * * /usr/local/bin/php -f /usr/local/www/maintain.php > /usr/local/www/php.log So I decided to try to run this script ...
3
votes
1answer
4k views

FreeNAS box has slow network transmit speeds

I'm seeing some really odd issues with network speeds on my FreeNas 8.0.3 box. Receiving traffic is fine, but sending traffic slows down to 10-50kb/s, and stalls a lot. Receiving: Transmitting: ...
2
votes
1answer
156 views

Scripting GNU Screen sessions

I have a couple of VM images that I run on a regular basis on my FreeBSD 9.0 fileserver. I have scripts written that start them with my desired settings (startUbuntuVM and startWindowsVM). I would ...
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: ...
0
votes
2answers
832 views

puppet: freebsd - installing package error

I have this module: class bash { package { "shells/bash": ensure => "installed", } } After the execution, I found this in the puppet dashboard: change from absent to present ...
4
votes
1answer
1k views

How can I connect to MySQL remotely and still keep it safe?

As you know, keeping the MySQL port 3306 open is unsafe. However, I would like to use a good MySQL administration program instead of phpMyAdmin, which requires 3306 port to be open. Of course I can ...
2
votes
1answer
913 views

HP NC107i (BCM5723) on freebsd 9

We've purchased 3 hp proliant dl120 servers. They come with 2 integrated network adapters - HP NC107i PCIe Gigabit Server Adapter which is based on BCM5723. After Freebsd 9 installation I've ...
1
vote
2answers
265 views

How to build snappy-java under FreeBSD 8.1? (build error)

I'm trying to build snappy-java for FreeBSD 8.1 to use it with cassandra (can't enable columns compression without it). Trying to build it from source and getting an error: $ hg clone ...
1
vote
2answers
823 views

MikroTik as PPPoE server

I'm working at ISP and we provide internet over PPPoE. Our servers are running on FreeBSD and we are considering some improvement to enhance the administration of the server. We've thought of moving ...
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
0answers
1k views

FreeBSD ixgbe driver not working

I recently got a brand new Dell PowerEdge R610 server, I installed VMWare ESXi 5.0 on it and attempted to install FreeBSD as guest OS for squid caching. The server has a PCI-E Intel X520-T2 10Gig ...
0
votes
2answers
229 views

qmail not working

I recently installed qmail in one of my freebsd machines. But whenever I telnet to its port 25 from the same machine or from remote machine, i get instantly disconnected. Trying 127.0.0.1 Connected ...
3
votes
3answers
2k views

How do I get internal hosts to use a VPN connection set up on a FreeBSD router?

Question in short: How do I get traffic from a host on an internal network, using NAT behind a router, to use a VPN connection set up on the router? I have a FreeBSD 9 router with 4 network ...
3
votes
2answers
499 views

Installing FreeBSD remotely using Ubuntu LiveCD

I realised this is a very specific question, but I am wondering if there is a way to install FreeBSD on a machine using only SSH access to a Ubuntu LiveCD on the server?
5
votes
1answer
1k views

“route add default -iface em1” in rc.conf on FreeBSD

I have two NICs on my FreeBSD server, which are set up like this in rc.conf: ifconfig_em0="10.0.0.1 netmask 255.255.255.0" # LAN NIC ifconfig_em1="DHCP" ...
4
votes
2answers
3k views

Multicast routing across two subnets with FreeBSD 9 (Bonjour between subnets)?

I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net). There are routes ...
14
votes
4answers
1k views

Historical Question: Why does slice C or slice 2 cover the entire disk

Something that I was discussing with a couple of friends and we were unable to figure it out. In FreeBSD and OpenSolaris/Solaris when you partition a drive a partition is created that covers the whole ...
4
votes
1answer
868 views

Building NanoBSD inside a jail

I'm trying to setup a jail to enable building a NanoBSD image. It's actually a jail on top of a NanoBSD install. The problem I have is that I'm unable to mount the md device in order to do the 'build ...
8
votes
2answers
812 views

zfs and future expandability

I want to build a server using freebsd 9 and zfs. I have some old hardware (intel quad core with 8 gb ram) lying around, and I am willing to purchase two or three 1 TB disks. I also have a dlink RAID ...
3
votes
4answers
216 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?
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
1k 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
618 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
540 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
388 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 ...