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

4
votes
2answers
3k views

How to log every login (SSH) on FreeBSD

I want to log every SSH login attempts, both successful and not, to my FreeBSD server to a file, and daily mail this log to root. I could accomplish something like this by parsing /var/log/auth.log, ...
4
votes
3answers
3k views

How to integrate Active Directory with FreeBSD 10.0 using security/sssd?

What are the required steps to authenticate users from an Active Directory running on Windows Server 2012 R2 in FreeBSD 10.0 using sssd with the AD backend with Kerberos TGT working?
4
votes
1answer
1k views

Newsyslog wildcards - rotate all logs in a directory

I am running FreeBSD 8.1. I am trying to make newsyslog rotate logs defined by a dynamic path: # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] ...
4
votes
3answers
247 views

What emulator should I use to run Windows as a guest OS on FreeBSD?

What's the best emulator for running windows on FreeBSD as a guest OS? Any references would be appreciated.
4
votes
4answers
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 ...
4
votes
2answers
2k views

Linux alternative for FreeBSD systat tool

I'm looking for a Linux alternative for systat tool that is avalaible only for FreeBSD. What do you recommend?
4
votes
2answers
726 views

ZFS Reporting (on FreeBSD and Linux via ZoL)

As a longtime mdadm user is was just experiencing a disk error and remembered that I configured a Auto Mail reporting for mdadm on disk errors. Therefore i just had to insert my Mail address inside ...
4
votes
2answers
106 views

executing a command again once it stops (rsync, FreeBSD)

I started doing backups via rsync to a remote server. This works all fine and good but 40 gig take their time and as I get a dynamic IP it gets interrupted every day. So every morning when I wake up I ...
4
votes
2answers
667 views

Snmpd update interface counters slowly or something like this

I update one my freebsd box to 9-stable (totally new installation) and install net-snmp for monitoring. uname -r 9.1-PRERELEASE pkg_info net-snmp-5.7.1_7 Information for net-snmp-5.7.1_7: ...
4
votes
2answers
1k views

Building one big filesystem with JBOD and ZFS

How to build a really big ZFS filesystem? The above question is vague in the 1st reading, so more precise. I know how to build big ZFS volume with one computer. e.g. get a good computer with ECC ...
4
votes
2answers
1k views

How to grant su access to wheel without asking for password on FreeBSD?

I would like to grant users of the wheel group (other sysadmins) su access without being asked for password. I know how to do it with pam in linux, but the question now is for FreeBSD. I am not ...
4
votes
1answer
136 views

How do I securly update a *BSD system?

Security is a major concern. Every major Linux distribution uses signed packages. But the FreeBSD systems in the office downloading unsigned packages/ports via FTP. Is there a solution that would ...
4
votes
2answers
6k views

Freenas — Choosing the right redundant storage regime (RAID, ZFS, Rsync?)

I've been running a freenas box for a few months as a proof of concept and all seems to be well now reliability wise. So it's time to up the storage capacity and build it into production mode. I was ...
4
votes
3answers
7k views

Failed to enable the 'dataready' Accept Filter

I'm not sure why, but I'm getting this warning when I start my apache... su-3.2# /usr/local/apache2/bin/apachectl start [Wed Sep 23 13:40:42 2009] [warn] (2)No such file or directory: Failed to ...
4
votes
3answers
4k views

Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 “server requires stronger authentication”

I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box. The command I'm using is: sudo mount -v gorkon:/dustbin /tmp/test This returns the following ...
4
votes
2answers
9k views

How do I recover from a faulted zpool where one device is OK, but was temporarily offline?

I have a zpool with 4 2TB USB disks in a raidz config: [root@chef /mnt/Chef]# zpool status farcryz1 pool: farcryz1 state: ONLINE scrub: none requested config: NAME STATE READ ...
4
votes
3answers
1k views

FreeBSD Hypervisor?

is there any possibility to have FreeBSD running virtual guests (Linux and Windows) apart from VirtualBox? Didn't find any recent information yet.
4
votes
2answers
14k views

Header set Access-Control-Allow-Origin not working with mod_rewrite + mod_jk

My first question on here on SF so please forgive me if I manage to bork the post. :) Anyways, I'm using mod_rewrite on one of my machines with a simple rule that redirects to a webapp on another ...
4
votes
5answers
6k views

/server-status shows over 240 requests like “OPTIONS * HTTP/1.0” 200 - “-” “Apache (internal dummy connection)”

