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

Shared object “libarchive.so.5” not found, required by “pkg”

I just updated my FreeBSD from 9.x to 10.0 (using freebsd-update) and now my pkg isn't working. # pkg Shared object "libarchive.so.5" not found, required by "pkg" # I know I can use pkg-static ...
0
votes
0answers
83 views

FreeBSD ipnat(8) rdr - not redirecting

I'm using FreeBSD-10.0-RELEASE: root@fx:~ # uname -a FreeBSD fx.alexus.org 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 ...
5
votes
0answers
245 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 ...
1
vote
3answers
97 views

freebsd 7.2 kern.threads.max_threads_per_proc doesn't change after reboot

I have some multithread apps on my server machine based on FreeBSD 7.2, so because of this I need to increase kern.threads.max_threads_per_proc to 4000 (default value is 1500). I changed it using ...
1
vote
3answers
5k views

How to discover current time-zone (FreeNAS shell)?

How can I find which time-zone is currently in effect on my system and get offset to it? I need this information in order to offset some time calculations and I cannot make it constant because of ...
0
votes
1answer
87 views

High disk overloads slows the server

My server get very slow as soon at my gstat output shows high amount of busy%. Look at the gstat results: Here is the top -m io -o total and the gstat commands running at the same time: How ...
0
votes
1answer
151 views

mongodb : Can create new thread on FreeBSD?

We experienced some strange thing in our mongodb gridfs platform. The platform actually is a bi Xeon E5 (bi quad core) with 128GB of memory, running on freebsd 9 with a zfs pool dedicated for mongodb. ...
1
vote
1answer
258 views

How to compile mysql56-client to USE_OLD_FUNCTIONS on FreeBSD 10?

EDIT: I solved my issue - I was editing the wrong include file. See the end of this post for the fix. I'm migrating some applications from an old FreeBSD 4.3 server to a new FreeBSD 10 server. ...
0
votes
1answer
49 views

Remotely automate optimization of mysql database

I am not a mysql or sql expert by any means, and not too savy on FreeBSD, either. We have a server that regularly needs one table to have data deleted < a time frame that leaves only 1 month of ...
1
vote
2answers
742 views

CARP changes in FreeBSD 10

I am having trouble configuring carp interfaces in FreeBSD 10-RELEASE. The following configuration works. #/boot/loader.conf carp_load="YES" #/etc/rc.conf ifconfig_em1="inet 192.168.1.10 netmask ...
0
votes
1answer
141 views

How to compile FreeTDS on FreeBSD10.0-64 in a right way

When i try compile freetds-stable from source (today is a 0.91 version) with: ./configure --with-iodbc=/usr/local --with-tdsver=7.2 --disable-libiconv make make install i didn't find the ...
0
votes
1answer
633 views

How to get access to Icinga on Apache 2.4?

I am trying to install Icinga on a FreeBSD 9.1 box with Apache 2.4. I use the Apache config which was provided with the Icinga port. But when i try to access the web frontend, i get the following ...
2
votes
3answers
1k views

How to set up two-factor authentication with OTP on FreeBSD?

I have a FreeBSD server that I like to be able to get to from anywhere. Normally I use SSH publickey to log in, or if I don't have my SSH private key available then I might use regular password over ...
5
votes
2answers
167 views

FreeBSD 10.0-RELEASE: No lagg0 after reboot

I have a server running Freebsd 10.0-RELEASE. I'm trying to create bridge interface with three participant interfaces, ix0, ix1 and lagg0. Lagg0 is virtual interface made from ix2 and ix3. My problem ...
0
votes
2answers
817 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. ...
2
votes
1answer
90 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 ...
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 ...
90
votes
4answers
120k views

FreeBSD performance tuning. Sysctls, loader.conf, kernel

I wanted to share knowledge of tuning FreeBSD via sysctl.conf / loader.conf / KENCONF / etc. It was initially based on Igor Sysoev's (author of nginx) presentation about FreeBSD tuning up to ...
5
votes
3answers
2k views

