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
2k 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 ...
2
votes
3answers
26k 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 ...
1
vote
2answers
821 views

ZFS on enterprise RAID pass-through, and ZFS on FreeBSD root

We've been running ZFS on top of a single hardware RAID on dell poweredge for years. I know most people are against this, but the snapshot/clone, compression and flexible partition of ZFS served us ...
1
vote
1answer
111 views

Permissions issue: why is user nobody needed in my second php-fpm pool?

I am running FreeBSD 10.2 with a custom-compiled Apache 2.4.17 with php-fpm. The default pool ([www], almost a stock php-fpm setup) ran on user/group nobody/nobody. Apache runs on user/group ...
3
votes
0answers
174 views

pfSense Internal Traffic Policy Based Routing

What is the current and correct way to apply policy based routing to pfSense internal traffic (originating from the firewall itself)? Creating a floating rule with the WAN interfaces selected, ...
0
votes
0answers
82 views

My server doesn't respond to ping6

I'm trying to enable ipv6 on my webserver. The server runs FreeBSD 10 and I'd like to enable ipv6 access to my websites. That's the long term goal. The goal here would be at least to have a server ...
2
votes
3answers
5k views

choose the outgoing interface for a default route

I have a FreeBSD 8.0 virtual box with two ethernet interfaces, em0 and em1. em0 is 192.168.1.99 and em1 is 192.168.1.100. Both are "Attached to: Bridged Adapter". When both are up, if I say # route ...
0
votes
2answers
322 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
158 views

Nginx: Tags in Syslog output on wrong position

I'm trying to output the logs of several Nginx servers in FreeBSD jails to the jails' host. I'm using FreeBSD 10 syslog and Nginx 1.7.10. In Nginx (in this case the hostname is web) I have set: ...
0
votes
1answer
48 views

Changes does not take effect without reboot

I am using Pfsense : 2.2.4-RELEASE (i386) I moved the pfsense configuration from one machine to another by full backup export-import afterwards. And the last move was on a fresh pfsense ...
-2
votes
1answer
51 views

How to list all mounted disks and their mount path location on FreeBSD?

On FreeBSD I wish to see all mounted disks and all of their mount locations. For example this shows my disks. [root@freenas] ~# sysctl kern.disks kern.disks: xbd2 xbd1 ada0 [root@freenas] ~# Now I ...
1
vote
0answers
28 views

Simple anti DDoS protection in FreeBSD [duplicate]

I have a lot of request from data centers to my web server on FreeBSD and sometimes it've have a lot of performance problem with my web projects. Adding to IPFW list all IP's data centers is ...
0
votes
1answer
22 views

Unknown why my FreeBSD NAS is synchronizing with another FreeBSD NAS?

I have two FreeBSD (rel 9.3) NAS, I recently took on this new position and found out that these two NAS are synchronizing data (specifically to /mnt/Store folder) but I can't seem to find where/how ...
0
votes
0answers
236 views

PHP exec() Returns 127 When Trying To Run Any Command

I'm an intermediate Linux user (CentOS, some Debian) who is transitioning to FreeBSD (10). Permissions have always been somewhat confusing to me. I've set up a server with PHP-FPM (5.6) and Nginx ...
9
votes
1answer
519 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
2answers
238 views

How to get the attached disk size on FreeBSD

When I attach a disk to FreeBSD I can list any attached disks by doing: [root@freenas] ~# sysctl kern.disks kern.disks: xbd2 xbd1 ada0 [root@freenas] ~# How can I then find out the size of each ...
-1
votes
1answer
59 views

Increase the capacity of a RAIDZ1 vdev on ZFS

I'm running FreeNAS on a Mini-ITX Box at home. I have 3x3TB HDDs in a RAIDZ1 udev. Now I'm running out of space. I have space for one additional HDD in my case. I want to convert the 3x3TB RAIDZ1 into ...
1
vote
1answer
112 views

“Reinstall” FreeBSD using ZFS snapshots

