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
1answer
1k views

ZFS shows pool state FAULTED, but all devices are ONLINE; how can I recover my data?

Our 100TB NAS based on FreeNAS 8 was unexpectedly powered off due to power failure. After turning it on back, 100TB zpool "projects" was unmounted with state "FAULTED". I've tried zpool import -fFX, ...
2
votes
1answer
2k views

FreeBSD pkg upgrade not working for jails with -j parameter

On an FreeBSD 8.4 system I have jais running with EZjail, and PKGNG (pkg) to maintain my ports. pkg works fine on the host but refuses to update software in jails. pkg -j 5 version -v gives the ...
0
votes
1answer
69 views

Issue with Bash Script On FreeBSD

I have the below bash script set to run every hour via cron as the root user. The purpose of this script is to email us when files have been uploaded to our sftp server and send us the logins. Here is ...
0
votes
0answers
146 views

rndc fails to add zone, bind99 freebsd

I solved all rndc key errors and appear to perform most functions but when testing the addzone feature I am getting this error while trying to use rndc to add a fresh new zone -> rndc addzone ...
5
votes
2answers
517 views

(Why) does FreeBSD 'net.inet.tcp.always_keepalive' violate RFC1122?

While working on a server application that runs on FreeBSD and uses TCP, I noticed that TCP keepalive probes get sent even though my application explicitly disables SO_KEEPALIVE on TCP sockets. ...
-1
votes
2answers
168 views

Migrating IMAP emails from a FreeBSD server to a CentOS server both running Dovecot

What would be the best way to do this migration considering that I do not have the passwords for the IMAP accounts on the source server running FreeBSD and Dovecot. I do have SSH access to both ...
1
vote
2answers
632 views

Convert raidz1 to raidz2 via a temporary drive

I set up a new NAS server a few months ago and set it as RaidZ. I'm re-thinking that decision and would like to grab an extra drive and move to RaidZ2. Before everyone replies that this isn't possible ...
8
votes
1answer
7k views

NOQUEUE: reject: RCPT from on freebsd and postfix

I am building a server using this config -> http://www.purplehat.org/?page_id=4 and when trying to test basic email capabilities I get -> NOQUEUE: reject: RCPT from when try to send a test email. ...
0
votes
1answer
548 views

GPT partition errors on boot - ZFS FreeBSD

My system appears to be running fine and I'm just trying to clean up errors. That said... On boot, I get the following errors for all drives in a 24 disk storage enclosure: GEOM: ...
1
vote
1answer
104 views

Building custom bootable image from installed and customized FreeBSD 10.1

I am using FreeBSD 10.1 amd64. I customized it and now i want to make a bootable image so that I can install it on any machine with usb stick. How can I make the Bootable image from the Pre- installed ...
0
votes
1answer
148 views

forward a single message from queue with sendmail

I have a message in the mail queue which has been deferred because the recipient box is full. The message isn't in my mailbox, just the queue. Is it possible to forward that message to a different ...
3
votes
1answer
853 views

FreeBSD 10.1 how to autoreboot on kernel panic

Recently I installed FreeBSD 10.1 on machine that for years was working fine with FreeBSD 6.2. Since machine is located in datacenter I configured remote access via serial console. After installation ...
1
vote
0answers
334 views

How Do I get unbound to only use DNSSEC?

I have a pfsense box, that I am in the process of configuring for the first time I would like to use DNSSEC. I used this site to check my DNSSEC status. When I go to this site I am told that my ...
3
votes
5answers
596 views

Router limits network performance but its CPU load isn't 100%

I'm using a PC Engines APU device running FreeBSD as a NAT router. The setup is very usual: one WAN connection and one LAN connection. Theoretically, WAN connection is 800/40 Mbit/s and the LAN one ...
2
votes
1answer
541 views

FreeBSD 10.1 routing issues

I have FreeBSD based router in my campus. Trivial configuration for these types of routers: two interfaces, one of them looking to the outer internet, second - to the local net. In my local net ...
1
vote
1answer
282 views

FreeBSD: netatalk3 daemon keeps restarting

I set up a netatalk3 / afpd daemon on my FreeBSD server about half a year ago and used it as networked TimeMachine for my MacBook Pro. Pretty much fire and forget. Then, beginning of this month, I ...
2
votes
1answer
2k views