freebsd-update from 8.3-RELEASE to 9.0-RELEASE: How to deal with dozens of diffs?

I am upgrading a FreeBSD 8.3-RELEASE system to FreeBSD 9.0-RELEASE using freebsd-update. This is my first time performing a major version upgrade in FreeBSD. At one point in the process, ...
0
votes
0answers
99 views

frebsd-update IDS reports wrong SHA256 on every single file on my system

How come freebsd-update says following on every single file on my file system? # freebsd-update IDS > freebsd-update.IDS # tail -1 freebsd-update.IDS /var/db/mergemaster.mtree has SHA256 hash ...
3
votes
1answer
354 views

Executing a command on link state change in freebsd

In freebsd when a cable gets plugged/unplugged the following lines are written to dmesg buffer: em0: link state changed to DOWN em0: link state changed to UP I would like to run a script when either ...
-2
votes
2answers
280 views

Why does a failed ZFS disk still seem to work fine?

Two disks just failed in my zpool with read/write errors, so I took them out and inserted them in another host, created a zpool just with them, and filled the file system with dd if=/dev/zero ...
0
votes
6answers
764 views

NFS server for storing ESX images

In the interests of avoiding FCvsNFS religious wars, let me first say that I prefer NFS over a standard FC SAN, and also I don't really have the option of using using FC for this anyhow. I'm ...
0
votes
1answer
200 views

PF firewall frontend

I'm running FreeBSD 9.2 and the PF firewall. I'm looking for an easier/faster way of adding and modifying my PF rules. Preferable a simple web ui. Is there any software like this available? I've ...
-2
votes
1answer
450 views

Installing pfSense on amazon ec2 instance [closed]

I was searching for AMI's with pfsense but seems like they are all vanished somehow :S How cuold I install pfsense on a FreeBSD ec2 instance besides creating a local image -> converting into raw than ...
0
votes
0answers
106 views

Can't install p5-Digest-SHA1 on FreeBSD 8.3

I am trying to instasll rkhunter on a FreeBSD 8.3 box. However, during make install one of the dependencies failed to build: ===> Building package for p5-Digest-SHA1-2.13 Creating package ...
3
votes
4answers
415 views

Optimize Apache performance

I'm looking for ways to optimize our current web server hosted in-house. I'm trying to supply as much relevant information below. Please let me know if you would require additional information in ...
3
votes
2answers
264 views

Digitally signed FreeBSD package

