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

Missing perl modules error for properly installed perl modules on FreeBSD 8.3, perl 5.16

Trying to run a Nagios plugin on 8.3-RELEASE-p3, I get the error: Missing perl modules: Net::SMTP::SSL I have rebuilt the ports for both p5-Net-SMTP-SSL and perl5.16. cpan -i Net::SMTP::SSL reports ...
1
vote
1answer
220 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. ...
3
votes
2answers
266 views

Join multiple filesystems (on multiple computers) into one big volume

Scenario: Have 10 computers, each have 12x2TB HDDs (currently) in raidZ2 (10+2) configuration, so, in the each computer i have one approx. 20TB volume. Now, need those 10 separate computers ...
2
votes
2answers
92 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
92 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 ...
4
votes
3answers
5k views

How to install Java JRE on FreeBSD with as few dependencies as possible

I've been trying to get Java working on my FreeBSD 7.1 server. I just want the runtime, since the JDK drags all kinds of unnecessary dependencies with it, and I just need it to run a jar file ...
0
votes
1answer
164 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
539 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 ...
4
votes
2answers
4k views

How can I adjust subversion repository file permissions automatically for use w. Apache/DAV?

I've set-up a subversion server accessible with Apache/DAV and after screwing up the repositories file permissions a couple of days ago I started wondering if there's a better way to do this than the ...
9
votes
1answer
2k 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 ...
0
votes
1answer
349 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
133 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
327 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] ...
0
votes
0answers
78 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
321 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: ...
0
votes
1answer
218 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 ...
0
votes
2answers
438 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 ...
3
votes
2answers
186 views

HighPoint RocketRAID 2680SGL and FreeBSD

I'm trying to get my RAID controller working with FreeBSD. But it seems it's not being recognized by FreeBSD: module_register_init: MOD_LOAD (pci/rr2680, 0xc0a45b90, 0xc61f0430) error 22 ...
2
votes
2answers
3k views

What is the easiest way to upgrade my existing Perl 5.14 to Perl 5.16 on FreeBSD 9 using the ports system?

I use the ports system on FreeBSD. What is the easiest way to upgrade Perl using ports? I currently uninstall all of perl and it's dependencies. I'd think there would be a cool way to upgrade Perl and ...
0
votes
3answers
2k 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 ...
2
votes
1answer
86 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
2answers
130 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 ...
7
votes
2answers
455 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 ...
1
vote
2answers
674 views

How do I enable aio on nginx on FreeBSD?

I want to use asynchronous IO on nginx on FreeBSD. I see lots of documentation on how to configure it or how to compile nginx with it. However, I already have nginx installed so I need to re-compile ...
4
votes
1answer
137 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
456 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
310 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 ...
3
votes
3answers
3k views

PXE boot FreeBSD iso from pxelinux server

I'm using FOG as a TFTP / PXE server and would like to be able to boot a FreeBSD LiveCD (specifically pfSense, but it could be any LiveCD, really); I've found HOWTOs for booting a "netboot" BSD but ...
6
votes
3answers
893 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
294 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 ...
5
votes
3answers
3k views

PAM: Execute a command before pam_mkhomedir?

When a user logs into a system and there is no home directory, we would like to to create the user's home directory using pam_mkhomedir. This is a common practice. Here's a quick description of ...
6
votes
2answers
430 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 ...
0
votes
0answers
38 views

PTP Version 2 setup master and slave independently

I need to set PTP across 2 nodes.I want to start these daemons when node comes up. Ideally both should come up as master , and depending on BMC algorithm , one of them would become slave ...
4
votes
1answer
68 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 ...
0
votes
2answers
430 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 ...
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
115 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 ...
4
votes
1answer
153 views

Multi homed firewall with ipnat

i am trying (without success) to configure a ipnat/ipf box under FreeBSD 8.2, here is the scenario: outside inside +----+ ADSL ...
3
votes
1answer
402 views

Should pam_mkhomedir go in /etc/pam.d/login , sshd or system-auth?

I want to enable pam_mkhomedir.so for users who authenticate to our system. I want a user's home directory to be created when they SSH into the box. One common convention seems to be to put ...
1
vote
2answers
457 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
230 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 ...
0
votes
0answers
62 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 ...
3
votes
3answers
1k views

Command to output panic/reboot history in FreeBSD

Many years ago while dealing with a FreeBSD (5.3?) box that randomly panic'ed and reboot (bad memory as it turned out), I came across a command in some forum post that when used would output ...
1
vote
1answer
76 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
278 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
167 views

blocking packets for a non established connection on freebsd pf

For a freebsd pf firewall; I want it to block packets for non established connections. For example , the attacker should not send Reset packets for an unknown not-yet-established connection. In Linux ...
0
votes
0answers
128 views

quagga 0.9.22 does not throw the routes to OS routing table on FreeBSD 9.0 RELEASE

I have FreeBSD 9.0-RELEASE-p6 amd64 on board with quagga 0.9.22 (previously it was 0.9.21). I have 2 peers as my ISP. One provides the traffic to country-based endpoints, the other - to the rest of ...
3
votes
1answer
360 views

100% kernel load on FreeBSD 9

I'm having problems with a FreeBSD 9 server. One of the 8 cores (4 w/ HT) is constantly at 100% kernel load. top gives me: CPU: 0.0% user, 0.0% nice, 12.5% system, 0.0% interrupt, 87.5% idle ...
5
votes
1answer
551 views

FreeBSD IP aliases in different subnets and default outgoing IP address

I have a FreeBSD VPS that until recently had assigned 3 public ip addresses in a /29 subnet. When making outgoing connections, the IP address used was always the non aliased one ".20", however now I ...
1
vote
1answer
251 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 ...