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

Why apcupsd won't see the UPS connected to the USB posrt on FreeBSD 8.0 amd64

Recently I installed an apcusbd on a FreeBSD 8.0 amd64 box via ports system. It installed perfectly but it won't run. Here what is says in the log: FATAL ERROR in generic-usb.c at line 636 Cannot ...
1
vote
2answers
2k views

Max open files (MySQL 5.0 on FreeBSD 7.0)

I'm getting "Can't open file: './databasename/tablename.frm' (errno: 24)" errors from MySQL but as far as I can tell, I've set the necessary limits far higher than I need. Other than the kern....
1
vote
2answers
1k views

Exim4 Configuration of Maildir Delivery

Documentation online is rather sparse on how to go about configuring Exim4 to use the Maildir delivery method instead of the default mbox format. This is on a FreeBSD system with Exim4 compiled from ...
1
vote
2answers
258 views

Install Apache22 in parallel to existing Apache13 installation on FreeBSD

I am running a FreeBSD (6.3-STABLE) production server with apache13 installed via ports. For various reasons I need to upgrade this to apache22, preferable also installed via ports. As my maintenance ...
1
vote
5answers
564 views

HTTP request pause for one minute

I have this website which works very smoothly but occasionally when I click a link it pause for around one minute before I get the page, and when I open the same page in a new window, it open smoothly ...
1
vote
1answer
321 views

FreeBSD Virtual consoles hang

I'm running FreeBSD 7.2 on a relatively new Dell Desktop, and when I switch between virtual consoles (ALT-f1, f2 etc) it works the first few times, but then just stops. It doesn't matter which ...
1
vote
5answers
2k views

FreeBSD's VPN & Mac OS X IPSecuritas

I need to be able to VPN in to my FreeBSD server from my Mac using IPSecuritas. I was wondering if anyone ever done something, I'm reading VPN over IPsec but that mainly covers if you had 2 nodes with ...
1
vote
1answer
29 views

BSD nc (netcat) does not terminate on EOF

Host A: tar cf - stuff | dd | nc -N -l 12987 Host B: nc a.example.com 12987 | dd | tar tf - On host A dd prints its summary after tar completes. Thus it is clear, that tar closes the pipe/...
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 ...
1
vote
1answer
53 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 'rkhunter....
1
vote
1answer
78 views

How to pass all requests to some site via specific WAN interface in pfSense?

I have multi-WAN configuration on pfSense. I suspect, that some secured web sites (like hosting control panels) dislike that requests are coming from different IPs and hence asking various ...
1
vote
2answers
115 views

dnsmasq adblocking only working server-side

I'm trying to create a server-side adblocking mechanism through dnsmasq, but I only get results on the server itself, not the computers attached to my local network. First of all, my router is the ...
1
vote
1answer
1k views

“Unknown host machine name.” on FreeBSD + unixODBC + FreeTDS

I got some issues connecting to a Microsoft SQL Server 2012 from my FreeBSD 10.1 server. I installed FreeTDS and unixODBC via ports. I compiled FreeTDS with unixODBC support. This ist my freetds.conf:...
1
vote
1answer
120 views

ZFS, mdconfig, GELI and getting my head around

I want to create an encrypted virtual disk but I am struggling with understanding some basic concepts. Please correct me if any of these statements are wrong: I need a block device that geli can ...
1
vote
1answer
289 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 ...
1
vote
1answer
52 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 ...?
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 ...
1
vote
1answer
667 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 ...
1
vote
1answer
412 views

VMDK File Growing After copying it using CP?

Using FreeBSD and a mounted NetApp NFS Share. I'm trying to copy a file FROM: localdisk/something.vmdk (size 527776 kilobytes) TO: nfsmount/copy-something.vmdk (size 533168 kilobytes) But it seems ...
1
vote
1answer
261 views

ZFS booting troubles

I have FreeBSD 8.0, and rebooting arise while zfs scrub was runing. Now when system booting it frezee at moment with ZFS version and ZFS pool version. I can't even login. The question : Is the scrub ...
1
vote
1answer
621 views

Issues with StrongSwan on FreeBSD 10.0. Charon refuses to start