In nasty world of Windows you can digitally sign installation package (exe) and during installation check if its authentic or not. Any idea how to check same under FreeBSD(preferably in conjunction ...
1
vote
0answers
44 views

How to learn max/min value of a sysctl parameter can be in FreeBSD?

I have a simple question. I want to learn max/min value of a sysctl parameter can be. Where can I find bounds of these parameters? Thanks
0
votes
0answers
202 views

Configuring an IPv6 FreeBSD router works on boot only

I am trying the following: I am having a DHCPv6 server (machine A) with a /48 subnet which will delegate /64 subnets to other routers using the prefix delegation mechanism. One of these routers is a ...
2
votes
1answer
53 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.
0
votes
1answer
156 views

FreeBSD pf Egress Filtering

I am attempting to build a simple pf.conf which includes NAT allowing traffic out of the network from all systems on a select series of ports. In my basic configuration I have an internal server that ...
4
votes
1answer
126 views

routing table vs PF precendence

I am wondering when a packet reaches an interface and I have some PF rules, which gets checked first, the routing table or the ruleset? ext_if = "em0" int_if = "em1" localnet = $int_if:network ...
0
votes
2answers
806 views

What's with these “Bad prime description in line xxx” errors?

FreeBSD box, throws that error (from sshd) on every new connection. Doesn't appear to impact the functioning of the system, but is kind of annoying. Sounds like it's unhappy about something in the ...
0
votes
1answer
218 views

IPFW Forward outgoing traffic

So i have a single BSD firewall using NATD and IPFW. This firewall has 5 static IP's assigned to it. Using NATD i can easily forward and entire external ip to an internal ip. But when the internal ...
2
votes
1answer
849 views

HP MDS 600 compatibility questions

I've bought a used HP MDS 600 to use as JBOD to a ZFS filesystem. Originally I just assumed that it was a pretty 'dumb' box and I'd be able to use a SAS card like the 16-port LSI one, and most any ...
3
votes
1answer
165 views

FreeBSD 9.2 shows SATA3 drives as SATA2

I'm running FreeBSD 9.2 on an Intel S2600GZ server board with 4 Intel SSDs. Both the server board as well as the disks are SATA3 capable. However, FreeBSD seems to think they are SATA2. Nowhere in ...
2
votes
1answer
225 views

Redirection with natd flags on FreeBSD

I am trying to setup a basic NAT server. I want all traffic coming from the outside world to the NAT server to be redirected to another machine, where I have a lipcap service running to parse this ...
1
vote
1answer
134 views

Limit ftp connections with pf firewall at FreeBSD

I want to limit simultaneous FTP connections to my FreeBSD server with the pf firewall. For example that only 10 simultaneous connection are possible to the port 20 or 21 from one source IP. I use ...
2
votes
1answer
277 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 ...
0
votes
1answer
144 views

Previously-working rsync operation failling in recent Windows 8.1 update showing “error in socket io”

I have been running rsync and rsyncd on my Windows boxes for years and only recently have I had an issue. Apparently, when my Linux and FreeBSD boxes try to sync their data with what's on the Windows ...
1
vote
1answer
527 views

Why Permission Denied with NFS after reboot?

I have Ubuntu and CentOS clients nfsv3 mounting to a FreeBSD box, which got rebooted while the nfs clients were connected. Now the clients get a permission denied when they try to access the mount ...
2
votes
2answers
170 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 ...
0
votes
1answer
2k views

How can I solve http_port 3129 intercept with squid?

My system: uname -a FreeBSD server.local.jmorenov.com.co 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 ...
0
votes
1answer
136 views

rsync freebsd client, rsync linux server

Many hours to check this script but nothing of good... I've a linux rsync server and with linux client I use: rsync --password-file=/usr/home/user/.rsync.pass --log-file=/var/log/docs.log --progress ...
5
votes
2answers
2k views

FreeBSD how to rebuild all p5-* Perl 5 ports

On a FreeBSD system, instructions say to rebuild all p5-* ports - how do I do that? A bit of background... I'm an experienced Linux person, trialling (and liking) the latest PC-BSD ...
2
votes
1answer
855 views

How often should I defrag ZFS pools?

I ZFS scrub once a month which takes ~24 hours for the 72TB. For what I can find about how often I should scrub is: very busy pools, once per week not so busy pools, once per month or run a scrub, ...
0
votes
1answer
662 views

boot from pendrive FREEBSD Mounting from cd9660 :/ dev/iso9660 error :/ dev/iso9660/FREEBSD_INSTALL failed with error 19

I am trying to install FreeBSD from a pen drive. But it returns an error on boot. cd9660 :/dev/iso9660 error :/dev/iso9660/FREEBSD_INSTALL failed with error 19 and appears mountroot> command ...
2
votes
2answers
3k views

PHP Warning: PHP Startup: apc.shm_segments setting ignored in MMAP mode

Any ideas on how i can fix this warning? Getting this while executing it from shell, on FreeBSD 8.x # /usr/local/bin/php --run 'echo "test";' PHP Warning: PHP Startup: apc.shm_segments setting ...
0
votes
0answers
251 views

ZFS destroy aborted - how to get rid of snapshot?

I've got a problem with one of my FreeNAS 8 boxes. I was deleting some snapshots with zfs destroy when unfortunatelly my PC crashed and therefore killed the SSH-connection while a snapshot destroyment ...