I am using a dedicated server, and unlike on VPS providers or VM machines, getting back to a clean state (untouched, after install) is quite a laborious thing to do (lots of clicking around in a web ...
0
votes
0answers
25 views

FreeBSD's built-in ftpd and awstats

How can I use awstats with the FreeBSD's built-in ftpd's xferlog? Sample lines from /var/log/xferlog (simple syslog): Sep 12 19:05:51 bsd-vps ftpd[35082]: connection from ###.###.###.### Sep 12 ...
1
vote
0answers
163 views

clang does not see gcc installation

I have such a system: uname -a FreeBSD gpskomsa 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Thu Aug 20 18:25:34 VLAT 2015 root@gpskomsa:/usr/obj/usr/src/sys/GENERIC amd64 with default clang: clang ...
2
votes
2answers
716 views

Booting FreeBSD from whole-disk ZFS pool?

I have a FreeBSD fileserver configured with one ZFS pool created from whole disk devices. That is, the pool was created like this: zpool create pool0 raidz ada0 ada1 ada2 This means the disks have ...
2
votes
1answer
138 views

iSCSI: lsscsi lists device but fdisk does not

How do I make freebsd show initiators a mountable target from a zpool? On a fresh install of FreeBSD 10.2 (hostname bohr) I made a zpool named tank with a single vdev which is 2 disks in a mirror; ...
1
vote
0answers
98 views

Missing free space in new zfs raidz2 zpool?

I'm running Nas4Free 10.2.0.2 - Prester (revision 1814) which is based on FreeBSD 10.2-RELEASE-p2 #0 r287260M: Fri Aug 28 18:38:18 CEST 2015. System has 24 GB memory. I've tried with ashift=9 and 12 ...
1
vote
1answer
438 views

FreeBSD VMware and CAM status: SCSI Status Error

I'm running a FreeBSD 10.1-RELEASE-p19 on a VPS (VMware). My ISP is experience a rapid data growth, and these messages spontaneous started to show up in our logs a week ago. Sep 25 09:00:50 srv03 ...
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
0answers
82 views

OpenVPN TLS handshake fails on freebsd10

I am trying to configure a new VPN server but the TLS handshake fails. I worked with #openvpn for some time and we narrowed it down to a failure at the server but what exactly, no one has a clue. All ...
0
votes
1answer
2k views

FreeNAS/FreeBSD: How to access status of ZFS volume from jail?

I am trying to set up NRPE to enable remote Nagios monitoring of a new FreeNAS 0.91 system. I mostly have this working. I can connect and inquire about basic information like number of processes, ...
7
votes
2answers
95 views

Setting timezone to UTC in unattended install

In FreeBSD, I'd like to set the timezone to UTC in an unattended way. If I run tzsetup, and select "yes" and "a" in the dialogs, for choosing UTC, I see that there are no /etc/localtime files present. ...
0
votes
1answer
118 views

no SASL authentication mechanisms

I am running freebsd 10.1 with postfix and Dovecot. In the mail logs for postfix, I get this error: fatal: no SASL authentication mechanisms Below is dovecot log errors: Error: auth: ...
3
votes
1answer
817 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 ...
5
votes
4answers
6k 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 ...
35
votes
5answers
8k views

ZFS on FreeBSD: recovery from data corruption

I have several TBs of very valuable personal data in a zpool which I can not access due to data corruption. The pool was originally set up back in 2009 or so on a FreeBSD 7.2 system running inside a ...
0
votes
0answers
293 views

FreeNAS Share Timeout

I'm trying to backup to a Share on FreeNAS with Veeam Endpoint Backup, however after about 20 minutes (was originally 6 minutes until I ran a chkdsk on my MBP's hard drive) I receive the error: ...
0
votes
0answers
58 views

OpenLDAP & Posix Groups/Account configuration

with following configuration I am not able to add POSIX users/groups to the LDAP server. If some can educate me about significance of dc in this case, is it FQDN that I mentioned when I created ...
3
votes
1answer
225 views

Distributed mirrored filesystem under FreeBSD

Can someone share their experience in building a distributed mirrored filesystem between multiple FreeBSD machines? I. e. we have two (three, four...) servers and special partition "part1" mounted on ...
0
votes
0answers
393 views

