hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : FreeBSD: auto reboot in case of panic
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

FreeBSD: auto reboot in case of panic

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-27-2005, 06:36 PM
opera.mp3 opera.mp3 is offline
Junior Guru Wannabe
 
Join Date: Jul 2005
Posts: 56

FreeBSD: auto reboot in case of panic


in rc.conf:
Code:
fsck_y_enable="YES"
dumpdir="/usr/crash"
fsck_y_enable will check your drives for problems on bootup
dumpdir is where the crash is store (you will need to mkdir /usr/crash)

compile the kernel with:
Code:
# Build kernel with gdb(1) debug symbols
makeoptions DEBUG=-g

# Don't enter the debugger for a panic. Intended for unattended operation
# where you may want to enter the debugger from the console, but still want
# the machine to recover from a panic.
# (in a nutshell, reboot if there's a panic)
options    KDB_UNATTENDED

"after the build, save the kernel.debug out of the kernel build directory then you can run the debugger on the debug kernel and the crashdump later just like you'd run the debugger on a program with debug symbols and a core dump"

credit goes to franzgold for telling/helping me with all of the above..


Last edited by opera.mp3; 08-27-2005 at 06:48 PM.
Reply With Quote


Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host Rackspace Adds FreeBSD 9, CentOS 6.3 Support to Cloud Servers Web Hosting News 2012-07-30 12:47:10
NYI Network Administrator Launches New Version of Network Analysis Tool Net Sensor Web Hosting News 2012-06-26 13:53:47
Colocation Provider NYI Launches East Coast Mirror for FreeBSD Foundation Web Hosting News 2012-05-25 10:37:18
FireHost Adds Scheduled Scaling Function to Cloud Hosting Web Hosting News 2011-12-15 17:05:55
Web Host SoftLayer Adds Ksplice Uptrack for No-Reboot Linux OS Updates Web Hosting News 2011-06-09 11:50:15


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?