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
2k views

Custom PHPINIDir setting in VirtualHost affecting other VirtualHosts

One of the clients requested a personal php.ini configuration for his website, so I have set his VirtualHost as follows: <VirtualHost *:80> DocumentRoot "/home/alex/www.domain.tld" ...
1
vote
2answers
1k views

Xenserver 6.1 and ZFS file server

I want a paravirtualized ZFS server for Xenserver 6.1 supporting a 6+ TB zpool. The old templates for Xenserver 6.0.2 and FreeBSD 9 don't work. I have been unsuccessful ("Not a Xen-ELF image...") at ...
5
votes
1answer
379 views

Identify which process is responsible for heavy disk i/o under FreeBSD

I wonder how I can monitor which process takes out all my IO bandwith. The only command i know is gstat but it shows cumulative info. Is there any tools i can use to inspect the running processes for ...
3
votes
4answers
2k views

How to grant su access without password to one user only in wheel group (FreeBSD)?

I know how to enable su without a password for all wheel group users by adding the appropriate configuration line in /etc/pam.d/su. I do not want to enable this for all wheel users but only one ...
1
vote
1answer
80 views

Freebsd ports installing with parameters

I'm trying to create a install script for some FreeBSD machines. I want to install a few ports but change several configurations before installing, and without the dialog popup. I've tried almost ...
2
votes
1answer
228 views

Running commands on FreeBSD Live CD

I'm running FreeBSD 9.1-PRERELEASE on a vps running on XEN virtualization, I tried to update it to 9.1-RELEASE but mergemaster toasted my /etc/master.passwd and /etc/passwd so what i have now is a ...
1
vote
1answer
557 views

readlink: illegal option — f

Recently the script was working fine, but from some days I'm receiving such message, while running the readlink -f "$0" command: readlink: illegal option -- f usage: readlink [-n] [file ...] I was ...
2
votes
1answer
321 views

Managing multiple linux\freebsd server? [closed]

I currently have 5 FreeBSD servers that I'm handling on my own. I just bought 10 more servers and I want to start using some centralized configuration system like Puppet. I was wondering if there ...
5
votes
3answers
497 views

What is the ZFS ACL limit?

Does anyone know how many user ACL's ZFS can handle? With other words: for how many users can I set ACL's like this one for the same directory? setfacl -m user:test1:rwxpDdaARWcCos:fd----:allow ...
0
votes
1answer
65 views

Allow connection to certain port from specified domain

I got two domains, which are pointing on the same IP address, I can use both to connect to the server or certain port (TeamSpeak), the problem is that I would like the only one domain from those two ...
1
vote
1answer
325 views

sSMTP rewritting From field in emails

My problem is that whenever my server sends emails, the sender field gets overwritten. From: should be: Web Site Name <admin@mywebsite.com> But email is delivered to the address from: World ...
2
votes
1answer
2k views

How I can create a FTP-only account, in FreeBSD?

I created an account to be used only for FTP sessions: # adduser Username: test Full name: Uid (Leave empty for default): Login group [test]: Login group is test. Invite test into other groups? []: ...
3
votes
1answer
151 views

FreeBSD restore of /rescue

I'm running a restore from a previous backup of my FreeBSD system, and run into trouble when restoring / (excluding mount-points). The problem is that /rescue fills the / partition (to the extent that ...
1
vote
2answers
422 views

What does the FreeBSD kernel message “vnode_pager_putpages: I/O error 5” mean?

Our FreeNAS file server's /var/log/messages and dmesg logs are filling up with: Nov 28 14:50:00 chef kernel: vnode_pager_putpages: I/O error 5 Nov 28 14:50:00 chef kernel: vnode_pager_putpages: ...
2
votes
1answer
490 views

FreeBSD 9 unattended installation: how to perform?

That is, like you do with kickstart on Redhat or autoyast in SuSE or jumpstart in Solaris? The OS docs do not seem to answer that simple question.
0
votes
1answer
170 views

How to configure jailed apache to be accessible on the network

