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

FreeRADIUS using Active Directory integration broken without any traces

I've a FreeBSD 10.0 server running FreeRADIUS 3 and things got broken without any apparent reason. I'm using Winbind from Samba4 to authenticate with ntlm_auth. I've done some debug to solve the ...
5
votes
2answers
557 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. ...
0
votes
0answers
42 views

Find out reason behind IPMI watchdog hard reset

Tonight at 3.15am my NAS server (running FreeNAS) rebooted. Core cause seems to be watchdog timer running out: ~# ipmitool chassis restart_cause System restart cause: watchdog expired ~# ipmitool mc ...
0
votes
0answers
148 views

ownCloud 9 MySQL not supported

I'm trying to install ownCloud 9 to FreeBSD 10 with nginx as web server. I am using this official manual, which tells me to use this command: sudo -u www-data php occ maintenance:install --database ...
0
votes
1answer
41 views

SSH connect to FreeBSD9 suddenly started to freeze randomly

I have a KVM FreeBSD 9.2 box for a long time. 5 days ago I had a 2h ssh incoming session on this box with no freezes. No system/soft updates or significant system changes were made. Today I can't ...
0
votes
0answers
59 views

FreebSD 10.1 x64 KLDLOAD UCOM and UTDFI

Using a freebsd 10.1 x64 system. I am trying to get an LCD working and need to load UCOM.ko and UTDFI.ko. When I try to load them I get unsupported file type. I took them off another freebsd 10.1 x64 ...
0
votes
0answers
60 views

Can't enable TLSv1.2 on nginx on a FreeNAS jail

I'm quite new to the FreeBSD environment, I'm quite used to the Linux one. I've created a jail in FreeNAS 9.3 and installed nginx with ssl support following several online resources (googled "freebsd ...
0
votes
1answer
131 views

pfsense as a virtual host

There seems to be a fair bit of information about running pfsense as a virtual machine on another hypervisor of some sort, but I am wondering if I can do the reverse and use a pfsense install as the ...
20
votes
4answers
55k views

Check OpenSSH version and update instructions on FreeBSD system

On a FreeBSD system (8.1), I am looking for instructions on how to check the running version of OpenSSH and also instructions on the best way to download install an update of OpenSSH
0
votes
2answers
779 views

Configuring Proftpd users without system users

I'm running a web server with proftpd on FreeBSD 9. I want to add few ftp users to the server so they will have the option to upload files to their own sites. When trying to do it with proftpd i ...
-1
votes
1answer
39 views

env not working in FreeBSD cronjob [duplicate]

On my FreeBSD server, I have setup a cron script for backups using Duplicity. This script is as follows: #!/bin/sh export PASSPHRASE= export FTP_PASSWORD= keyid= remote= excludelist= /usr/local/...
1
vote
1answer
192 views

How to config user_prefs (SpamAssassin) individually per user in Redis DB?

I'm going to implement mail gateway with FreeBSD 10.1. So, I installed Postfix, Amavisd, Clamav, Spamassassin, Procmail (for filtering spam from maildir to spam folder), Bayes with Redis database. I ...
0
votes
0answers
112 views

What's the FreeBSD equivalent for the Linux pointopoint

What's the BSD (FreeBSD) equivalent of pointopoint used in /etc/network/interfaces on Linux (Debian)? I'm following this (Network configuration host system KVM/Routed) guide for how to use Hetzner's ...
7
votes
3answers
251 views

SFTP with chroot depending on public key of connecting user

I want to build a server (running Debian or FreeBSD) that receives backups from different clients via sshfs. Each client should be able to read and write its own backup data, but not the data of any ...
0
votes
3answers
844 views

What possible events could cause a MySQL database to revert to a previous state?

A client of mine recently had a strange event with their MySQL database. Several days ago, one database suddenly "went back in time". All the data was in the state it was in several months ago. Even ...
0
votes
1answer
93 views

Drupal 8.0.5 and FreeBSD 10.2 Issues

I am running a FreeBSD 10.2 server with Apache 2.4.18, php56-, and SQL 57. I am trying to install Drupal 8.0.5, but I am stuck. I got the PHP stuff working, as well as the clean URL things that drupal ...
1
vote
0answers
1k views

FreeBSD Jail own network stack with vimage