NAT with IPFW in FreeBSD without divert

I'm using IPFW and trying to do NAT on my LAN (FreeBSD 11). I'm following https://forums.freebsd.org/threads/ipfw-nat-setting.46929/ but I can't get it working. The FreeBSD manual uses divert which is ...
1
vote
2answers
120 views

Shutting down host from within jail

I've created a jail with ssh using Finch-Freebsd on a NAS4FREE and added a local non super user to access the jail via ssh. I want to be able to grant this user limited shell access specifically to ...
2
votes
2answers
507 views

ZFS reads on FreeBSD incredibly slow

I have a FreeBSD 10.0 system on which I have MySQL running with its InnoDB database files stored on ZFS. It seemed to have been going fine for months, but lately, and seemingly suddenly, performance ...
0
votes
1answer
168 views

Missing free space from ZFS pool after migrating from FreeBSD to NAS4Free

I was running FreeBSD 10.0-RELEASE-p4 and migrated to NAS4Free which is FreeBSD version 10.2-RELEASE #0 r286738M: Thu Aug 13 21:32:58 CEST 2015. Now I'm missing free space and I can't delete any files ...
0
votes
1answer
72 views

Lost connection to MySQL server at ‘reading initial communication packet’

I am using FreeBSD 9.2 and mysql 5.5 and i am using SOMETIMES this error - * Lost connection to MySQL server at 'reading initial communication packet', system error: 0* when i am executing sql ...
-1
votes
1answer
122 views

pf firewall server configuration

I am trying to configure a fire wall for a server that host http, smtp and ssh on a custom port. When I initialize pf, I get an error at the command line: No ALTQ support in kernel and my ssh ...
0
votes
1answer
28 views

Compiling a specific version of a freeBSD utility

I want to compile and run a specific version of a FreeBSD utility from the source code. For example, I downloaded the repo for the following utility: ...
4
votes
1answer
9k views

MySQL high CPU usage on small website

I have a small website hosted on a dedicated server (FreeBSD 9.2, MySQL 5.6.1 and php 5.5.5). The problem is that MySQL eats a lot of cpu resources even if the website have a few visitors. The ...
0
votes
1answer
61 views

apache / mysql unable to connect jails with PF firewall

I have setup two jail environments on FreeBSD11 root@ns312773:/etc # jls JID IP Address Hostname Path 1 10.6.6.6 www ...
2
votes
1answer
279 views

smbd processes in uninterruptable sleep

I have fileserver running FreeBSD 10.1. The server's storage consists of two HDDs in a mirrored ZFS pool. This server is running Samba 4.1, as domain member. The domain controller is running on ...
2
votes
2answers
179 views

Postfix seems to send spam

I recently discovered this in my postfix-log: Aug 4 11:09:12 mail postfix/smtpd[71597]: connect from unknown[59.88.35.206] Aug 4 11:09:14 mail postfix/smtpd[71597]: Anonymous TLS connection ...
0
votes
0answers
442 views

Setting up Subversion/WebSVN w/ Apache 2.4 and RANCID 2.3.8 on FreeBSD 10.1

I seem to be having some issues getting this setup. I have it setup in a jail environment. RANCID is completely setup w/ svn. All the repo data for RANCID is in /usr/local/var/rancid/SVN. But all ...
1
vote
0answers
261 views

Docker on freebsd11

I am trying to build a python application on freebsd11 and docker i have installed docker as per https://wiki.freebsd.org/Docker and all seems to work fine. my Dockerfile is like FROM python:2-slim ...
0
votes
0answers
375 views

getent doesn't show netgroup from LDAP server

I followed this tutorial to migrate NIS to a new FreeBSD LDAP Server. However after I do all steps, in my test client, getent doesn't show netgroup normally from LDAP Server: $ getent netgroup ...
-2
votes
1answer
45 views

apt-get on Ubuntu gets too out-dated-software [closed]

It seems the package repository for Ubuntu (apt-get) is somehow not actively updating for the new versions of packages. I didn't realize this until I tried FreeBSD's package manager. Ubuntu gives me ...