Some details: Webserver: Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8e OS: FreeBSD 7.2-RELEASE This is a FreeBSD Jail. I believe I use the Apache 'prefork' MPM (I run the default for ...
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 ...
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 ...
4
votes
1answer
4k views

How to NFSv4 share a ZFS file system on FreeBSD?

Using FreeBSD 9, and created a ZFS file system like so zfs create tank/project1 zfs set sharenfs=on tank/project1 There are many howto's on setting up NFSv3 on FreeBSD on the net, but I can't find ...
4
votes
2answers
760 views

FreeBSD 32bit to 64bit migration

I need to transfer my FreeBSD 7.0 i386 server to another hosting. I would like to also upgrade to the 64bit version (to eliminate 4GB memory limit). The server has common open source software: ...
4
votes
2answers
3k views

Shellshock - “pkg upgrade bash” doesn't update bash to latest 4.3.25

I'm using FreeBSD-9.1-p5. My security run output: Checking for packages with security vulnerabilities: Database fetched: Wed Sep 24 23:01:24 EDT 2014 bash-4.3.24 pkg info bash: # pkg info bash ...
4
votes
1answer
160 views

File is different when read from NFS server

So I have a backup server we've been using for some time, it's a FreeBSD server running zfs and serving it over NFS. The export is simple: /backup/vm -maproot=root -alldirs. If relevant, that was ...
4
votes
1answer
82 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 ...
4
votes
2answers
3k views

ZFS: How can I stop a zpool replace that's currently in progress?

A few days ago, I noticed that the ZFS pool on my home server had started reslivering a disk by itself but was no longer making any progress. The disk had some SMART errors (but did not consider ...
4
votes
2answers
5k 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 ...
4
votes
1answer
398 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 ...
4
votes
1answer
190 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 ...
4
votes
3answers
185 views

Moving files off volume and then back on while preserving all attributes?

I have a situation where I'm testing a new filesystem that has an issue with some metadata. All of the files are intact, however I ultimately have to effectively move every single file off to another ...
4
votes
2answers
3k views

Multicast routing across two subnets with FreeBSD 9 (Bonjour between subnets)?

I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net). There are routes ...
4
votes
4answers
12k views

SATA Drive and RAID Controller Recommendation for FreeNAS [closed]

I'm looking to build a RAID Array for storage of media (Audio, Video), file server for both CIFS/NFS and as a repository for backups. Performance isn't a huge concern but reliability is as this is ...
4
votes
1answer
278 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 ...
4
votes
2answers
597 views

Migrate FreeBSD jail

I need to create a freebsd jail for web hosting, that will be frequently migrated between hosts. How feasible is it? Can I use domains instead of IPs? can I use wildcard IPs? I need this to ...
4
votes
1answer
989 views

Import Active Directory users into Unix/Linux/FreeBSD group

I need to have FreeBSD 8.2 RELEASE p9 (running FreeNAS) import or associate Active Directory users (or Security Group) with a Unix/FreeBSD group. This way I can use FreeBSD group(s) security on a ...
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 ...
4
votes
1answer
740 views

Building NanoBSD inside a jail

I'm trying to setup a jail to enable building a NanoBSD image. It's actually a jail on top of a NanoBSD install. The problem I have is that I'm unable to mount the md device in order to do the 'build ...
4
votes
1answer
802 views

Reducing ZFS stream size for offsite backup

NOTE: My understanding of this question has changed significantly since I first asked it (see Edit 2 below) but I've left the original version intact. We've put together an offsite backup system ...
4
votes
1answer
561 views

How to install newer port (PHP >5.1) on older release/world?

On my FreeBSD (home) server I have installed 6.2-RELEASE-p8. This "includes" PHP 5.1. I need to install PHP 5.2 now (because of a dependency, 5.3 would probably also work). Now my (newbie) question ...
4
votes
1answer
1k views

how to troubleshoot using rsyslog to output to a mysql database

Using FreeBSD 8.0 32 bit. I have installed rsyslogd 5.5.5 with ommysql. (installed ports /usr/ports/sysutils/rsyslog55 and /usr/ports/sysutils/rsyslog55-mysql) My rsyslog.conf file looks like: ...
4
votes
1answer
3k views

TCP/IP & throughput between FreeNAS (BSD) server & other LAN machines

I have got a question for someone that knows BSD a bit better than me that are in regards to my LAN setup at home/work here outside Chicago. I can't seem to fully optimize my network's (LAN) ...
4
votes
2answers
2k 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 ...
4
votes
1answer
213 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
4answers
1k views

“watching” a log on FreeBSD vs Linux

On Linux systems I can watch -n1 tail /var/log/whatever.log or watch -n1 grep somestuff /var/log/whatever.log To show updates to a log every 1 seconds. On FreeBSD however, the watch command does ...
3
votes
2answers
287 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 ...
3
votes
2answers
325 views

Is there a good guide to using “The DJB Way” with FreeBSD?

I'm rapidly becoming a FreeBSD convert (from Linux). I'm also intrigued by djb's software. Is there a good guide to replacing the standard set of FreeBSD utilities with their djb equivalent? It would ...
3
votes
4answers
206 views

Moving live files on a unix like system

On a recent job posting for a general Unix admin at a datacenter, a listed requirement was to move live files in a data center setting. What does this mean and how can one move live files?
3
votes
2answers
4k views

ZFS over iSCSI high-availability solution

I am considering a ZFS/iSCSI based architecture for a HA/scale-out/shared-nothing database platform running on wimpy nodes of plain PC hardware and running FreeBSD 9. Will it work? What are possible ...
3
votes
2answers
434 views

Installing FreeBSD remotely using Ubuntu LiveCD

I realised this is a very specific question, but I am wondering if there is a way to install FreeBSD on a machine using only SSH access to a Ubuntu LiveCD on the server?