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
2answers
219 views

Sharing distfiles between FreeBSD, OpenBSD, and Gentoo

Currently I have a few FreeBSD servers with one of them acting as build box sharing its /usr/ports and /usr/ports/distfiles (as separate file systems) through NFS. Recently I've added OpenBSD and ...
2
votes
1answer
190 views

Monitor Web Browsing Habits of Networked Users

I've been tasked with generating dynamic, real-time (or as close to real-time as possible) reports on the web browsing habits of my users. Basically we need a way of charting the amount of time user ...
2
votes
2answers
2k views

FreeBSD 8.0 “Watchdog Timeout” drops ethernet connection

Recently my FreeBSD 8.0 (GENERIC) box was hit with a large amount of requests from an IP in Taiwan, trying to guess passwords and all of that stuff. Anyway, long story short, I noticed at a certain ...
2
votes
1answer
879 views

What should the hostname/domain be when installing FreeBSD?

I am trying to configure a fresh installation of FreeBSD using VMware workstation. I get to a screen where I have to configure the Network Interfaces (some values are set automatically because I've ...
2
votes
2answers
694 views

Hosting provider that allows you to host your own VM image?

I've already looked at the 'Best Hosted VM Provider' question and checked the recommendations there, but I seem to have slightly odd requirements. Basically, I am looking for a host that allows me to ...
2
votes
1answer
750 views

Creating pflog interface

I'm attempting to create a pflog interface using ifconfig so I can log to more than one file and when I attempt to execute the following command I get this error. I'm attempting this on a vanilla ...
2
votes
2answers
371 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 ...
2
votes
2answers
4k views

FreeBSD load splitting and failover with 2 WANs (dynamic routing)

I have a freebsd server (ipfw, dhcp, dns) with one LAN interface and 2 WAN interfaces (2 different ADSL lines). The WAN interfaces (re0 and re1) are aggregated into one lagg0 failover ...
2
votes
1answer
31 views

Encrypted User Directory on FreeBSD?

I'm running FreeBSD and I'd like to have user's files stored encrypted using his/her password, and have seamless SSH access to those files as well (provided that the user always uses password-based ...
2
votes
2answers
105 views

403 statuses on nginx at FreeBSD

I'm trying to switch from an Apache hosting solution to nginx with php-fpm on FreeBSD 9.2. I'm rewriting my script for creating vHosts and stuff for nginx now and get 403 statuses when I try to ...
2
votes
2answers
143 views

ipfw based firewall slows down Apache web server

I have an Apache web server running on a FreeBSD 8.3 machine. That machine has an ipfw firewall with these rules: root@aigamedev:~# ipfw -a list 00005 0 0 deny ip from 67.212.xxx.xxx to any ...
2
votes
1answer
277 views

FreeBSD CPU serial number

I trying to read out CPU serial number information from a server which has FreeBSD. I tried these with no effort: sysctl dmesg cpucontrol These utility is not exists on the system: Dmidecode ...
2
votes
1answer
282 views

mysql on freebsd makes 1GB binary log files every 20 minutes filling free disk space very fast

I have a problem with MySQL on FreeBSD. It makes a lot of 1GB binary files every 20 minutes and it's filling free disk space rapidly. -rw-rw---- 1 mysql mysql 1073741982 2013-09-14 18:26 ...
2
votes
1answer
354 views

nslookup fails inside freebsd jail

I posted on the freebsd forums. I've been trying all night and I've made some progress but still I can't connect to the internet from my freebsd jail. Please just give me a hint here. I get the ...
2
votes
1answer
298 views

Managing multiple linux\freebsd server? [closed]

I currently have 5 FreeBSD servers that I'm handling on my own. I just bought 10 more servers and I want to start using some centralized configuration system like Puppet. I was wondering if there ...
2
votes
2answers
1k views

Installing multiple php versions plus extensions on freebsd

I'm a currently learning how to work with freebsd. Lately I have been trying to run multiple php versions along with their respective packages. However, I seem to be running into issues while making ...
2
votes
1answer
307 views

ipfw strange rules after reboot

I set this lines in my rc.conf: firewall_enable="YES" firewall_type="/etc/ipfw.rules" cat /etc/ipfw.rules add 02020 deny ip from table(10) to any add 02030 deny ip from table(11) to any ...
2
votes
1answer
233 views

How to apply patches to phantomjs port in FreeBSD 9?

I have installed FreeBSD 9 and I need to install phantomjs. It is available in /usr/ports/lang/phantomjs but the version is 1.0 while I need a more recent version. There is a patch to update to ...
2
votes
2answers
158 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 ...
2
votes
1answer
220 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
1answer
2k views

Using two network interfaces for FreeBSD VM

How do I turn on/off one network interface without affecting the other in FreeBSD? I have a FreeBSD 8.2 virtual machine (Virtual Box 4.1.4), with two network interfaces, one bridged to my Ethernet ...
2
votes
1answer
167 views

Move data from root ZFS into child filesystem

I have a zpool (pool verion 13, FS version 3, called tank0) with about 2.5TB of data in the root of the pool (i.e. directly in /mnt/tank0). OS is FreeBSD, actually FreeNAS version 0.7.2. I would like ...
2
votes
1answer
196 views

Email Address Generator

I'm developing a service which requires me to generate a new email for every "sign up." For example, person000@name.com, person001@name.com, person002@name.com, and so forth. My first attempt was ...
2
votes
1answer
804 views

pipe multiple files, single ssh connection, remote commands

I'd like to pipe several files to a remote server, piped as input to commands run on the remote server, over ssh, but only one ssh connection/command is permitted. (In the remote authorized_keys file, ...
2
votes
2answers
259 views

Сan I configure FreeBSD to use DHCP or a static IP depending on the detected ssid?

I have a FreeBSD 8 machine which can use several wireless access points. I want it to use the first available network and automatically use DHCP or a static address as required. Is it possible under ...
2
votes
1answer
643 views

rsync to remote server that does not have the same users setup as local server produces permission error

I'm setting up a backup of my linux-based webserver to a NAS running FreeBSD. I've created a backup user on the FreeBSD box and ran rsync as root on the local (web server) box using the following ...
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 > ...
2
votes
1answer
146 views

Running script when FreeBSD boots, but changing cwd first

I want to run a script when FreeBSD boots. I tried symlinking to it from /usr/local/etc/rc.d, but the script itself (myscript.sh) uses paths such as ./init-site.sh. These don't resolve correctly when ...
2
votes
1answer
710 views

FreeBSD: problem with Postfix after updating LDAP

At the server I installed openldap-server, at this computer open-ldap client has already been installed. Version of openldap-client (2.4.16) was older then new openldap-server (2.4.21) and the ...
2
votes
1answer
600 views

Booting FreeBSD from whole-disk ZFS pool?

I have a FreeBSD fileserver configured with one ZFS pool created from whole disk devices. That is, the pool was created like this: zpool create pool0 raidz ada0 ada1 ada2 This means the disks have ...
2
votes
1answer
614 views

Where do ack-only sent packets come from (on FreeBSD)?

I run the systat -tcp command on a moderately loaded system and see something like this for a 5 second window: /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average ...
2
votes
1answer
2k views

'pargs' command in FreeBSD or Linux

What's the FreeBSD (or Linux) equivalent to the 'pargs' command, available in Solaris? Many times I want to know what are the environment variables for a given process space, with no help from these ...
2
votes
1answer
256 views

Binary won't execute when run with a path. Eg >./program won't work but >program works fine

I'm getting some weird behaviour for a binary file I'm trying to run. I'm using Mac OSX snow leopard, and the binary itself is part of labkey software .. built from source. If I try to run the file ...
2
votes
1answer
113 views

What is the best way to convert a block number to a file name in FreeBSD?

Today I found the following message in the daily log mail I get from a FreeBSD server: ad2c: hard error reading fsbn 1081249272 of 540624636-540624639 (ad2 bn 1081249272; cn 1072667 tn 14 sn 54) ...
2
votes
2answers
378 views

How to enable gjournal on FreeBSD after upgrade from 6.x?

We have one server that was upgraded via buildworld etc. from FreeBSD 6.4 to 7.2. As you know one of the best new features in 7.* freebsd's branch is gjournal, but it seems to me that it is impossible ...
2
votes
2answers
143 views

Why does zfs fail to cache this workload when “normal” filesystems cache it completely?

Update: because recordsize defaults to 128k, the amount of data read by the test program is much larger than the ARC on an 8GB system and still slightly larger than the ARC on a 16GB system. Reducing ...
2
votes
1answer
80 views

How to fix geometry of two identical disks?

I have two identical HDD. First has geometry 3876021/16/63 and second has geometry 3876018/16/63. First disk's capacity is 50% already. I want to add second disk to mirror (first disk is master). How ...
2
votes
2answers
100 views

Reporting historical system activity in FreeBSD

I'd like to record data about system activity under FreeBSD for future analysis. If I were running a SysV system, I'd just sar and its related utilities, but that doesn't exist in the BSDs. (And ...
2
votes
1answer
133 views

Update FreeBSD ports to specific version/time [duplicate]

I know that i can use the command Portsnap fetch update in order to update the ports tree. My issue rises because i have 2 servers, one running php 5.2 (server a) and the other running 5.3 (server b) ...
2
votes
1answer
311 views

FreeBSD 2 network cards

We have server with 2 network cards with FreeBSD on it. 1 card used for internet (works fine) and another one for local network connection (to 192.168.227.0/24 net). When i try to ping gateway of ...
2
votes
3answers
339 views

Shared authentication across FreeBSD Jails

I am using FreeBSD with ZFS to run several jails. For jail management I'm using ezjail, and I have a template jail which I use for provisioning. I want to share passwd, groups, and authentication ...
2
votes
1answer
214 views

Running commands on FreeBSD Live CD

I'm running FreeBSD 9.1-PRERELEASE on a vps running on XEN virtualization, I tried to update it to 9.1-RELEASE but mergemaster toasted my /etc/master.passwd and /etc/passwd so what i have now is a ...
2
votes
1answer
2k views

How I can create a FTP-only account, in FreeBSD?

I created an account to be used only for FTP sessions: # adduser Username: test Full name: Uid (Leave empty for default): Login group [test]: Login group is test. Invite test into other groups? []: ...
2
votes
2answers
323 views

recursively mounting ZFS filesystems?

I'm aware this more of a beginners question, but manpages, google and FreeBSD Handbook provided no solution. I'm using ZFS Version 28 on a 8.2 Stable FreeBSD and my problem is the following: When I ...
2
votes
1answer
444 views

php5.4 + freebsd8.3+nginx can't get errors

I have a confusing behaviour. I can't get any error into log file or screen. I made a file index.php with content like this: "<?php a();".Normally, I will get message like this: "Call to ...
2
votes
1answer
356 views

How can I make exim deliver a single incoming mail to multiple local maildirs?

I'm maintaining an IMAP server running FreeBSD which uses exim 4.80 as its MTA. Right now I try to create an email alias so that I can address all users of the system for informing them about ...
2
votes
1answer
218 views

Apache httpd processes in lockf state

We run Apache on a FreeBSD system, it has multple web apps on it (Wordpress, Magento, custom PHP). As the traffic increases, we see more and more httpd processes in status "lockf" (using 'top'). The ...
2
votes
1answer
232 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
1answer
338 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 ...
2
votes
1answer
760 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 ...