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

0
votes
3answers
873 views

DDoS - How to detect an attacker IP address [duplicate]

Someone keep attacking my server, but unfortunately I've switched my OS to the FreeBSD, as I've earlier used Debian 5.0 Lenny, and none of netstat or tcpdump commands I used on Debian, works on ...
0
votes
1answer
232 views

What may cause apache slowing down

I have a server setup with FreeBSD 8.2-STABLE running Apache/2.2.22. Since this morning it became very slow. Connections are quickly established, but the response is very slow. This is valid even for ...
2
votes
1answer
153 views

Scripting GNU Screen sessions

I have a couple of VM images that I run on a regular basis on my FreeBSD 9.0 fileserver. I have scripts written that start them with my desired settings (startUbuntuVM and startWindowsVM). I would ...
0
votes
2answers
4k views

How to chroot VirtualHosts on a Apache server?

I have a FreeBSD server (company's OS of choice). Currently we run several websites on each of the webservers. Websites are in PHP which is run in Apache Module mode. At the Apache is not chrooted so ...
15
votes
4answers
5k views

How do you manage and deploy FreeBSD's ports in a large environment?

I'm curious to how people are deploying FreeBSD's ports in their environment. I assume that most people using FreeBSD are indeed using Ports (and often portupgrade for upgrading with binaries). I am ...
0
votes
2answers
804 views

puppet: freebsd - installing package error

I have this module: class bash { package { "shells/bash": ensure => "installed", } } After the execution, I found this in the puppet dashboard: change from absent to present ...
4
votes
1answer
1k views

How can I connect to MySQL remotely and still keep it safe?

As you know, keeping the MySQL port 3306 open is unsafe. However, I would like to use a good MySQL administration program instead of phpMyAdmin, which requires 3306 port to be open. Of course I can ...
3
votes
1answer
4k views

FreeNAS box has slow network transmit speeds

I'm seeing some really odd issues with network speeds on my FreeNas 8.0.3 box. Receiving traffic is fine, but sending traffic slows down to 10-50kb/s, and stalls a lot. Receiving: Transmitting: ...
0
votes
2answers
2k views

PHP Warning: PHP Startup: Unable to load dynamic library

I have tried to run my script via cron, but it was not working... */1 * * * * /usr/local/bin/php -f /usr/local/www/maintain.php > /usr/local/www/php.log So I decided to try to run this script ...
6
votes
2answers
2k views

FreeBSD: How to know real file size on zfs with compression on?

I'm using zfs on my FreeBSD 9.0 x64 and pretty happy with it, but I find it hard to count directory real, not compressed, size. Surely I can walk over the directory and count every file size with ...
1
vote
2answers
762 views

MikroTik as PPPoE server

I'm working at ISP and we provide internet over PPPoE. Our servers are running on FreeBSD and we are considering some improvement to enhance the administration of the server. We've thought of moving ...
2
votes
1answer
887 views

HP NC107i (BCM5723) on freebsd 9

We've purchased 3 hp proliant dl120 servers. They come with 2 integrated network adapters - HP NC107i PCIe Gigabit Server Adapter which is based on BCM5723. After Freebsd 9 installation I've ...
1
vote
2answers
255 views

How to build snappy-java under FreeBSD 8.1? (build error)

I'm trying to build snappy-java for FreeBSD 8.1 to use it with cassandra (can't enable columns compression without it). Trying to build it from source and getting an error: $ hg clone ...
1
vote
1answer
336 views

FreeBSD VirtualBox disk performance using mdmfs

I am having some trouble with poor I/O running a Windows 7 VM on VirtualBox on FreeBSD 9.0. I would like to change my virtual disk type to immutable, and then change the location of the differencing ...
1
vote
0answers
1k views

FreeBSD ixgbe driver not working

I recently got a brand new Dell PowerEdge R610 server, I installed VMWare ESXi 5.0 on it and attempted to install FreeBSD as guest OS for squid caching. The server has a PCI-E Intel X520-T2 10Gig ...
0
votes
2answers
226 views

