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
743 views

Find the source of malware?

I have a server that was running an older version of lighttpd (1.4.19 on a freebsd 6.2-RELEASE (yea, old) machine) and google alerted me that it had found malware embedded on one of my server's pages. ...
2
votes
1answer
169 views

Running script when FreeBSD boots, but changing cwd first

I want to run a script when FreeBSD boots. I tried symlinking to it from /usr/local/etc/rc.d, but the script itself (myscript.sh) uses paths such as ./init-site.sh. These don't resolve correctly when ...
6
votes
3answers
2k views

FreeBSD ZFS RAID-Z2 performance issues

I'm trying to build my own network attached storage based on FreeBSD+ZFS+standard components, but there are strange performance issues. The hardware specs are: AMD Athlon II X2 240e processor ASUS ...
0
votes
2answers
326 views

FreeBSD 4.7 missing IPFW - How do I install it?

I have two FreeBSD servers that are on 4.7. These are two older servers that were already configure and setup when I got here. Now that the original admins are gone, I've started looking a bit more at ...
0
votes
1answer
761 views

ipnat.conf - map and rdr won't work!

I can't put my mind around it, before reboot I was able to ssh in from outside to my jail and right now I can't! I even rebuild the whole system and even that didn't help:( anyone have any ideas? ...
1
vote
4answers
258 views

FreeBSD - 'cd ~' takes me to /root instead of home directory

I just created a new user (I was logged in as root to do so) with the adduser utility. I gave the new user his own home directory. If I check the /etc/passwd file, it shows the users home folder is ...
3
votes
2answers
2k views

Run cgi-script on commandline as user www?

I'm running FreeBSD 7 and apache-2.2.13. I am trying to debug a cgi script at http://www.example.org/cgi-bin/printenv . This script is a simple script written in Bourne shell. I would like to run ...
1
vote
1answer
349 views

LDAP loginShell on platforms with different paths

I'm using LDAP to deal with users and authentication across my network. I'm now adding FreeBSD hosts and have hit a problem with login shells. on Linux, shells tend to be in /bin/$shellname, so ...
0
votes
2answers
306 views

hosts.deny file missing

On a freeBSD server, I have a hosts.allow and a hosts.equiv, but no hosts.deny file. Does freeBSD not use the deny file? If it does, can I make the file myself or does it have to be generated by ...
0
votes
1answer
3k views

What's required to configure VPN (over IPsec) server with FreeBSD which can accept connections from iPhone?

What's required to configure VPN (over IPsec) server with FreeBSD which can accept connections from iPhone? As I guess, the server should have ability to manage incoming connections, but I don't know ...
0
votes
2answers
2k views

Is it possible to mount NFS volume serving from FreeBSD server via SSH tunnel on Mac OS X?

I heard that NFS share via SSH tunnel is impossible on Mac OS X: http://biowiki.org/MountingNFSThroughSSHTunnel I have been trying 2 days to make it, but I failed. Is it really impossible? Or what ...
0
votes
4answers
4k views

How do I recover from a hung machine with an 'nfs server *** not responding' error?

nfs server *** not responding nfs server *** not responding nfs server *** not responding nfs server *** not responding nfs server *** not responding nfs server *** not responding I am getting this ...
0
votes
1answer
338 views

How to restrict anonymous FTP access to downloads only?

I have a server running FreeBSD and have enabled anonymous FTP access, but wish to restrict the access to only being able to download files I have put on the server myself, because I don't want people ...
1
vote
1answer
453 views

Run non-interactive script in single user mode

Is it possible to run a "startup" script when booting into single user mode? I need to be able to boot into single user mode, run my script, then reboot into multiuser mode without any human ...
0
votes
1answer
60 views

setlock analog for FreeBSD

Is there something similar to setlock available or built into FreeBSD?
0
votes
1answer
92 views

How can I see dumps of wholе HTTP packets in FreeBSD?

I need to see whole HTTP packets sent and recieved by an application for debugging purposes. How can this be done in command-line?
1
vote
2answers
3k views

FreeBSD - Can't access jail from SSH

