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

1
vote
1answer
47 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 ...
2
votes
2answers
51 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 ...
4
votes
3answers
4k 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 ...
4
votes
2answers
8k views

Binary zone file on BIND9

Binary Zone File Problem (FREEBSD) DNS Master transfered zone file to slave But I cannot read zone file less db.example.com "db.example.com "may be a binary file. See it anyway? This happend ...
1
vote
2answers
130 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
495 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
4k 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
124 views
0
votes
1answer
466 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
4k 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
29 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
32 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
134 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 ...
111
votes
4answers
152k 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 ...
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
72 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
42 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
119 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 ...
0
votes
1answer
30 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
45 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 ...
0
votes
1answer
58 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
162 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
50 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
981 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
62 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
183 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
199 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
344 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 ...
0
votes
0answers
24 views

how change scope link on created interface

for example cat /proc/net/if_inet6 | grep fe80 fe8000000000000002e0edfffe21989d 0c 40 20 80 vlan3xxx fe8000000000000002e0edfffe21989d 09 40 20 80 vlan2xxx fe8000000000000002e0edfffe21989d 0a 40 20 80 ...
0
votes
0answers
284 views

'GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.'

We have enabled TLS support on vsftpd. Although everything works fine for the end-user, FileZilla returns the following ‘error’ after idling for a while: Response: 421 Timeout. Error: GnuTLS error ...
-1
votes
1answer
46 views

FreeBSD -no internet access -no packages

I just used this command: make -DBATCH install clean and realized that I don't have access to internet from FreeBSD. If I type the address manually the browser doesn't let me see them. Can ...
-1
votes
1answer
24 views

IPFW interface with special character

I'm new using FreeBSD and IPFW, but in my work we need to change from GNU/Linux, using IPtables, to FreeBSD and IPFW to packege filter. We have some rules in IPtables script that we need to put on ...
3
votes
1answer
59 views

spamassassin tries to use /nonexistent even though its user has a valid home directory

I have a spamassassin daemon used by exim on a FreeBSD 9.3 System that tries to use /nonexistent for its temp files and bayes-filter storage. Passing the username or a home directory via the daemons ...
1
vote
0answers
15 views

FreeBSD snmpd on a single interface [duplicate]

I have a FreeBSD host with multiple IP interfaces. I would like to have snmpd listen on a single private IP interface, but I am getting the following error when trying to start the service. Error ...
7
votes
3answers
16k 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 ...
1
vote
0answers
34 views

FreeBSD Bind locks up, only clue -> in6_ifadd: 2001:~ is already configured

I have an issue where my DNS locks up periodically (about twice a day). All normal and then suddenly denied access to net_if network: error: could not listen on UDP socket: permission denied When ...
0
votes
1answer
455 views

apache taking old openssl libraries when doing apachectl graceful

Due to heartbleed vulnerability I have recompiled apache with non vulnerable latest openssl(I had to keep old vulnerable openssl due to some dependency problem). It is running fine and when doing ...
0
votes
0answers
65 views

NGINIX server is delaying the response by 200ms after receiving ACK from the client

We are running nginx webserver on UBUNTU 12.04 and using ab [Apache bench marking utility] as a client on FREEBSD 8.0. Using ab we are downloading a 512K file from the server. It is observed that ...
0
votes
0answers
27 views

Super confused about possible NAT kerfuffle

I have a PFSense running on a ZBox at the moment - there are 4 Interfaces: LAN 1(192.168.2.0/24) WAN 1(192.168.2.0/24) (I know, same address, but this IF only connects to a modem, everything ...
0
votes
1answer
109 views

mysql won't start on FreeBSD

We recently picked up a client that has a site hosted on a FreeBSD box. The stack is FAMP. Things were chugging along just fine until recently mysql seems to have stopped running. There is no mysql ...
1
vote
1answer
32 views

Is there limit to create ling-aggregation on FreeBSD 10 by default?

I'm new using FreeBSD and one of the things that we need is two link aggregation interfaces. Looking for on Internet I found out that we can put the configuration on /etc/rc.conf. I tried to config my ...
0
votes
1answer
110 views

ezjail: “partially completed upgrade”

I just updated FreeBSD to 10.2 and after trying to update my jails through ezjail I get the following : ezjail-admin update -u Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching ...
0
votes
1answer
82 views

FreeNAS Flash Drive Corruption

The flash drive that had FreeNAS on it was unplugged while the system was running. Now when I start the system, I get the following error: GRUB loading . . Welcome to GRUB! error: unknown ...
1
vote
1answer
48 views

RKHunter report: “No hash value found”

I'm getting RKHunter warnings every day when my cron job runs the check. I'm on FreeBSD 10.2 This is the warning I'm getting: Warning: No hash value found for file '/usr/bin/perl' in the ...