qmail not working

I recently installed qmail in one of my freebsd machines. But whenever I telnet to its port 25 from the same machine or from remote machine, i get instantly disconnected. Trying 127.0.0.1 Connected ...
-1
votes
2answers
3k views

telnet localhost smtp gives warning: cannot connect to service

I'm trying to setup a mailserver but sending and receiving is not working. I can connect to a mailbox using pop3 ( trough telnet and mail client ) When do: # telnet localhost smtp the ...
1
vote
3answers
957 views

will it work setting /etc/aliases root to gmail address on freebsd postfix

Is it possible to set the root mail address to my gmail address? And if so how? Would it work by just setting my email address in the following file? /etc/aliases : root: mygmail@gmail.com Or ...
3
votes
3answers
2k views

How do I get internal hosts to use a VPN connection set up on a FreeBSD router?

Question in short: How do I get traffic from a host on an internal network, using NAT behind a router, to use a VPN connection set up on the router? I have a FreeBSD 9 router with 4 network ...
0
votes
1answer
285 views

are these firewall settings correct on my freebsd server to allow postfix to pass trough?

I'm trying to set a mail server up on my freebsd 7 virtual host. But when I try to send or receive an email the log files tell me something about connection refused like this: Feb 8 17:54:42 ...
1
vote
2answers
1k 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 *.* ...
4
votes
2answers
3k views

Multicast routing across two subnets with FreeBSD 9 (Bonjour between subnets)?

I have a FreeBSD 9 router (a Soekris net6501) connected to the internet via a dsl modem (bridged), doing NAT for two internal subnets, 10.0.1.0/24 (LAN) and 10.0.2.0/24 (wifi net). There are routes ...
0
votes
1answer
577 views

Samba authentication when AD is down?

I have succesfully added my Freebsd 9 to a Windows server 2008 R2 AD Domain. Using samba 3.6. The problem is that i want to be able to connect to the shares when the AD server is down. Because the ...
3
votes
2answers
474 views

Installing FreeBSD remotely using Ubuntu LiveCD

I realised this is a very specific question, but I am wondering if there is a way to install FreeBSD on a machine using only SSH access to a Ubuntu LiveCD on the server?
5
votes
1answer
1k views

“route add default -iface em1” in rc.conf on FreeBSD

I have two NICs on my FreeBSD server, which are set up like this in rc.conf: ifconfig_em0="10.0.0.1 netmask 255.255.255.0" # LAN NIC ifconfig_em1="DHCP" ...
1
vote
1answer
1k views

FreeBSD: Error creating new slice using gpart

The virtual hard disk of one of my VPS has been enlarged, and I want to create a new ZFS slice using the extra space, but I couldn't be able to perform that. # gpart add -s 10G -t freebsd-zfs da0 ...
0
votes
1answer
524 views

Freebsd ssh key doesn't work

I have a problem with ssh key on freebsd vps. I generated a key and it works on debian. i usually just copy paste it to ~/.ssh/authorized_keys and it starting to work. In freebsd it doesn't. I tried ...
8
votes
2answers
785 views

zfs and future expandability

I want to build a server using freebsd 9 and zfs. I have some old hardware (intel quad core with 8 gb ram) lying around, and I am willing to purchase two or three 1 TB disks. I also have a dlink RAID ...
1
vote
2answers
321 views

Windows 2008 NFS, find command not working recursively on unix client

I have a Windows 2008 Storage server configured for NFS service. I am using a FreeBSD client to mount share from the storage server. Every thing works fine like copying, deleting files etc. However, ...
3
votes
2answers
2k views

ZFS RaidZ Import Failure when migrating

So my the USB drive attached to my FreeNas 7 system, went bad so I used the situation as an opportunity to upgrade to FreeNas 8. The problem is now I'm having trouble getting my ZFS to spin up: ...
1
vote
2answers
149 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 ...
0
votes
1answer
387 views

Freebsd 9 on Z68 chipset support

