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
92 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
604 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
272 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
182 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
371 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
802 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
332 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
641 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. ...
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
731 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 ...
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
487 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
168 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 = ...
1
vote
1answer
185 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
330 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
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 ...
1
vote
1answer
213 views

Error starting oidentd (FreeBSD8.2)

I'm new to BSD and I have already tried searching on google about this error but no one seems to have encountered it or what. When I try to run oidentd via "/usr/local/etc/rc.d/oidentd.sh start". It ...
1
vote
1answer
504 views

How to send multicast traffic from one vlan to 100-500 other

In addition to prev question How to share multicast traffic to many vlans I recieve answer that solution for my task is mrouted on my freebsd router. But for now i see this problems: mrouted ...
1
vote
1answer
867 views

FreeBSD (pfSense) Routing - Can't find the default route

I have been banging my head against the wall on this for a couple of days now - thought I had tried everything, but obviously not... I have the following networking scenario... ISPs Router Edge ...
1
vote
1answer
2k views

How to debug memc/memcached timeouts with Nginx?

Problem Regular timeouts from the memcached backends in Nginx (see example errors below) Things already tested: it occurs both on local and remote memcached servers so the network can't be the ...
1
vote
1answer
403 views

Installing PostgreSQL 9.0 on FreeBSD

My installation of databases/postgresql90-client fails on a FreeBSD box. The installation blocks on configure, at the following step (while CPU usage tops 100%): checking thread safety of required ...
1
vote
1answer
743 views

How to get the CentOS 5.6 alsa drivers which will really work with one shot, without any internet

I have one chance to install this in my server on site. Server that i am running is CentOS 5.6 (Dell R310, RAID1) where i need to install alsa-sound driver so that anything related to audio recording ...
1
vote
1answer
334 views

FreeBSD Dump with cURL/rsync

I'm trying to create a backup script using FreeBSD's dump to take a snapshot of a filesystem, but instead of storing the snapshot on disk I want to pipe the output from dump into cURL or rsync so its ...
1
vote
1answer
461 views

Dell R210 & FreeBSD

I'm trying to get FreeBSD installed on a Dell R210 server with the H200 hard drive controller. I can boot with the 8.2-RELEASE ISO and the 8-STABLE-20110522 ISO. My problem is getting it to boot ...
1
vote
1answer
369 views

Why no one seems to use FreeBSD to host Rails app? [closed]

I'm moving this thread previous adressed to stackoverflow. (Original Thread) We use FreeBSD 8.2, Rails 3.0.7, postgresql 8.3, passenger and nginx for our production servers. (More Infos) We seems to ...
1
vote
2answers
135 views

Adding FreeBSD user upon first login

Is it possible, to achieve the proposed behavior on my FreeBSD 8.2 server: New user ssh's into my server. He supplies as 'Login:' his student index number and a new, locked account is created with ...
1
vote
1answer
1k views

FreeBSD: how to associate disk serial numbers to device names when using a 3ware SATA card

When using a 3ware SATA/RAID card is there a way to associate the disk serial # with the /dev/daN device? I can get serial numbers by using "smartctl -d 3ware,0 /dev/twa0 -i", but I don't know if ...
1
vote
1answer
1k views

IPsec isakmp_natt problem on racoon.conf

I have this weird problem where racoon complains of the following error: WARNING: NAT-T is enabled in at least one remote{} section, but no 'isakmp_natt' address was specified! I've already ...
1
vote
2answers
735 views

Autocompletion on console?

I configured a bare-bone FreeBSD box. And I surprised that console does not support auto-completion. In fact, it supported on root account, but not in normal user account. I'm guessing it caused by ...
1
vote
3answers
643 views

Apache 2.2 umask in FreeBSD

I have Apache 2.2 running under FreeBSD 7 (and 8). It runs with the system default umask of 022, and I need it to be 002 so that www group members can make changes without having to chase it with ...
1
vote
2answers
646 views

procmail don't execute php script

