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

2
votes
1answer
236 views

FreeBSD - monitor aggregate bandwidth of individual local network devices

I'm looking for ways to monitor the Internet usage - the total amount of data transferred - of individual devices on my network. I'm using FreeBSD 9.0-RELEASE with pf for filtering and NAT. I'm not ...
2
votes
2answers
159 views

How do I find out my CD ROM hardware specifics on FreeBSD?

I can usually use dmesg soon after bootup to display hardware info that my kernel loads. After my system has been up for a while however, dmesg no longer produces anything of value concerning ...
1
vote
0answers
381 views

PHP5 OCI8 FreeBSD

I'm running a FreeBSD server with Apache and PHP 5.3. I'm trying to get the Oracle DB extension (OCI8) running with PHP but I can't find a port or anything for it. Half of the Internet says it's no ...
0
votes
1answer
2k views

OSPF routing (quagga) FreeBSD. Routing tables doesn't change. Help please

I have a problem with my lab work. I need to provide network routing with ospf. My Net has the following layout: So... When I start 3 virtual machine with all working interfaces, everything is ok - ...
1
vote
1answer
436 views

How to filter out “bad-len 0” packets with tcpdump?

When I listen internal network interface of router on freebsd, I get outputs like this 10:36:02.372026 IP 192.168.1.11.8888 > 192.168.1.2.49831: Flags [.], ack 1097, win 65050, length 0 ...
0
votes
1answer
263 views

Which process is eating my hard drives?

Today, after I logged in with ssh, I see a lot of lag on my FreeBSD server. Something is eating 100% of my both hard drives (RAID1 with gmirror). systat -vmstat 5 users Load 0,06 0,16 ...
0
votes
0answers
396 views

FreeBSD + mrouted + IPTV

