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

0
votes
1answer
758 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
238 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
1k 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
93 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 ...
92
votes
4answers
125k 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 ...
0
votes
0answers
129 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
487 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
368 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
771 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
248 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
645 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
129 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
436 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
278 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
50 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
252 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
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.
0
votes
1answer
218 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
155 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
924 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
259 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
934 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
204 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
255 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
161 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
377 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
168 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
760 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
208 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 ...
1
vote
1answer
177 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
1k 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
897 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 ...
2
votes
1answer
141 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
643 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 ...
1
vote
2answers
2k views

Dropping Cached Memory on FreeBSD

i use FreeNAS server which is built on OS version FreeBSD 8.2-RELEASE-p6. I use ZFS file system with 13TB HDD on my 8GB physical ram installed box. It almost uses all of RAM installed while ...
0
votes
1answer
265 views

pf not execute udp port specific block rule

The traffic I want to block can be sniffed as below with tcpdump: 19:16:22.391164 IP 95.95.95.95.2036 > 10.10.10.10.443: UDP, length 8192 So I wanted to write a rule block any udp destination ...
1
vote
1answer
123 views

FreeBSD Ngnix installation error

I have a VPS which has Apache webserver installed. I'm trying to install Ngnix on it since my new server will be needing to handle large amount of connection simultaneously. I used this install guide ...
0
votes
1answer
65 views

Looking for VCS wrapper that tracks system files changing across the whole *nix OS and sends diffs through email

I need some software that looks after custom directories across the whole OS (i.e. /etc) and alerting me if someone edit something file inside. Additionally, this tool must automatically commit and ...
2
votes
1answer
717 views

What are main differences between Linux and FreeBSD system from sysadmin point of view? [closed]

What are main differences between Linux and FreeBSD system from sysadmin point of view ? What specifically and significantly differs Linux from BSD (memory/resources/users management, other ...
1
vote
2answers
414 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
1answer
481 views

Netatalk 3.0.1 disconnects with Bad file descriptor on FreeBSD

I am having trouble with my netatalk server 3.0.1 on FreeBSD-9.1 RELEASE. Netatalk was installed from the ports collection and is sharing some directories over the network. Update also netatalk ...
0
votes
1answer
421 views

Undefined symbol “php_libxml_disable_entity_loader”

I have php5.4 installed.It runs on freebsd server I also use soap.so extension. But when I start php script (new SoapClient) it stopped. Apache logs: tail -f /var/log/httpd-errors.log : ...
3
votes
2answers
1k views

Creating you own FreeBSD ami in EC2

I'm running XVM on my laptop. XVM has got FreeBSD installed with all the required ports to run APACHE/PHP. I want this .vdi file to be imported into an EC2 instance. Is it possible to import a ...
2
votes
2answers
569 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
2answers
183 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 ...