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

1
vote
1answer
531 views

How to change rc.d startup order in FreeBSD?

My question exactly same as this question except I want to change services in FreeBSD. I made some research and I found rcorder command which gives full order of services with below paramaters. ...
2
votes
2answers
153 views

How can I get an integer output on BSD ping?

I am trying to perform a simple check on an integer value output from ping. In Linux this was working quite nicely, but the FreeBSD ping outputs a float value with percentage sign suffixed. ...
1
vote
1answer
133 views

FreeBSD Disable Serial Console from Bootloader?

I have a FreeBSD appliance (meaning I can't open the case or I will void the warranty) that was working well until I accidentally clicked 'Enable Serial Console' and rebooted... I went to plug in my ...
0
votes
1answer
335 views

how to mount extra disk in freebsd

I am trying to mount extra storage on my pfsense installation running in virtualbox. I have added an extra virtual drive and can see it attached when running fdisk /dev/da1. I want to mount it in ...
2
votes
2answers
1k views

FreeBSD - unexpected soft update inconsistency

I came into work this morning and one of my BSD servers is unable to boot properly. I can get into single user mode but when running fsck I get the error "unexpected soft update inconsistency" Does ...
0
votes
1answer
451 views

Configuring Proftpd users without system users

I'm running a web server with proftpd on FreeBSD 9. I want to add few ftp users to the server so they will have the option to upload files to their own sites. When trying to do it with proftpd i ...
5
votes
0answers
271 views

Freebsd change default Internet channel route

I have two Internet channel and Gateway on freebsd. When I switch channel with the command route change default chan2, the command netstat -nr shows changed default route. But traceroute shows that ...
0
votes
1answer
769 views

Mysql is not running

In my opinion this happens only because of rackspace build (Freebsd 9.1) root@office:/root # uname -a FreeBSD office 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #1: Fri Jun 21 04:11:23 UTC 2013 ...
0
votes
0answers
162 views

FreeBSD 7 syslog messages: “kernel: 15.xxxxxxxxxxxxxxx too long” (or “too short”)?

I'm experiencing poor performance on an old FreeBSD system and the only anomaly I see so far are syslog messages of the form: Jul 1 12:10:50 myserverXXX kernel: 16.0ccdd219377c0d80 too long Jul 1 ...
0
votes
1answer
483 views

“GEOM_MIRROR: cancelling unmapped because of ada0”

Recently upgraded my FreeBSD install to FreeBSD 9.1-stable from the 9-stable branch. I have two SATA hard drives (/dev/ada0, /dev/ada1) in a geom mirror, with nothing between : [/dev/ada0, /dev/ada1] ...
1
vote
2answers
343 views

Cannot create zpool, how to get rid of intel raid volume?

This is a FreeBSD 9.1 amd64 computer. It has 5 disks installed. The ada0 and ada1 disks are used with a hw raid to provide the root filesystem: root@gw:/home/gandalf # ls /dev | grep ada ada0 ada1 ...
0
votes
0answers
113 views

Freebsd routing doesn't work

My FreeBSD 9.1 has 3 interfaces: de0 - Internet 1.1.1.45 de1 - LAN 192.168.1.1 de2 - DMZ which I have just added 1.1.1.43 default gateway 1.1.1.33 I have one host on DMZ 1.1.1.42 i have ...
0
votes
1answer
326 views

Freebsd 8.1 Samba4 smbclient returns NT_STATUS_INVALID_PARAMETER

I'd like to setting up a NAS server and run Samba4 on it. When I'm runing this command: # smbclient -I 192.168.48.128 -L NAS_GROUP Enter root's password: Connection to 192.168.48.128 failed (Error ...
1
vote
2answers
170 views

Advice for inserting additional disks to a ZFS mirrored pool?

I am running FreeBSD 9.1 with root on a ZFS mirrored pool. At first the pool (labelled zroot) has a total of 1TB spanning two 1TB drives. Recently we have run into disk space issues in which the ...
4
votes
1answer
348 views

pf slows traffic extremely down

I am running a web and mail server on FreeBSD 9.1. The system is installed on a KVM vServer. Everything works fine - until I enable pf(4). My weblog becomes unconscionably slow. So does all the other ...
-2
votes
2answers
1k views

Show mac-address table on custom interface in FreeBSD and Linux [closed]

On switches I can show mac addresses on any port by "show mac-address-table port X" Is there any way to do this on FreeBSD and Linux systems?
2
votes
1answer
205 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) ...
1
vote
3answers
4k views

