Home Archive for category "FreeBSD"
formats

Aborting BOOT (Sending SIGTERM to parent)!

Published on 06/03/2010 by in FreeBSD

compile kernel ใหม่ หรือว่า เครื่องดับเฉย ๆ ถ้ามีปัญหามันจะฟ้องว่า Aborting BOOT (Sending SIGTERM to parent)! ให้ทำการ เช็ค disk แล้วก็ remount partition ใหม่โดยการใช้ defalt shell (กด Enter นั่นแหละ) แล้วสั่ง fsck -y mount -u / mount -a -t ufs แล้วก็ restart เป็นอันจบ

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

FreeBSD Kernel compile with firewall (ipfw)

Published on 06/03/2010 by in FreeBSD

ขั้นแรกก็ทำการเช็คก่อนว่า เครื่องได้ติดตั้ง ipfw ไว้แล้วหรือยัง โดย #ipfw list ถ้ายังไม่ได้ติดตั้งจะฟ้องว่า ipfw: getsockopt(IP_FW_GET): Protocol not available

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

FreeBSD IP Alias: Setup 2 or More IP address on One NIC

Published on 15/02/2009 by in FreeBSD

ขี้เกียจพูดมาก บรรเลงเลยแล้วกัน ตัวอย่าง Interface name: bge0 – IP : 192.168.1.1/255.255.255.0 Interface name: bge0 alias – IP : 192.168.1.5/255.255.255.255 ขั้นแรก login เป็น root ก่อน แล้วพิมพ์คำสั่งว่า # ifconfig bge0 192.168.1.5 netmask 255.255.255.255 alias จากนั้นเพิ่มเติม ข้อความตามนี้ลงใน /etc/rc.conf ifconfig_bge0_alias0=”192.168.1.5 netmask 255.255.255.255″ บันทึกและออกจาก โปรแกรม จากนั้นสั่ง # /etc/rc.d/netif restart && /etc/rc.d/routing restart เป็นอันเสร็จพิธี ลองสั่ง ifconfig ดู จะได้ ip เพิ่มมาอีกชุด

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

How to Fix Cacti error Invalid PHP_SELF Path on FreeBSD 7.0

Published on 09/01/2009 by in FreeBSD

I have just installed Cacti on a new FreeBSD 6.3 machine that I’ve been playing with, and the latest version from ports seems to be broken, displaying the error “Invalid PHP_SELF Path” when I browse to it with a web browser. A Google search reveals that it seems to be a common problem. This post

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

รัน net-snmp แล้ว error

Published on 07/01/2009 by in FreeBSD

One of the joys of installing ports on FreeBSD is the odd occasion that the dependencies list is missing a dependency. is not installed you get nice perl errors in the case of the following # cfgmaker public@127.0.0.1 Can’t locate SNMP_util.pm in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 /usr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at

(More)…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments