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

rsync to remote server that does not have the same users setup as local server produces permission error

I'm setting up a backup of my linux-based webserver to a NAS running FreeBSD. I've created a backup user on the FreeBSD box and ran rsync as root on the local (web server) box using the following ...
0
votes
2answers
246 views

Failure when make installworld is invoked to create a jail template in FreeBSD

I'm trying to follow this proceedure to install a jail template: make installworld DESTDIR=/usr/jails/mroot but get the following error: ===> lib/libcom_err/doc (install) install-info --quiet ...
0
votes
2answers
2k views

PF rules and configuration to allow a local IP alias to NAT on FreeBSD?

Here's exact details of my configuration: Firewall/DNS Server: 192.168.2.1 (local lan) which routes out to the internet. <-- NOT UNDER MY CONTROL My FreeBSD Server: 192.168.2.23 (LAN) "Inside" ...
0
votes
1answer
381 views

Is it possibile to alow port forwarding only for specific IP public addresses

I have freeBSD router and it host public IP address, I am using ipnat.rules to configure port forwarding prom public network inside my private network. Now I wondering can I restrict only specific ...
0
votes
2answers
213 views

Rewrite sh script for freebsd

I have an sh script: #!/bin/bash fullpath="$1" filename="${fullpath##*/}" dir="${fullpath:0:${#fullpath} - ${#filename}}" base="${filename%.[^.]*}" ext="${filename:${#base} + 1}" if [ -f ...
0
votes
2answers
354 views

MySQL dump-restore replaces characters with 3Fh

FreeBSD Server with Mysql and make.conf like that .if ${.CURDIR} == ${PORTSDIR}/databases/mysql50-server WITH_CHARSET=cp1251 WITH_COLLATION=cp1251_bin BUILD_OPTIMIZED=yes BUILD_STATIC=yes .endif .if ...
0
votes
1answer
747 views

uWSGI touch-reload feature not working with 100% CPU

On my development box, I have configured uWSGI to reload every time a file gets touched (using the --touch-reload command line argument). When I specify a non-existent file, I get a warning in the ...
1
vote
4answers
1k views

Monitor Dell thermal sensors in FreeBSD?

I'm trying to remotely monitor temperature sensors within two Dell PowerEdge 6850's. I have a fear that the building we are in is turning off the air conditioning on the weekends to save power, which ...
4
votes
4answers
953 views

RAID-Z Failure Notification

I have a FreeBSD file server with a 10TB array in RAID-Z (so 8TB usable with 2TB redundancy). I am trying to figure out how to get the system to notify me, preferably by email, if one of the drives ...
0
votes
1answer
312 views

Install MySQL on FreeBSD 8.2 without ports

I have downloaded and extracted the latest MySQL package from their website on my FreeBSD machine, I would like to install it. But I don't want to use the inbuilt ports, I want the latest version to ...
5
votes
13answers
8k views

Network monitoring tool for FreeBSD [closed]

I am using FreeBSD 6.1 as router. Now I looking for Network Traffic Monitoring software to see what's happening with internet link. I have two installed LAN cards in my system, one for lan and other ...
1
vote
1answer
1k views

Export NFS to multiple networks in FreeBSD (FreeNAS)

I'm trying to export a share to multiple networks using the following in the /etc/exports file: /mnt/tank/xen_nfs -alldirs -mapall=root:wheel -network 10.1.1.20 10.1.1.45 10.1.1.105 but whenever I ...
2
votes
1answer
434 views

What are the security implications of using allow.sysvipc in a FreeBSD jail

The man page for jail says that allow.sysvipc enables "System V primitives [to] share a single namespace across the host and jail environments..." thus "... processes within a jail would be able to ...
3
votes
1answer
100 views

blocking packets larger then specific size with pf

Is there a way with pf to block specific type of packets larger than specific size?
1
vote
3answers
519 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 ...
5
votes
5answers
3k views

ZFS on OpenSolaris or FreeBSD

I have no real experience with ZFS, and very limited experience with Solaris & FreeBSD. After reading numerous articles about ZFS, I'm pretty convinced ZFS is something I want to use for my home ...
3
votes
5answers
3k views

Apache DDoS Protection in router (pFsense) [duplicate]

I'm soon going to change my infrastructure when I buy a new server. I'm going to replace my D-Link DIR-655 router with an pFsense router (and probably use the 655 as an AP) using my old server ...
2
votes
1answer
661 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
155 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
303 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
695 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
221 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
1k 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
337 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
278 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
2k 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
1k 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
289 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
387 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
54 views

setlock analog for FreeBSD

Is there something similar to setlock available or built into FreeBSD?
0
votes
1answer
80 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
2k 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
811 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
103 views

How can I check disk slices and part status on FreeBSD?

How can I check disk slices and part status on FreeBSD?
0
votes
1answer
255 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
117 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
288 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 ...
1
vote
1answer
7k views

How to print list of users and groups on FreeBSD?

How to print list of users and groups on FreeBSD?
0
votes
1answer
962 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
797 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
6k 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
234 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
484 views

How can I install man pages from FreeBSD server via console command?

How can I install man pages from FreeBSD server via console command?
0
votes
2answers
432 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
615 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 ...