I am using FreeBSD 9.0. I have configured NATD and DHCPD with IPFW (open for now). I am trying to configure mrouted because my ISP is streaming IPTV (udp://@239.250.250.8:1234). What steps should I ...
1
vote
3answers
339 views

Will dropping only SYN packets improve or decrease firewall performance?

I'm setting ipfw, and the following was suggested to me: If I make the rule only to drop SYN packets for TCP, no connection could be established and the firewall won't even have to look at other ...
0
votes
1answer
552 views

FreeBSD vs. Illumos [closed]

I am using FreeBSD since some years now for server use and archlinux for desktop. I really use many features of FreeBSD (ports, zfs, jails, pf, ...) now I read about Illumos an OpenSolaris derivate. ...
1
vote
1answer
728 views

FreeBSD Jail own network stack with vimage

I want to throw all services from the host system and put them in jails. Unfortunatly this doesn't work for file sharing (e.g. nfsd) because the jails don't have there own network stack by default. I ...
1
vote
2answers
1k views

DHCPD on FreeNAS?

I've got a FreeNAS install I've been using for a while, and wanted to set it up to serve as a network boot server. I downloaded and installed the isc-dhcpd-server, configured the tftp+iscsi+etc ...
0
votes
1answer
79 views

How do I use the excape characters properly in csh's builtin echo command?

I'm trying to build my fstab during install with a script, so I want to have something like this: printf '# Device\t\tMountpoint\tFSType\tOptions\t\tDump\tPass#' >> /mnt/etc/fstab printf ...
1
vote
1answer
83 views

How do I use a shell builtin command rather than the system command?

I'm specifically asking about FreeBSD. I am using the default /bin/csh as my shell. There is a binary version of echo at /bin/echo, and there is an echo command built into the shell. The system ...
3
votes
5answers
1k views

Getting ;5D when hitting ctrl + arrow key in a Terminal on FreeBSD

On centos I can skip a word by hitting ctrl + arrow (left or right) in a terminal. When I ssh into a FreeBSD box and I try the same pattern I get: $ tail -f 20120412.log;5D;5D;5D (each try = ;5D) ...
0
votes
1answer
939 views

Lighttpd can not start when including mod_rewrite

Here is my server modules list (modules.conf), its working without any problems, and lighttpd is running correctly while using this list: server.modules = ( "mod_access", # "mod_alias", # ...
3
votes
1answer
1k 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
345 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 ...
4
votes
3answers
177 views

Moving files off volume and then back on while preserving all attributes?

I have a situation where I'm testing a new filesystem that has an issue with some metadata. All of the files are intact, however I ultimately have to effectively move every single file off to another ...
5
votes
1answer
635 views

Supermicro + IPMI + FreeBSD: Kernel prints at 1-bps

I am running FreeBSD 8.2-RELEASE. The machine is a Supermicro 5015M with a IPMI 2.0 daughterboard. When I boot this host, the boot process proceeds fine. I see the BIOS, the RAID BIOS, the first and ...
1
vote
1answer
366 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.
1
vote
0answers
365 views

Livestatus doesnt work with Nagios on FreeBSD

Im trying to use livestatus with nagios on FreeBSD. I've managed to compile and configure it, but Nagios doesnt seem to be loading the module and dont produce any errors. Other info: $ grep broker ...
-1
votes
1answer
162 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: ...
1
vote
1answer
335 views

FreeBSD Jail with Ruby multiple web deployment

I am looking to offer a free deployment system for ruby web applications (based on rack and not ruby on rails) so essentially I will allow users to upload a file with their app and the app will show ...
0
votes
1answer
411 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
357 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.
0
votes
0answers
138 views

FreeBSD - memory gap

I came across script that prints some memory informations and here is my output: SYSTEM MEMORY INFORMATION: mem_wire: 4133535744 ( 3942MB) [ 12%] Wired: disabled for paging out mem_active: ...
13
votes
3answers
1k views

Log every command executed from root

I want to give access to my root server to an external system administrator, but i want to be sure to double check what he is doing to my server, e.g. copying data i don't want them to do and so on. I ...
3
votes
1answer
351 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
521 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 ...
2
votes
2answers
905 views

Are there any PCIe SSD cards compatable with OpenIndianna (OpenSolaris) and/or FreeNAS (freebsd) 8+?

Has anyone had any success at all with any PCIx SSD cards around the 200GB+ mark under FreeNAS 8 or OpenIndiana? Specifically either of these platforms because of ZFS support for which we'd be using ...
7
votes
2answers
684 views

FreeBSD ports: remove build dependencies after installing port

Is there any way to remove build dependencies of the port after installing it? Many ports use exotic tools for building and these tools are not used anymore when port is builded and installed.
4
votes
1answer
147 views

Check changelog of FreeBSD port before upgrading?

Is there an easy way to check a changelog of a FreeBSD port before you upgrade? For instance, I'd like to check what upgrades are manditory before I do portmaster -ad. It would be nice to have ...
0
votes
3answers
159 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 ...
1
vote
3answers
500 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 ...
3
votes
1answer
741 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) ...
7
votes
2answers
791 views

FreeBSD Host ZFS on Root Running VirtualBox with Windows Server 2003 Guests Very Slow HD Speeds

Here is my setup: I am running a Dual Quad Core Xeon 2.0Ghz with 16GB of Ram and 2 x 2TB WD Green drives with FreeBSD 7 that has ZFS on root. The Hard Drives are in a ZFS Mirror. I am running ...
3
votes
2answers
1k 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 ...
1
vote
2answers
1k views

Dropping Cached Memory on FreeBSD

i use FreeNAS server which is built on OS version FreeBSD 8.2-RELEASE-p6. I use ZFS file system with 13TB HDD on my 8GB physical ram installed box. It almost uses all of RAM installed while ...
3
votes
1answer
548 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 ...
4
votes
1answer
3k views

How to use nginx PAM module?

I would like to use nginx PAM module to authenticate a site with existing users on a FreeBSD system. I tried to use pam_unix.so, but no luck. It's just not let me in with my usr/psw pair. :( nginx ...
7
votes
1answer
959 views

Why change net.inet.tcp.tcbhashsize in FreeBSD?

In virtually every FreeBSD network tuning document I can find: # /boot/loader.conf net.inet.tcp.tcbhashsize=4096 This is usually paired with some unhelpful statement like "TCP control-block hash ...
4
votes
2answers
935 views

How to grant su access to wheel without asking for password on FreeBSD?

I would like to grant users of the wheel group (other sysadmins) su access without being asked for password. I know how to do it with pam in linux, but the question now is for FreeBSD. I am not ...
3
votes
4answers
2k views

How to clone pfsense 2.0 (FreeBSD) server for backup?

I'd like to routinely clone my live pfSense 2.0 server for backup purposes. I am a FreeBSD n00b. What I'm doing now: 1. Manually install pfSense to an identical hardware 2. Backup config file from ...
1
vote
0answers
168 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 ...
2
votes
1answer
280 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
2answers
748 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: ...
0
votes
2answers
74 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 ...
1
vote
4answers
6k 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 ...
0
votes
1answer
159 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 ...
6
votes
1answer
2k 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 ...