freebsd jail

I‘ve FreeBSD 7.x server with 3 jails are configured to run a mail, web and MySQL services. My FreeBSD box has two network interfaces. First, interface is connected to LAN and other is directly connected to the Internet via public IP. My DNS servers are hosted on private network (LAN). FreeBSD 7.x jail only support one interface and one IP address. How do I configure jail (FreeBSD vps) to access my DNS servers hosted inside my LAN using PF firewall?

{ 1 comment }

Q. I’m trying to build PHP5 under FreeBSD jail and I’m getting an error that read as follows:

m4.info-[0-9][0-9] ./m4.i[0-9] ./m4.i[0-9][0-9]; do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else :; fi && cd “$am__cwd”; if makeinfo –no-split -I . -o ./m4.info ./m4.texinfo; then rc=0; cd .; else rc=$?; cd . && $restore $backupdir/* `echo “././m4.info” | sed ‘s|[^/]*$||’`; fi; rm -rf $backupdir; exit $rc
makeinfo: not found
*** Error code 127

Stop in /usr/ports/devel/m4.
*** Error code 1

Stop in /usr/ports/devel/autoconf262.
*** Error code 1

Stop in /usr/ports/lang/php5.
*** Error code 1

How do I get rid of this problem and compile applications?

{ 5 comments }

Q. I’m running Apache 2 server under FreeBSD jail. However, I see lots of warning / error messages in /var/log/httpd-error.log as follows:

[Sat Sep 20 20:47:09 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80
[Sat Sep 20 20:47:10 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80
[Sat Sep 20 20:47:11 2008] [warn] (61)Connection refused: connect to listener on 0.0.0.0:80

How do stop all these warning messages flooding my Apache log files?

{ 0 comments }

Q. I’ve FreeBSD jail configured as explained in man pages using make world options. Now I’ve upgrade my base FreeBSD 7.0 system to FreeBSD 7 patch level 4. How do I upgrade my Jail (FreeBSD VPS) so that everything get updated inside jail?

{ 11 comments }