nslookup fails but ping succeeds for nonexistent domains

I have two different FreeBSD servers (different hosting companies), both exhibit this same behavior: They pick a specific IP address (216.239.120.238) for every domain that does NOT exist. nslookup ...
0
votes
2answers
602 views

Problems migrating ZFS pool from Openindiana build 151a7 to FreeBSD 9.1

I'm currently running Openindiana on ESXi with RDM access to the 2 disks in my ZFS pool. I used to run Ubuntu with ZFS on Linux but since ESXi 5.1 supports my hardware I wanted to move away from that ...
6
votes
3answers
2k views

Possible to disable “You have new mail in /var/mail/root”?

I would like to disable the mailcheck in FreeBSD 9.1. My login shell is BASH, so I have tried to add unset MAILCHECK in /root/.bashrc and /root/.profile, but I still get those messages. Question ...
1
vote
3answers
452 views

Upgrading server motherboard while maintaining 12 SATA ports

My office has been using a FreeNAS server that was built with desktop hardware. We use it for storing RAW photos (~50mb each). We have 3 workstations that access (browse, retouch, save) the files ...
4
votes
2answers
1k views

strange ZFS disk space usage report for a ZVOL

We have a 100G ZVOL on a FreeBSD 10.0-CURRENT host which claims to use 176G of disk space: root@storage01:~ # zfs get all zroot/DATA/vtest NAME PROPERTY VALUE ...
7
votes
2answers
551 views

Does speed of ZFS snapshot rollback depend on number of files?

I have tested a 10Gbit connection between two hosts to be able to read a 10GB file from host1 and write it to host2 using netcat, where the speed was 410MB/s. When I ZFS send/receive again with ...
6
votes
2answers
617 views

What does zfs receive -F do?

When I read man zfs for zfs receive I see -F Force a rollback of the file system to the most recent snap- shot before performing the receive operation. If receiving an ...
4
votes
1answer
80 views

pfctl in OpenBSD and FreeBSD

I've noticed that both FreeBSD and NetBSD have extra pfctl options: pfctl [-AdeghmNnOPqRrvz] But OpenBSD doesn't, it's missing around five of the extra options: pfctl [-deghnPqrvz] I would have ...
2
votes
0answers
46 views

calcru: runtime went backwards (FreeBSD) [duplicate]

I have installed a fresh FreeBSD 9.1 machine running in a virtual KVM environment. After some days of uptime I always see the following messages for various PIDs in the system console: calcru: ...
0
votes
1answer
193 views

How to redirect a packet to localhost in pf?

I am trying to redirect packets that are going to internal network to localhost of firewall. I wrote this rule but it doesn't work. int_net = "{10.0.0.0/24}" ext_if = "{igb0}" int_if = "{igb1}" rdr ...
2
votes
1answer
526 views

SVN via SSH not working on Windows with Tortoise SVN

I have SSH access to a FreeBSD machine which has svnadmin (and the rest of the necessary utilities) installed. svn is version 1.7.9 (r1462340). I am on Windows 7 x64, using Tortoise SVN 1.7.7. I have ...
2
votes
2answers
808 views

How do I non-interactively update FreeBSD system (and ports)?

Essentially, I am looking for a fully silent, non-interactive version of freebsd-update fetch freebsd-update install and portsnap fetch update
0
votes
1answer
326 views

How to install Apache and PHP by using only packages on FreeBSD?

Is there a way to install without compiling them through the ports? I installed Apache from packages and it works, but pkg_add -r php53 doesn't install mod_php5.so/libphp5.so. I experiment on FreeBSD ...
0
votes
0answers
76 views

FreeBSD drops connection on file upload

Very strange error, first I thought it related to PHP settings or nginx (both have all proper settings up to 1G limits and all timeouts are properly set), but then I checked with Ruby (Sinatra), and ...
0
votes
3answers
1k views

Apache recompile does not find new OpenSSL

I'm trying to upgrade both Apache and OpenSSL at the same time. I've gotten Apache compiled with all the modules I need, and it pops up and runs, but still shows an old version of OpenSSL. Here is ...
7
votes
2answers
222 views

FreeBSD's ng_nat stopping pass the packets periodically

I have FreeBSD router: #uname 9.1-STABLE FreeBSD 9.1-STABLE #0: Fri Jan 18 16:20:47 YEKT 2013 It's a powerful computer with a lot of memory #top -S last pid: 45076; load averages: 1.54, 1.46, ...
1
vote
1answer
114 views

Puppet agent on FreeBSD skipping runs