I want to throw all services from the host system and put them in jails. Unfortunatly this doesn't work for file sharing (e.g. nfsd) because the jails don't have there own network stack by default. I ...
1
vote
1answer
51 views

How to prevent sftp users from viewing some directories (inside their chroot directory)

The sftp users of my server are chrooted together in a specific directory. They all belong to the group sftponly. The rights are ok, including a special right to prevent users from overwriting others'...
2
votes
2answers
65 views

gethostbyname failure and network timeouts in jail

I have a FreeBSD DigitalOcean droplet in which I followed this guide exactly for setting up a jail. The problem is I cannot get reliable network connectivity inside the jail. Doing curl https://www....
5
votes
3answers
5k views

How to install python3.4-pip in FreeBSD 10.1?

I searched in the ports and can't find a pip installation package other than the pip for python27 py27-pip-6.1.1. Which way is the best for installing pip for python 3.x in FreeBSD 10.1? Or is it ...
1
vote
2answers
222 views

What kind of ACL storage to use for a Samba domain controller on ZFS and FreeBSD

I want to set up a Samba domain controller on a FreeBSD hosts that uses ZFS for file storage. When I try to run samba-tool domain provision as documented on the Samba Wiki article on setting up a ...
2
votes
2answers
3k views

'pargs' command in FreeBSD or Linux

What's the FreeBSD (or Linux) equivalent to the 'pargs' command, available in Solaris? Many times I want to know what are the environment variables for a given process space, with no help from these ...
0
votes
2answers
497 views

How to install Apache and PHP by using only packages on FreeBSD?

Is there a way to install without compiling them through the ports? I installed Apache from packages and it works, but pkg_add -r php53 doesn't install mod_php5.so/libphp5.so. I experiment on FreeBSD ...
0
votes
4answers
5k views

install SSH2 (server?) on FreeBSD

At work we have freeBSD testmachine. And we have a PHP script that uses SSH2 protocol to connect with the freeBSD server. With this script I'm not able to connect to the freeBSD server. I wanted to ...
0
votes
1answer
127 views
0
votes
1answer
473 views

Increase size of multiple FreeBSD slices

I have a KVM virual machine running FreeBSD 9.1, with a typical one-partition layout with slices for swap, /, /tmp, /var, /usr. Now I need to upgrade that virtual server, beside others to a larger ...
1
vote
5answers
5k views

Clear tcsh/csh history in FreeBSD 10.0

This is a little embarrassing but I'm unable to delete the root user shell history from a FreeBSD 10.0 server. The root user is using the default csh. I've tried the classic history -c command to ...
14
votes
4answers
2k views

Why does slice C or slice 2 cover the entire disk

Something that I was discussing with a couple of friends and we were unable to figure it out. In FreeBSD and OpenSolaris/Solaris when you partition a drive a partition is created that covers the whole ...
1
vote
1answer
32 views

zpool vdevs previously mirrored, now non-mirrored, unable to re-mirror

On FreeBSD 10.2-RELEASE, I had the following setup on a dev (luckily) environment until yesterday: NAME STATE READ WRITE CKSUM bigpool ...
4
votes
1answer
7k views

ZFS import unable to find any pools

I had a ZFS pool -- a mirror containing 2 vdevs -- running on a FreeBSD server. I now have only one of the disks from the mirror, and I am trying to recover files from it. The ZFS data sits in a GPT ...
0
votes
1answer
51 views

FreeBSD IRQ Affinity using cpuset. No mather use hexa or dicimal for -l #IRQ parameter?

I just put my FreeBSD 10.2-STABLE router in production running with Quagga 0.99.24.1, compiled throught Ports. After pass all traffic to this machine the load of S.O. been very hight and everything ...
4
votes
6answers
2k 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 ...
0
votes
1answer
186 views

DNS lookup to localhost gives network error

I am running a recursive DNS server on Unbound in a jail on FreeBSD with pf as a firewall. Running drill @xxx.xxx.xxx.xxx example.com (where xxx.xxx.xxx.xxx is the servers IP) on my local machine ...
4
votes
3answers
5k views

Handling FreeBSD package upgrades using pkg_add

I'm trying to use FreeBSD's pkg_add command to install and upgrade binary packages in a build-once-install-on-multiple-machines sort of scenario. It works well when installing a new package, but ...
112
votes
4answers
153k views