I have jailed apache on freebsd on a private network with ip address 192.168.100.174, I have another apache server running on the host but it is configured to listen on its other IP addresses but ...
4
votes
1answer
3k 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 ...
1
vote
2answers
2k views

How to connect FreeBSD Jail to network

So recently I successfully installed and configured a freebsd jail and I would like to install software within my jail but I cannot connect to the network. I'm trying to setup an apache+php+mysql ...
2
votes
2answers
380 views

recursively mounting ZFS filesystems?

I'm aware this more of a beginners question, but manpages, google and FreeBSD Handbook provided no solution. I'm using ZFS Version 28 on a 8.2 Stable FreeBSD and my problem is the following: When I ...
2
votes
2answers
1k views

Installing multiple php versions plus extensions on freebsd

I'm a currently learning how to work with freebsd. Lately I have been trying to run multiple php versions along with their respective packages. However, I seem to be running into issues while making ...
4
votes
2answers
104 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 ...
-1
votes
1answer
347 views

link aggregation in esxi5 + aggregation on the switch + freebsd9 = an aggregated link that do not work

i have a 6 port intel server nic. under the settings on ESXi5, i aggregated 4 of the ports. i have ZFSGuru running on the VM, which is based off of FreeBSD 9, iirc. this VM has two interfaces, an ...
3
votes
1answer
526 views

Does NFSv3 respect ZFS ACL's?

NFSv3 of course doesn't support ZFS ACL's, but what will happen if I have the following setup?: +-----------------------------------------+ +-------------+ | FreeBSD ZFS serv1 ...
1
vote
1answer
203 views

FreeBSD Serial IO card installation

I am trying to install a PCI serial IO card on a FreeBSD 9.1 (Prerelease) box. I had no success during hours of work. I recompiled kernel using puc and COM_MULTIPORT options. No success. This is ...
1
vote
1answer
157 views

Bacula backup on Linux, restore on FreeBSD

I'd like to migrate my storage server from Linux (Debian) to FreeBSD. Biggest part of this is restoring backups saved on Linux to tape volumes on the newly installed FreeBSD. Unfortunately I don't ...
2
votes
1answer
185 views

Why is ZFS replication single threaded?

On my 8 core NAS I see only one core maxed out when ZFS replication over SSH is running. I would expect that transferring a snapshot would scale perfectly with the number or cores, as the snapshot ...
3
votes
1answer
128 views

Migrating ZFS from using partitions to using the entire disk

I have a simple ZFS setup that I've been running for a few years now. When I originally set it up, I created a number of partitions and created a zpool from a partition on each of my two drives, and ...
2
votes
1answer
159 views

Is there a way to make a 32-bit variant of port under an amd64 system?

Is there a way to make a 32-bit package variant of mysql-client, for example ? Because I need some libraries for some binary software, and it would be good to maintain them from ports instead of ...
3
votes
1answer
550 views

100% kernel load on FreeBSD 9

I'm having problems with a FreeBSD 9 server. One of the 8 cores (4 w/ HT) is constantly at 100% kernel load. top gives me: CPU: 0.0% user, 0.0% nice, 12.5% system, 0.0% interrupt, 87.5% idle ...
1
vote
1answer
209 views

FreeBSD 9 (amd64) reboot/shutdown process is very slow

I have a Dell Poweredge 2900 III with FreeBSD 9 (amd64), the server uses mfi wich handles a raid10, I had to reboot the server, but notice that either when rebooting or shutting down the server, ...
2
votes
4answers
628 views

SSH connection closes as shell fails to load

I have FreeBSd running with OpenSSH. I set up everything and the connection via SSH worked perfectly. Then I decided to get rid of some not used ports and I obviously uninstalled one that was used by ...
6
votes
2answers
397 views

Freebsd Secondary Group not allowing folder deletion

TLDR: I have a user that is a member to a group as a secondary group. This user can delete files with 664 perms as a secondary user, but not directories with perms of 775. Details: I have a user. ...
-3
votes
2answers
737 views

How much overhead does ZFS have? [closed]

Adding a file system to a raw device of course takes up some overhead. The question is how many percent does ZFS take? And does overhead differ depending on the ZFS raid set? Update The purpose is ...
4
votes
2answers
546 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 ...
0
votes
1answer
297 views