freenas disc problems - smart error - how to repair zfs raid?

I have troubles with my freenas 9.2.1. It crashed today. Its running a fileserver on zfs jbod raid 2. I'm not sure what exactly causes the problems. The system is booting however reacting pretty slow. ...
0
votes
3answers
209 views

My terminal returns ;5A;5D;5B;5C whenever I use CTRL+arrow

I'm using CentOS Linux release 7.0.1406 (Core) and I ssh into following system: $ uname -a FreeBSD X 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014 ...
0
votes
1answer
177 views

nginx php-fpm not fully working

I'm using nginx-1.6.2_1,2 with php5-5.4.36 on: # uname -a FreeBSD X.X.X 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014 root@X.X.X:/usr/obj/usr/src/sys/R610 amd64 ...
4
votes
1answer
244 views

How to install CMake on FreeBSD without Sphinx

CMake recently (September 2014 I guess) started to depend on py27-Sphinx port for its documentation. I actually don't use python on my server, but CMake builds and installs it and its 9 other ...
0
votes
1answer
417 views

File name too long mount_nfs

I have a FreeBSD Vagrant box that looks like this: # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = ...
0
votes
2answers
279 views

SW ZFS vs. HW RAID controller

I run a FreeBSD 10.1-RELEASE webserver, and I have 2 sata HDD on a HW RAID1 controller, but when I installed the OS, it won't do it on a ZFS filesystem (for mirroring as I intended to) but I was ...
0
votes
2answers
353 views

Disabling timer in ACPI on FreeBSD 10

My server is failing to boot because of what I suspect is an error with the timeclock in ACPI, so I'd like to try to disable it in the course of troubleshooting it. Per the handbook: ...
-1
votes
1answer
210 views

LSI MegaRAID 9240-4i & RAID1 (mirroring) on ZFS filesystem

Exist any incompatibility between an existing virtual drive created on LSI MegaRAID 9240-4i SAS/SATA Controller with RAID1 and the ZFS filesystem? I tried to make mirror(2xSATA HDD 300Gb) on freebsd ...
0
votes
0answers
296 views

Ipfw forward from table to IP

I try to forward on FreeBSD all requests on port 80,443 from clients in some table to one IP. ipfw add 80 fwd ip from "table(10)" dst-port 80,443 to x.x.x.x:80 So, not working... What i did wrong?
0
votes
1answer
58 views

Resilvering for data transfer?

I currently have a production server with four drives in raidz2 and a backup server that is identical in configuration and hardware. I'm currently doing a transfer of data using rsync between the ...
1
vote
1answer
50 views

FreeBSD pre-mount script for gnop device?

How do I run a script in FreeBSD before filesystems are mounted? I want to install a gnop device and mount it (no, not for ZFS). Is there any canonical place where I can put a gnop create ...?
3
votes
2answers
232 views

Understanding zpool status output

I'm having difficult understanding the output after running the zpool status command: NAME STATE READ WRITE CKSUM tank ONLINE 6 0 0 raidz2-0 ONLINE ...
0
votes
1answer
224 views

IMAP proxy setup to allow use of IMAP IDLE?

First-time poster, long-time lurker/reader. Sorry for the obscenely-verbose question...I intended to keep it more concise. Also, sorry about the links not being "actual" links -- I don't have the ...
2
votes
1answer
118 views

PF redirect rule: how to limit the rule to specific user

I was trying to setup a PF redirect rule to force all web traffic from a specific user account to go through a web filter on a shared computer. With iptables, I can use --uid-owner option to limit ...
2
votes
5answers
717 views

ZFS backup advice with another server

I currently have two servers both have the exact same hardware, disks, etc. One server (server1) is going to be the "main" server. It's basically a server with raidz2 that has SMB shares on it that ...
1
vote
0answers
437 views

FreeBSD L2TP/IPsec not routing traffic to vpn server

I have configured a VPN server on my FreeBSD server, it all seems to be running, but the VPN traffic is not routing through to the local VPN server and I cannot figure out as to why. So my question ...
2
votes
1answer
925 views

Dummynet Filtering not working on FreeBSD 10

I am trying to do network emulation using dummynet in FreeBSD 10. I have this working in 9.3 however things must have changed and I cant determine exactly what but my setup no longer works. I have ...
0
votes
1answer
245 views