I am experimenting with puppet and we are using FreeBSD on some servers. I noticed that the agent on the FreeBSD is for some reason skipping runs, i.e.: May 6 09:19:15 eagle puppet-agent[66970]: ...
0
votes
1answer
388 views

Netstat doesn't work on FreeBSD by php function exec()

In my php-app I need the list of all IP's connected on port 80. I've chosen to do it this way: <?php $ips = exec("netstat -an |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq ...
1
vote
1answer
302 views

ZFS configuration opinions [closed]

Currently, I'm tasked with progressively building a ZFS store. IOPS are not the priority, data security and capacity are. In essence what we have is one brute of a machine, that contains an OS ...
1
vote
1answer
338 views

Safely migrate from 3ware 9650SE-8LPML to a 3ware SAS 9750-8i?

I have a server with a potenially faulty 3ware 9650SE-8LPML. I can log in to the server but the interface keeps reseting causing the whole system to lock down for minutes. My host suspects its the ...
1
vote
1answer
412 views

exim virtual domains vs main domain - rewriting rules

I currently have two servers first.mydomain.com (ip:A.B.C.28) and second.mydomain.com (ip:A.B.C.30) Both servers have DNS and reverse dns entries, e.g. A.B.C.30 -> second.mydomain.com The ...
0
votes
1answer
94 views

obtain the MAC Address/interface name from GUI on FreeBSD?

Is there any way I can obtain the MAC Address/interface name from GUI on FreeBSD? Are there any system calls to do that? I was searching everywhere but couldn't find any information. Can you please ...
0
votes
1answer
774 views

ICMP time exceeded in-transit

In the last few days my server suffers an attack of this kind: (bandwith > 60MBit/s, XXX.XXX.XXX.XXX are multiple IPs) tcpdump -n proto ICMP 17:15:19.267464 IP XXX.XXX.XXX.XXX > my_ip: ...
1
vote
1answer
100 views

ProFTPD permissions in FreeBSD 9

I'm currently administrating a FreeBSD 9 server with multiple sites hosted. For example: example1.com example2.com example3.com I need to grant read/write permissions to developers so they will be ...
4
votes
1answer
264 views

How does broadcasting work on a server with multiple IPs?

Say you have two dhcp servers, A and B. Server A has two IP addresses, 10.0.0.1 and 10.0.0.2. Server B has one IP address, 10.0.0.3. Server A has two instances of isc-dhcp running, one specifying a ...
0
votes
2answers
961 views

FreeBSD static routing set gateway to link

I am running FreeBSD 8.1 and configuring static routes. What is the route command to set the gateway to link#1 and not an IP address? I tried route add default link#1 but FreeBSD doesn't take it. ...
0
votes
1answer
249 views

Increase size of multiple FreeBSD slices

I have a KVM virual machine running FreeBSD 9.1, with a typical one-partition layout with slices for swap, /, /tmp, /var, /usr. Now I need to upgrade that virtual server, beside others to a larger ...
2
votes
1answer
483 views

FreeBSD Nic Setup - Dual NICs with lagg

I have a server running FreeBSD 9.0. It has two NICs using the igb network drivers. I was given a range of IPs, for example's sake I'm just going to make up some IP addresses, so let's say ...
0
votes
1answer
2k views

Pfsense 2.02 ipsec vpn tunnel goes down randomly

Ipsec vpn tunnels got disconnected randomly but when we restart raccon all tunnel will come up again with out any issue.I would like to know a permanent fix for this. These are the logs: racoon: ...
4
votes
1answer
176 views

Supress FreeBSD “link down: cable prοblem?” messages

I have a FreeBSD lab machine that is regularly connected and disconnected from the network, sometimes to borrow the port temporarily for another machine and other times to test the ability of certain ...
10
votes
1answer
3k views

How can I get FreeNAS and pfSense to report more using SNMP?

I have two servers which run variants of FreeBSD: One is a pfSense router and one is a FreeNAS 8 server. Both these servers run SNMP, and I am collecting and graphing their information using a third ...
1
vote
1answer
133 views

ezjail-admin update -i can't create tank/ezjail/basejail

I updated the server FreeBSD 8.2-p10 amd64 to 9.1-p1 amd64, and I want to update jails started ezjail. I downloaded the source, built the world and run the command: ezjail-admin update -i but got ...
0
votes
1answer
94 views

Changing WebServer to use BSD Jails

I'm thinking of changing my web server so that Apache (and all of django web apps) run inside of a jail rather then on my host machine. I want to make this change for two reasons, the first and ...