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

How do I disable NFSv3/v2 connections to a FreeBSD NFSv4 server?

I am using a Kubuntu 11.10 client with a FreeBSD 9.0 server. The server has the following lines in /etc/rc.conf nfs_server_enable="YES" nfsv4_server_enable="YES" nfsuserd_enable="YES" and the ...
2
votes
1answer
438 views

Moving data from linux mirrors into freebsd ZFS

I got an 3 years old computer with 4GB RAM Dualcore/Intel, and 4 hotswapable SATA HDD's (500GB each, 2+2 in LINUX RAID-1 configuration - so i have 2 500GB mirrored volumes). Each volume is full of ...
0
votes
1answer
170 views

OpenSSH-Portable trying to install X11?

I'm trying to upgrade OpenSSL, OpenSSH, and Apache22 on a FreeBSD 8.1 system. I'm already running OpenSSH-Portable, so that's not really a problem. Where I run into trouble is that openssh-portable ...
1
vote
1answer
461 views

FreeBSD Netboot over TFTP

Is there a way to boot FreeBSD over TFTP? All the instructions I've seen require you to transition to NFS after PXEBOOT has loaded.
3
votes
2answers
366 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 ...
1
vote
1answer
379 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 ...
-1
votes
1answer
179 views

Can huge error log cause performance issues?

We have big nginx error log(1GB). Can this cause serious performance issue while nginx writes new errors in that file? Sometimes our webserver hangs and recovers itself for about 2 minute. OS: ...
0
votes
1answer
797 views

How to view the disk bandwidth used by each process on FreeBSD

top than m (view disk iops) than o than write (order by write desc) Will show a sort of iotop ordering by the process that uses the most write operation per second. Any way to se the bandwidth used ...
3
votes
1answer
558 views

How can i view the disk latency of a ZFS pool, or of the disks in it?

I'm using FreeBSD. I would like to write a munin plugin to log it, but i don't understand how to get this data.
2
votes
1answer
4k views

nss_ldap: could not search LDAP server - Server is unavailable

I have an OpenLDAP server installed on FreeBSD 8.x. I am getting this error: Mar 25 16:11:45 ldap2 slapd[1268]: nss_ldap: could not search LDAP server - Server is unavailable I have included my LDAP ...
-1
votes
2answers
3k views

telnet localhost smtp gives warning: cannot connect to service

I'm trying to setup a mailserver but sending and receiving is not working. I can connect to a mailbox using pop3 ( trough telnet and mail client ) When do: # telnet localhost smtp the ...
0
votes
3answers
211 views

Apache22 displays PHP source

I've just install Apache22, PHP 5 with Apache module, and MySQL. The Apache conf file has the PHP LoadModule line, but it still displays the PHP source code. Are there any other reasons why this ...
3
votes
1answer
421 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
796 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
311 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
820 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
833 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
573 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
186 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
626 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
365 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
9k 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
347 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
664 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
962 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
160 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
848 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
928 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
268 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
842 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
230 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
3k 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
516 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 ...