Does Freebsd 9 support Z68 chipset like in Intel DZ68BC motherboard? Will I have any "unrecognized device" issues ? What about Freebsd 8? What's the best way to find it out ?
-2
votes
2answers
374 views

FreeBSD 9.0 supports only IPv6. What this practically means?

I have very scarce knowledge of IPv6 but I'm considering installing FreeBSD on an RDC device which acts as a server to my home network running services. The last release states that one of the changes ...
1
vote
1answer
1k 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 = ...
2
votes
4answers
3k views

booting FreeBSD 9 from USB stick: boot error

I am trying to boot FreeBSD 9 from a USB stick that I created following the official guidelines: dd if=FreeBSD-9.0-RELEASE-i386-memstick.img of=/dev/da0 bs=64k Booting fails with a simple 'boot ...
3
votes
1answer
1k views

MongoDB isn't installing on FreeBSD 8.2 by any way

Firstly I've tried to perform step by step building of MongoDB on my vps with FreeBSD 8.2 on it. I've faced problem with the last step of building it: vm3578# scons . scons: Reading SConscript files ...
1
vote
1answer
146 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
2answers
525 views

How to share USB drive via NFS on FreeBSD

I'm trying to share USB hard drive with msdosfs connected like this: mount_msdosfs -o large /dev/da1s1 /mnt/usb I can see mounted drive: /dev/da1s1 on /mnt/usb (msdosfs, local) but when I'm ...
1
vote
1answer
283 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 ...
0
votes
1answer
2k 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: ...
4
votes
3answers
4k views

Mounting NFSv4 share from Debian Linux 6 to Freebsd 9-RC3 “server requires stronger authentication”

I've run into a strange problem while trying to mount from FreeBSD 9.0-RC3 to a Debian Linux box. The command I'm using is: sudo mount -v gorkon:/dustbin /tmp/test This returns the following ...
2
votes
2answers
2k views

UPS monitoring software for Linux, FreeBSD and Solaris

Looking to configure auto shutdown for my servers once the UPS battery reaches a certain state. We have MGE / EATON Pulsar M3000 UPS units, and a heap of servers running Ubuntu, FreeBSD and Solaris - ...
3
votes
2answers
1k views

Creating you own FreeBSD ami in EC2

I'm running XVM on my laptop. XVM has got FreeBSD installed with all the required ports to run APACHE/PHP. I want this .vdi file to be imported into an EC2 instance. Is it possible to import a ...
2
votes
2answers
3k views

bandwidth monitoring issue on PfSense router

I have a PfSense router installed , where it has 4 interfaces. one of them is WAN and rest 3 are LAN networks, which have different subnets and IP address ranges. wan interface name = em0 lan ...
0
votes
2answers
643 views

nagios nrpe plugin output not complete

I have written a small script to check the states of PfSense, and using this script to get the output in nagios, through NRPE... Here is the script used=`pfctl -s state | wc -l | bc | cut -c1-5 | ...
1
vote
3answers
5k views

Any freebsd/PfSense realtime bandwidth monitoring tool?

i need to know if there is any Tool (specifically for FreeBSD) , through which i can get the Realtime network traffic usage of any Host/IP , and which should also run on Multiple interfaces as well? i ...
2
votes
1answer
196 views

Is there an equivalent of LinuxIMQs in BSD?

Is there an equivalent of LinuxIMQs in BSD ? From linuximq.net: The imq device has two common usage cases: Ingress shaping: With linux only egress shaping is possible (except for the ingress ...
7
votes
3answers
2k views

“zpool replace” hangs and locks up the pool

Given my four disk RAIDZ1, one disk has become physically noisy, not producing errors yet, but not sounding healthy either. So I've chosen to pre-emptively replace it. I have done: zpool offline ...
1
vote
1answer
364 views

Serve an NFS mount over TFTP

I have a FreeBSD server on which I would like to run a TFTP server (for PXE). My daemon of choice is tftp-hpa and I have it configured to serve from /tftpboot properly. It works unless I mount ...
0
votes
1answer
2k 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 ...