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

How to recover root password?

I have a FreeBSD box which I forgot the root password to. I do have physical access, so I can reboot the box if I need to. How do I reset my password?
2
votes
2answers
1k views

Can't boot FreeBSD 10 iso by PXE

I'm trying to boot FreeBSD 10 bootonly iso from with pxelinux and tftp, unfortunately the following error appears during freebsd boot: cd9660 :/dev/iso9660 error :/dev/iso9660/FREEBSD_INSTALL ...
2
votes
1answer
669 views

FreeNAS: “swap_pager: I/O error - pagein failed”

Our FreeNAS server log is constantly filling up with Apr 5 15:13:49 Wheelhouse NAS kernel: swap_pager: I/O error - pagein failed; blkno 524312,size 4096, error 6 Apr 5 15:13:49 Wheelhouse NAS ...
2
votes
1answer
54 views

Choosing a zpool size?

Is there a rule of thumb when to create a new zpool instead of expanding the current? Right now I have 100TB and can either expand with another 100TB or create an extra.
2
votes
2answers
582 views

Best way to upgrade FreeBSD with non generic kernel (XENHVM)

Since manually upgrading from source (cvsup) is deprecated and the recommendation is to use freebsd-update: What's the best way to upgrade (e.g. 9.1 to 9.2) while keeping a non-generic (XENHVM) ...
2
votes
1answer
143 views

Templates for daily mail from my debian boxes (like freebsd)

From my FreeBSD boxes, I each day recieve reports daily: File systems used Network interfaces Uptime 4, Mail queue status security: ipfw deny counters login failures refused connections ...
2
votes
1answer
108 views

Disable syslog remote connections

I'm securing a server and closing all the ports that are not used, but i can't close the syslogd port, even worse I cannot find where the syslogd is called. This is what sockstat shows me: USER ...
2
votes
1answer
432 views

Building a router / NAT and need to compare performance of FreeBSD 8 v RHEL 6 [closed]

I am going to be setting up a router and NAT device but I am unable to choose between pfSense 2.x (FreeBSD 8) and RHEL 6. The device will need to forward a medium (2k hosts) sized network where ...
2
votes
1answer
166 views

Is there a way to make a 32-bit variant of port under an amd64 system?

Is there a way to make a 32-bit package variant of mysql-client, for example ? Because I need some libraries for some binary software, and it would be good to maintain them from ports instead of ...
2
votes
3answers
1k views

SSHing with the nobody user

I am on FreeBSD. Essentially, I am trying to have a php script (run by apache) ssh into another machine. I am running into the problem that nobody does not have a .ssh configuration file and so am ...
2
votes
2answers
977 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 ...
2
votes
1answer
303 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 ...
2
votes
1answer
149 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
216 views

Is SASL not supported in Postfix on FreeBSD?

I'm managing a mail server that was set up on FreeBSD that runs Postfix and Dovecot. When I type postconf -a, nothing is returned. As I understand it, this command should tell me if SASL is supported ...
2
votes
1answer
283 views

FreeBSD vinum striped (RAID0) volume - performance issues

I've experimented with different striped volumes in vinum under FreeBSD 8.2-release. I have current hardware (Intel i5 processor, adequate MB and 8GB RAM). My test-setup consists of 2 or 4 disks in a ...
2
votes
1answer
1k views

Is it possible to restart a supermicro kvm with ipmitool? (the kvm not the server)

The KVM on my supermicro motherboard seems to have crashed or is otherwise not answering network requests on it's assigned IP address. I need to try to restart the KVM (not the server). Is this ...
2
votes
2answers
604 views

handle fork bomb on a virtualized environment XenServer / “FreeBSD jails”

I am used to work with FreeBSD jails but I wanted to give a try to XenServer 5.5 / Vmware ESXI 5, hoping it can really limit resources per VM, after installing a couple of Virtual Machines, I tried to ...
2
votes
2answers
1k views

Installing embedded pfsense, stuck at boot loader

I am trying to install pfSense embedded image 1.2.3 RC1 onto a CF card. The box looks like it is ready to boot, but gets stuck at "Loading /boot/defaults/loader.conf" followed by "/". Can anyone ...
2
votes
2answers
232 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
191 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
1answer
1k 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
742 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
826 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
374 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
1k views

SSLProtocol: Illegal protocol 'TLSv1.2'

I'm using FreeBSD 9.2-RELEASE with apache24-2.4.10_2 package. [root@alexus ~]# uname -a FreeBSD alexus.org 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014 ...
2
votes
1answer
135 views

Should I create ZFS zpools with whole disks or partitions?

I am making zpools on FreeBSD machine. While creating zpools i observe these two cases:- If i take raw disks and create zpool then i am able to form zpools and they are working perfectly. If i ...
2
votes
1answer
87 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
164 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
211 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
655 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
2answers
185 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
392 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
472 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
341 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
389 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
285 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
165 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
2answers
458 views

How much does FreeBSD differ from Linux?

I was trying to setup a NAS box for my ESXi server using linux, I was going to install ZFS and iSCSI and I thought everything was going to be awesome. I was wrong... ZFS on Linux is not the most ...
2
votes
1answer
250 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
185 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
199 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
880 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
275 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
824 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
157 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
784 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 ...