I need your help for solving an SSH+FreeBSD+jails authentication issue. I've (almost) successfully set up a jailed environment on my FreeBSD 8.2 box. My FreeBSD host has 2 network interfaces: ...
1
vote
2answers
859 views

Does pfSense support AMD64?

Specifically I'm looking at running it on a node on this hardware: http://www.supermicro.com/Aplus/system/2U/2022/AS-2022TG-HTRF.cfm Any gotchas lurking out there? I'm assuming the AMD soft raid ...
0
votes
1answer
110 views
0
votes
1answer
262 views

FreeBSD disk parts with no mounting. How does this work?

I'm using a VPS service. I installed FreeBSD 8.1, and now configuring. And today, I found really wired thing. This is my disklabel editor screen from sysinstall. FreeBSD ...
2
votes
1answer
126 views

What is the best way to convert a block number to a file name in FreeBSD?

Today I found the following message in the daily log mail I get from a FreeBSD server: ad2c: hard error reading fsbn 1081249272 of 540624636-540624639 (ad2 bn 1081249272; cn 1072667 tn 14 sn 54) ...
1
vote
1answer
321 views

Can I get a FreeBSD `sysinstall` automation script sample?

I want to make a automatically installing FreeBSD disc. I heard that sysinstall can be automated with a configuration file. Can I get a sample. (Tutorials are even better!)
0
votes
1answer
132 views

Is GHC porting to FreeBSD stopped?

I'm playing with GHC package on FreeBSD 8.1. I installed GHC with pkg_add -r ghc. But it was not worked well. I tried some more but I realized the installed GHC version is just 6.10.x. This version is ...
0
votes
1answer
1k views

Post-installation process of PostgreSQL 8.4 in FreeBSD?

I have installed PostgreSQL 8.4 with pkg_add -r postgres84-server. I added 'postgresql_enable="YES"to/etc/rc.conf, and executed/usr/local/etc/rc.d/postgresql initdb`. And when I run psql to start, it ...
0
votes
2answers
2k views

How to configure hostname for `apache22` package on FreeBSD?

I'm configuring development & test FreeBSD machine on VM. I installed apache22 package and restarted. But the daemon does not started with this error: %apachectl start httpd: ...
0
votes
1answer
851 views

How to make a normal user can install package with `pkg_add` on FreeBSD?

How to make a normal user can install package with pkg_add on FreeBSD? pkg_add -r command fails with normal user with sudo. Downloading succeeds, but installation fails with this error message. Equal ...
3
votes
3answers
7k views

pkg_add Environment on FreeBSD

Suppose you want to add a package foo but when you invoke pkg_add via: pkg_add -r foo you get an error: Error: Unable to get ftp://.../foo.tbz: File unavailable ... It's not a problem since ...
0
votes
2answers
251 views

What does “WPA” mean in ifconfig_wlan0=“WPA DHCP”

The handbook suggests that these settings can be used for WPA in FreeBSD: wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" But as far as I'm concerned this very settings can be used for WEP. So what ...
0
votes
2answers
610 views
0
votes
2answers
434 views

How to make my normal account can execute `sudo`?

I installed bare-bone FreeBSD, and added a new user. And added sudo package with command pkg_add -r sudo. When I logged into the box with new user account, it cannot run sudo command. What procedure ...
1
vote
2answers
687 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 ...
2
votes
5answers
2k views

ZFS + FreeBSD + virtualbox

I'm configuring a FreeBSD server hosting virtualbox serving half dozen mission critical busy mail servers. I just learned ZFS, I'm quite attracted, but have a few questions: what is the CPU ...
1
vote
2answers
272 views

How to measure data transfer between FreeBSD server and client workstation?

I have a FreeBSD 7.3-RELEASE-p2 server communication with various workstations (it is mainly a subversion server). I need to measure the amount of data that is transferred from my server to one ...
3
votes
2answers
3k views

“No space left on device” with FreeBSD

When I login with root, and run "mkdir test", the system says "No space left on device". But if I login with other user, it goes well. [/root]df -h Filesystem Size Used Avail Capacity ...
0
votes
1answer
736 views

How to deploy Rails 3 on FreeBSD 8?