The charon.log with full debug levels (4) is as follows: Jan 21 16:09:47 00[DMN] Starting IKE charon daemon (strongSwan 5.0.4, FreeBSD 10.0-RELEASE, amd64) Jan 21 16:09:47 00[LIB] plugin 'aes': ...
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 (...
1
vote
1answer
449 views

syslogd filtering not working on FreeBSD

I am failing to get filtering by program or facility working in FreeBSD syslogd. I added local6.debug /var/log/test.log !testd *.debug /var/log/test.log to my /etc/...
1
vote
1answer
296 views

FreeBSD Disable Serial Console from Bootloader?

I have a FreeBSD appliance (meaning I can't open the case or I will void the warranty) that was working well until I accidentally clicked 'Enable Serial Console' and rebooted... I went to plug in my ...
1
vote
1answer
771 views

Safely migrate from 3ware 9650SE-8LPML to a 3ware SAS 9750-8i?

I have a server with a potenially faulty 3ware 9650SE-8LPML. I can log in to the server but the interface keeps reseting causing the whole system to lock down for minutes. My host suspects its the ...
1
vote
1answer
78 views

How to suppress compilation output when using ports in FreeBSD?

Is it possible to configure the FreeBSD ports system to suppress the compilation output (like brew does in OS X)? The output is mostly useless for me and can be a waste of bandwidth (when working over ...
1
vote
1answer
471 views

blocking packets for a non established connection on freebsd pf

For a freebsd pf firewall; I want it to block packets for non established connections. For example , the attacker should not send Reset packets for an unknown not-yet-established connection. In Linux ...
1
vote
2answers
2k 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 ...
1
vote
1answer
93 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
688 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 ...
1
vote
1answer
289 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
192 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 ...
1
vote
1answer
399 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
905 views

Mounting fuse sshfs fails when invoked by Cron on FreeBSD 9.0

I have a remote server filesystem that I'm attempting to mount locally on a FreeBSD 9 machine via FUSE sshfs, and Cron for a backup routine. I have ssh keys between the boxes setup to allow for ...
1
vote
1answer
350 views

Machine boots GENERIC kernel after freebsd-update install

The last two times I ran freebsd-update install the machine (re)booted from the GENERIC kernel instead of my custom kernel. As suggested by Freebsd Update (section 25.2.2) I have a GENERIC kernel in /...
1
vote
2answers
679 views

FreeBSD slow transfers - RFC 1323 scaling issue?

I think I may be having an issue with window scaling (RFC 1323) and am hoping that someone can enlighten me on what's going on. Server: FreeBSD 9, apache22, serving a static 100MB zip file. 192.168....
1
vote
2answers
2k views

Postfix logs missing information on delivery status (postfix/smtp message)

I noticed a problem with postfix logs, that information on some of emails delivery status is missing. The issue affects about 1% of emails. "Healthy" log: <server># grep 8EB992EFBB44 ...
1
vote
1answer
2k views

How can I get VirtIO network drivers working on FreeNAS or NAS4Free KVM host?

I'm trying to run either FreeNAS 8.0.4 or NAS4Free 9 as a KVM guest on my Ubuntu 12.04 (server) but the network connection is unusably slow in either guest OS (when testing with rsync for example the ...
1
vote
1answer
803 views

How to filter out “bad-len 0” packets with tcpdump?

When I listen internal network interface of router on freebsd, I get outputs like this 10:36:02.372026 IP 192.168.1.11.8888 > 192.168.1.2.49831: Flags [.], ack 1097, win 65050, length 0 10:36:02....
1
vote
2answers
2k views

DHCPD on FreeNAS?

I've got a FreeNAS install I've been using for a while, and wanted to set it up to serve as a network boot server. I downloaded and installed the isc-dhcpd-server, configured the tftp+iscsi+etc ...
1
vote
1answer
516 views

FreeBSD Jail with Ruby multiple web deployment

I am looking to offer a free deployment system for ruby web applications (based on rack and not ruby on rails) so essentially I will allow users to upload a file with their app and the app will show ...
1
vote
2answers
2k views

Remote Logging with syslog

I have two machines running FreeBSD, bsdclient and bsdserver. I am trying to setup remote logging such that bsdclient sends all the logs to bsdserver. My syslog.conf on bsdclient goes like this *.* ...
1
vote
2answers
174 views

Odd rsync issue - duplicating and uncompressing files

I have two servers: our production web server(freebsd) and a backup server(centos). The production server does mysql database dumps every 3 hours and compresses the dump file using bzip2. So we have a ...
1
vote
1answer
2k views

snmptrapd traphandle to php script

I have to receive snmptraps in php script, so what i've done is: snmptrapd.conf traphandle 1.3.6.1.4.1.3.1.1 /usr/home/user/trap/l.php l.php #!/usr/local/bin/php <?php $flow = fopen("php://...
1
vote
1answer
196 views

Make a file accesible by PHP but not from the outside

My host gives me two folders for my use, a /home/public/ which is where the pages go, and /home/private/, which is for my personal use. I would like for PHP to create a file that's readable by me from ...
1
vote
1answer
348 views

What's the difference between Send-Q and S-BCNT in FreeBSD netstat -anx?

What's the exact meaning of Send Buffer byte count in the extended netstat statistics, and why is it always bigger than Send-Q? In other words, what's counted against the S-BCNT that's not counted ...
1
vote
1answer
3k views

How to find a file that contains the specified string in FreeBSD?

I'm searching for the way to find a file that contains specified string text. It should be fast as possible but its not that important. I was reading the manual, and I've build something like that: ...
1
vote
1answer
1k views

Alternative to Ntop on FreeBSD

ntop is a great tool for recording network throughput statistics for FreeBSD based firewalls. The statistics can be displayed as graphs using a web browser. Ntop, however, has the limitation that it ...
1
vote
1answer
2k views

Unable to load dynamic libraries (pcre,spl,gettaxt,mhash,snmp,sockets,tokenizer)

I'm a bit new to freeBSD and trying to set up a webserver. I've managed to get phpmyadmin installed and phpinfo(); works fine. But when i typ in 'php -v' i get some warnings: PHP Warning: PHP ...