I/O limits in FreeBSD

I am searching for a method to implement per Jail I/O limits in FreeBSD, as linux have from a long time now. During my research I stumbled upon: http://info.iet.unipi.it/~luigi/geom_sched/ My ...
5
votes
1answer
365 views

Block Google requests to 16k using pf firewall

I'd like to block access to Google search using PF after the threshold of 17500 requests (connection established) in 24h, from a host running FreeBSD 9. What I came up with, after reading pf-faq is ...
2
votes
0answers
278 views

Can't remove zfs log device from pool

I run a FreeBSD 9.0 server with ZFS pool version 28 and ZFS version 5. I had two pools with a log on ssd's two partitions. These pools was created on FreeBSD 8.2 with ZFS pool version 15, and ZFS ...
1
vote
1answer
364 views

How can I list when was all my installed FreeBSD ports built?

I have a FreeBSD 8.2-RELEASE system which I now upgrading to 9.0-RELEASE. In this process I need to rebuild all my ports installed. How can I list the date of last build for each installed port, to be ...
1
vote
2answers
2k views

FreeBSD Listen Queue Overflows - can't increase max queue size

I have a decently high trafficked FreeBSD Nginx server, and I'm starting to get a large number of listen queue overflows: [root@svr ~]# netstat -sp tcp | fgrep listen 80361931 listen queue overflows ...
1
vote
4answers
155 views

solution for an offline server

I'm trying to setup a development server at work that will ideally be able to test drive a couple of projects in PHP, Rails, or Django (not always running at the same time). I develop the apps locally ...
0
votes
2answers
842 views

What's with these “Bad prime description in line xxx” errors?

FreeBSD box, throws that error (from sshd) on every new connection. Doesn't appear to impact the functioning of the system, but is kind of annoying. Sounds like it's unhappy about something in the ...
1
vote
1answer
393 views

FreeBSD high load loopback interface

I have a problem with a FreeBSD server. There is a FreeBSD 9.0 amd64, two network cards em1 (internet), em0 (local network) configured firewall ipfw, natd, squid (not transparent), the server acts as ...
0
votes
1answer
1k views

Mpd as pppoe server with authorisation by freeradius2

I install freeradius2, add to raddb/users: test Cleartext-Password := "test1" Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 10.36.0.2, Framed-IP-Netmask = ...
2
votes
4answers
190 views

Uninstall last n of ports/packages

While compiling some port, I realized that it depends on 1000+ of other ports and will install forever until I die or my disk is full (my hdd is really small). I interrupted make install clean. How ...
1
vote
1answer
231 views

mysqld - master to slave replication using rsync innodb, sequence number issues

I've read several of the related topics posted here, but I have not been able to avoid this innodb error. The steps I've taken to replicate data from a Slackware server - 5.5.27-log (S) to a FreeBSD ...
1
vote
1answer
282 views

recursive grep started at / hangs

I have used following grep search pattern on multiple platforms: grep -r -I -D skip 'string_to_match' / For example on FreeBSD 8.0, FreeBSD 6.4 and Debian 6.0(squeeze). Command does a recursive ...
0
votes
2answers
407 views

Changing user password with passwd not passible. Error “passwd: sorry”

I have a FreeBSD Server and a strange problem. Everytime some tries to change a password he gets this ~$ passwd Changing local password for <USER> Old Password: passwd: sorry The root account ...
2
votes
1answer
468 views

php5.4 + freebsd8.3+nginx can't get errors

I have a confusing behaviour. I can't get any error into log file or screen. I made a file index.php with content like this: "<?php a();".Normally, I will get message like this: "Call to ...
3
votes
4answers
421 views

Optimize Apache performance

I'm looking for ways to optimize our current web server hosted in-house. I'm trying to supply as much relevant information below. Please let me know if you would require additional information in ...
2
votes
1answer
520 views

How to put freebsd configuration under Revision Control?

I heard once that in linux it's possible to put whole /etc/ directory into repository. In fact i already done too much crap on server and I quite disoriented what exactly is setup in there at all. ...