I'm pretty nooby to FreeBSD and I only have worked before with ROR on Mac OS and Heroku. Now I've got VPS with installed FreeBSD 8 and found it problematic to install ror 3 with mongrel properly. ...
3
votes
2answers
616 views

Crontab: Not executing properly

(OS is FreeBSD 8.1) Yesterday I added 2 lines to crontab as root: 0 7 * * * curl --silent http://username:pass@dev.mydomain.tld/cron/execute/process/verbose/true ...
2
votes
1answer
849 views

FreeBSD: problem with Postfix after updating LDAP

At the server I installed openldap-server, at this computer open-ldap client has already been installed. Version of openldap-client (2.4.16) was older then new openldap-server (2.4.21) and the ...
0
votes
3answers
130 views

install mysql on freebsd [closed]

How to install Mysql on freebsd , i have tried a lot but after i am getting lot many error so i have removed it , but now i want to reinstall it so , can anyone suggest me the link / commands to ...
4
votes
2answers
838 views

FreeBSD 32bit to 64bit migration

I need to transfer my FreeBSD 7.0 i386 server to another hosting. I would like to also upgrade to the 64bit version (to eliminate 4GB memory limit). The server has common open source software: ...
1
vote
1answer
1k views

syslog.conf - redirecting log entries from /var/log/messages

I'd like to redirect all messages from dhcpd to their own log file, rather than having them appear in /var/log/messages. When I put the following lines in /etc/syslog.conf: !dhcpd *.* ...
0
votes
1answer
878 views

Dell Perc 6i with FreeBSD 8.1 errors with mfi0: COMMAND xxxxxxxx TIMEOUT AFTER xxx SECONDS

We've recently bought two Dell PowerEdge R710 servers with Perc 6i controllers and 6x 135GB SAS Drives. We'd done some pretty extensive testing on a Dell PowerEdge R510 server with a Perc 6i and 4x ...
2
votes
1answer
649 views

Booting FreeBSD from whole-disk ZFS pool?

I have a FreeBSD fileserver configured with one ZFS pool created from whole disk devices. That is, the pool was created like this: zpool create pool0 raidz ada0 ada1 ada2 This means the disks have ...
1
vote
2answers
1k views

FreeBSD Traffic Shaping

I'm trying to do traffic shaping with FreeBSD, here are my rules su-3.2# ipfw show | grep pipe 08380 1514852 125523804 pipe 1 tcp from any to any dst-port 80 su-3.2# ipfw pipe 1 show 00001: 2.000 ...
0
votes
3answers
2k views

Postfix: relay access denied

I never got my SMTP service working, now i'm ready to try again. The server is a FreeBSD 8.1-RELEASE-p1, postfix was installed as part of the Webmin/Virtualmin install.sh I have read Postfix Virtual ...
6
votes
4answers
2k views

ZFS on top of Hardware Mirroring, or just mirror in ZFS?

I have an IBM x346 with dual 3.2Ghz Xeons and 2x36GB 15k SCSI disks. I'm running an entirely ZFS-based install of FreeBSD 8.1. I can configure the bios to mirror the two disks, and then put ZFS on ...
1
vote
1answer
1k views

How can i acess a shell of a jail on FreeBSD?

I have access to a a previously set up FreeBSD box with a number of jails on it. One of the jails is an SQL server and does not have ssh enabled on it. How can i gain access to a shell on that sql ...
1
vote
2answers
594 views

Strange ZFS hidden filesystem problem

Half of my ZFS filesystems are hidden in ZFS-fuse. Here's my story: So, I love ZFS. I used it for about six months on FreeBSD, but due to it crashing the kernel during heavy inter-filesystem IO load, ...
1
vote
2answers
610 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 ...
3
votes
3answers
4k views

Handling FreeBSD package upgrades using pkg_add

I'm trying to use FreeBSD's pkg_add command to install and upgrade binary packages in a build-once-install-on-multiple-machines sort of scenario. It works well when installing a new package, but ...
0
votes
2answers
228 views

Update to “FreeBSD 8.1-RELEASE #1”

I've updated my FreeBSD system with "freebsd-update" but "uname -a" still sais it runs the ""FreeBSD 8.1-RELEASE #0" kernel. How do I get #1? Its important because I need ZFS v15.