I have setup a kannel SMS gateway on my FreeBSD 7.2 - the service works great. I'm now trying to setup a email2sms feature. For this i have created a system user called kannel and all mails are ...
1
vote
1answer
1k views

Apache22 on FreeBSD - Starts, does not respond to requests

I'm running Apache 2.2.17 with the peruser MPM on FreeBSD 8.2-RC1 on Amazon's EC2 (so it's XEN). It was installed from ports. My problem is that, although Apache is running, listening for, and ...
1
vote
1answer
2k views

FreeBSD 8.1 unstable network connection

I have three FreeBSD 8.1 running on three different hardware and therefore consist of different network adapter as well (bce, bge and igb). I found that the network connection is kind of unstable ...
1
vote
2answers
2k views

Can I automatically create a passworded user with pw adduser on freebsd?

Can I automatically create a passworded user with pw adduser on freebsd? pw useradd [name] [switches] -V etcdir alternate /etc location -C config configuration file ...
1
vote
1answer
4k views

Samba35 configuration on FreeBSD 8.1 RELEASE

I'm currently trying to create a Samba share on a lightweight home network, and I'm having a bit of trouble configuring Samba 3.5.6 compiled from the ports tree. What I'm looking for is pretty basic. ...
1
vote
1answer
953 views

What's the diablo-jre? (FreeBSD)

This link mentions about diablo-jre. http://serverfault.com/questions/1077/how-to-install-java-jre-on-freebsd-with-as-few-dependencies-as-possible What's that and why should I use it instead of ...
1
vote
1answer
1k views

A jail that is accessible from network without port forwarding

I am using FreeBSD 7.1 and on my server I have two different jails. One for database and second one for game server. What I need to know is if it is possible to assign game server's jail to public IP ...
1
vote
1answer
553 views

What are the alternatives to using allow.sysvipc in a jail running PostgreSQL in FreeBSD

This question is prompted by this one. I've set up a jail to run PostgreSQL but without allow.sysvipc when creating the jail (or setting the relevant rc.conf entries), the system call to shmget are ...
1
vote
2answers
181 views

FREEBSD creating new port

I have a script here that I want to create as a port in freebsd and then make it as package so that I can install on some machines. script is below. #!/usr/local/bin/bash if [ ! -f "/suid.old" ] then ...
1
vote
1answer
3k views

Ierrs on Network Interface - Pfsense/Freebsd

We're using PfSense as an internal router/firewall (no connection to WAN). Using the Web-GUI, under Status ---> Interfaces, there's one particular interface where I have some errors: In/out errors ...
1
vote
1answer
284 views

Apache doesn't autostart because vpn isn't up yet

I have a FreeBSD8 server, and VPN connection to my ISP. I use mpd5 and it works fine. Also I have an Apache server whch works fine, if I start it manually, after VPN is get up. But when I add it to ...
1
vote
1answer
742 views

What SATA drive should I install FreeBSD onto? i.e. ar0 vs da0 vs ad4/5

I'm installing FreeBSD 8.0 on a server that has hardware SATA Raid. I'm just wondering. What is the difference between these devices. i.e. ar0, da0, ad4, ad5 I take it that ad4 & 5 are my two ...
1
vote
1answer
770 views

Incoming SSH stopped working on FreeBSD 7.2

Somehow sshd stopped running and no amount of start, restart or onestart will make it go again. I normally ssh into it from a dual-boot laptop computer that shows up on the network as gabi-buntu when ...
1
vote
1answer
2k views

How to tell spam-assassin not to quarantine tagged emails?

I'm running my own postfix mail-server at home with a setup similar to this one. I opted to deliver tagged spam via dovecot to the user's spam-mailbox, so that they can review tagged emails if they ...
1
vote
3answers
320 views

FreeBSD with nginx can't connect networks after running for a while

My server is a FreeBSD system, I run nginx on it to proxy user requests to another real server. My problem is I can't visit my freebsd server after a while. The server is in another place, so I ...