UFS wedge : “Out of journal space!” - how to tune? (FreeBSD)

I'm running FreeBSD 9.2p13 with UFS and journaled softupdates. Does anybody know how to tune softupdates journal on UFS? There are no suitable information in handbook, man pages or sysctl ...
1
vote
1answer
533 views

FreeBSD/FreeNAS: How to change group for multiple users?

I need to change group membership for a bunch of users. How do I list all users? change multiple users to nogroup primary group? add secondary/auxiliary groups to multiple users? Basically I need ...
0
votes
1answer
192 views

gstat output on FreeBSD: does it show an average over time?

When you run the gstat command on FreeBSD to get information about i/o performance, you can pass the -I (interval) option to change the default interval from 1 sec to some other time frame. My ...
-1
votes
1answer
82 views

Why does nvi think I have files being editing?

I've got a couple of FreeBSD servers that throw several copies of the following error on reboot: On Wed Oct 10 15:13:16 2012, the user root was editing a file named /tmp/crontab.s00huOAZD2 on the ...
1
vote
2answers
2k views

Apache 24 not serving PHP on FreeBSD 10

I've been at this for a few hours now. I cannot figure out WHAT is wrong with my configuration. When I navigate to any php file (wordpress installation is the intent), it opens the file for download ...
2
votes
2answers
661 views

Graphite: How to make historic whisper data available through web app

I've recently reconfigured my graphite setup from a single carbon-cache instance to several carbon-cache instances. As I needed to cook this up on a new host without bringing down the old graphite ...
0
votes
1answer
194 views

Nginx virtual host servername, root

I installed nginx-1.6.2,2 on FreeBSD-9.2-RELEASE-p5 and here is my configuration: # tail -2 nginx.conf include _includes/*.conf; } # cat _includes/XXX.conf server { server_name XXX; root ...
1
vote
5answers
1k views

FreeBSD determine if reboot was due to power loss

We are running FreeNAS (which is built on FreeBSD) to run our data storage systems. It is running on an APC Smart-UPS 750VA X. On a couple of occasions, I have been alerted to the fact that the ...
0
votes
0answers
170 views

zfs raidz can not read from disk

my freebsd 10 server running on zfs raidz. I have a problem with reading files, test dd of=/dev/null if=/tmp/test/1000mb.bin bs=1024k count=1000 953+1 records in 953+1 records out 1000000000 bytes ...
1
vote
1answer
640 views

best way to create perfect mirror of zfs based backup server

The existing system: I have a FreeBSD based backup/archive server, which pulls the backups from the live servers via rsync every night and does a zfs snapshot to archive the backup contents for a ...
0
votes
1answer
482 views

ports in freebsd jail fetching but not updating

I've created a jail to host my webserver/blog, but when attempting to build any port, I consistently get the message "portsnap: Directory is not writable: /usr/ports". Attached is a screen capture ...
2
votes
3answers
27k views

How to flush DNS resolver cache on Linux (and FreeBSD)

I am admin for several Linux and FreeBSD servers and here is a problem I have: The servers run a tool that does a lot of DNS queries every minute for the entire network. When it does a query, the ...
0
votes
0answers
482 views

MySQL exits without any output

Having a strange issue. Some time ago MySQL exited suddenly when I was creating a table (I think), and I shelved the issue until now. It seems to start, but nothing happens and it exits: 141031 ...
-1
votes
1answer
155 views

FreeBSD and tunefs(8): minfree option

The minimum free space threshold in FreeBSD is 8% which I think is too high. In a 1 TB Hard Drive, 80 GB of space is unusable. I need some more space in my hard drive. I want to reduce this ...
0
votes
1answer
345 views

FreeBSD: mariadb55 conflicts mysql55

I'm trying to install percona-toolkit as package/port on my system: [root@alexus ~]# uname -a FreeBSD alexus.org 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014 ...
0
votes
2answers
334 views

How can I check the partition name in FreeBSD?

I am currently running my server in the rescue mode, due to the firewall issues. In order to disable the firewall thing I would have to mount the / partition. My problem is that I dont know/remember ...
2
votes
1answer
6k views

SSLProtocol: Illegal protocol 'TLSv1.2'

I'm using FreeBSD 9.2-RELEASE with apache24-2.4.10_2 package. [root@alexus ~]# uname -a FreeBSD alexus.org 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014 ...