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

2
votes
1answer
316 views

MySQL performance on FreeBSD after moving db files from /var

I was running out of space on /var so I moved my db dir to /usr and noticed a significate decrease in performance. In addition I noticed that performance is much slower as well under any Jailed ...
1
vote
2answers
886 views

start-stop-daemon freebsd

Have a line in sh script starting service from rc.d start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/local/bin/env -- $ARGS RETVAL=$? it returns /etc/rc.d/spat: ...
0
votes
2answers
77 views

freebsd shell package not execute after successfull install

After successfull installing midnight commander with pkg_add - mc i try to load it from shell command "mc", but it did not work. Leaving the root and going root again fixes that problem. The same ...
1
vote
4answers
7k views

How to increase /var directory size?

First question: When I run df -h I can see this: # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 9.7G 8.0G 918M 90% / devfs 1.0K 1.0K 0B ...
0
votes
1answer
164 views

OpenSSH-Portable trying to install X11?

I'm trying to upgrade OpenSSL, OpenSSH, and Apache22 on a FreeBSD 8.1 system. I'm already running OpenSSH-Portable, so that's not really a problem. Where I run into trouble is that openssh-portable ...
6
votes
1answer
3k views

PXE Boot FreeBSD ISO from a Linux PXE server

I have a working PXE boot server running on CentOS 5.5 that works perfectly for any flavor of Linux. I'm trying to add FreeBSD to the install options as a ISO memdisk, but so far nothing is working ...
1
vote
1answer
591 views

trying to “setup apache fastcgi”

my system is: wx3# uname -a FreeBSD wx3 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 wx3# packages ...
0
votes
1answer
539 views

Can not start the mysql server

I got the problem with starting my mysql server, it was working fine until I copied the "read" mysql configuration file (/usr/local/share/mysql/my-huge.cnf) to the /etc/my.cnf, then I restarted my ...
1
vote
3answers
1k views

Htop installation failed

I'm trying to install the htop , but I can't since I'm getting this fatal error: # cd /usr/ports/sysutils/htop && make install clean ===> Installing for htop-1.0.1 ===> htop-1.0.1 ...
0
votes
3answers
830 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
231 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
151 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
3k 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
768 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
979 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 ...
5
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
725 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
844 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
250 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
326 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
849 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
272 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
511 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
448 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
915 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
510 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
765 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
309 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
147 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
379 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
368 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
141 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
463 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
275 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
1k 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 ...