FreeBSD performance tuning: Sysctl parameter, 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 100,000-...
1
vote
1answer
1k views

Apache child died for unknown reason

For a long times i saw such errors on FreeBSD9.1 (Apache 2.2) server # dmesg pid 69320 (httpd), uid 80: exited on signal 11 pid 69307 (httpd), uid 80: exited on signal 11 pid 69416 (...
0
votes
1answer
99 views

How to let FreeBSD get IP address automatically in VMware?

I use FreeBSD 10.2 VM image in VMware workstation. Although I set bridge mode in VMware: I find the OS can't get an valid IP address: How can I let FreeBSD get IP address automatically in VM?
0
votes
1answer
48 views

Freebsd 10 install with non standard gateway route

Some service providers offer dedicated/vps nodes with non standard gateways (ie not in the same subnet). For instance : ip add 10.0.1.1/32 with gateway 56.0.1.1 For this purpose some manual steps ...
0
votes
1answer
144 views

ZFS: i/o error - all block copies unavailable

I am trying to install FreeBSD Sparc64 on my SunFire440 machine, I followed the tutorials to Install FreeBSD Root on ZFS using this tutorial link. Only the changes I made is that instead of using ...
0
votes
1answer
3k views

proftpd overwrite permission denied ftp user

I have a freebsd server with proftpd installed. When I chmod 777 the directory I can overwrite files, but using 755 permissions on the folder I can not overwrite files in the folder. In the conf file:...
0
votes
1answer
38 views

#raidctl - Operation not support with volume of this level [duplicate]

I am having problem to create a RAID volume on the internal disks of a Sun Server (Sunf Fire V440) When I type the below command raidctl -f -c -r 5 c1t0d0 c1t1d0 c1t2d0 c1t3d0 it displaysOperation ...
0
votes
1answer
52 views

Can't access python glass server from virtualbox on localhost

I have Virtualbox container with FreeBSD installed where Aquarium with Glass server are running on port 9080, it is accessible from within the container. Container network is configured to use NAT+...
0
votes
1answer
60 views

Setup SunFire 440 Raid Configuration

How can I setup Internal Hard disk RAID5 configuration? I have SunFire 440 machine with 4 internal hard disk. I have never worked on Sun systems except for now and I am exploring google for the above ...
0
votes
0answers
215 views

FreeBSD 10 guest on qemu/kvm CentOS 7 host

I'm trying to install FreeBSD 10 on CentOS host without using graphics (using only serial console). I've tried: # virt-install -n freebsd-a -r 512 --vcpus=1 --os-variant=freebsd10.0 --graphics none -...
0
votes
0answers
57 views

smtp sending mail as “Charlie &”

I'm trying to use ssmtp to send mail from my jails to the mail hub in one of them. However, the from name isn't properly being renamed. The & isn't being replaced with root so I'm getting mails ...
0
votes
1answer
1k views

FreeBSD 10 IPFW IPv6

I'm struggling to allow IPv6 connections on my FreeBSD 10 server. I have a working IPv6 connection. But IPFW blocks all the IPv6 traffic. #!/bin/sh # # flush existing rules ipfw -q flush # allow ...
2
votes
2answers
90 views

FreeBSD interface up/down monitoring

How to get informed about specific interface status in FreeBSD? ifconfig <ifname> | grep "status: active" works fine but I want to avoid polling and be informed as fast as possible about ...
3
votes
1answer
196 views

Should Postfix run chrooted if it already is in it a FreeBSD jail?

I'm running Postfix together with Dovecot and a few milters in a FreeBSD jail. Is there a significant security gain when I run SMTP and SMTPD daemons chrooted as well?
0
votes
1answer
239 views

FreeBSD & Jails: Send mail through Postfix in Jail

I have FreeBSD 10.2 and I'm using several Jails, one of them has Postfix installed. I want my other jails and my host system to use the local Postfix installation in the Jail. They should use ...
2
votes
0answers
352 views

Load Average problems while serving 40M requests daily with php-fpm, nginx

I have server with FreeBSD (16 cores with HT, SSD, 32Gb RAM) which is getting about 40M http requests daily. All requests are served by nginx + php-fpm. At these graphs you see that we have a ...