..:: Foobar.Trikarso.Com ::.. A whole bunch of nothing from Dez
Home | Calendar | Resumé | Photo Gallery | Big White | Blog | Experiments | Links | Machine Room | Study Stuff | Archive | Random Link | MyFiles


Machine Room

« WAP | Main | 2004 Timetable »

January 09, 2004

OpenBSD Trouble

Last week I had a slight problem with my OpenBSD box, in that Apache was constantly crashing and bringing the system down. I know this is an extremely rare occurance. Anyway, the problem was that Apache automatically started on boot, and there's no way I knew how to go through the boot process interactively (ANY SUGGESTIONS?)

Anyway, here's my work around, which is based on what happens when you forget the root password:

(1) At the

boot >> 
prompt enter:
boot >> boot -s

(2) At the
localhost >> 
prompt enter:
localhost >> fsck -p /usr && mount /usr
localhost >> fsck -p / && mount -uw /
localhost >> tcsh
localhost >> setenv TERM xterm

(3) You should now have access to vi and at least /, /usr and probably /etc too if it's on the root partition.

Posted by Derek at January 9, 2004 10:10 PM
Comments
Search


This Site
Photos
Google
Recent Entries
Pigeon Update
Pigeon cam
Pigeons
Life is good
The opera house
Finally, another blog: Life in Sydney, Cognos cubes, Family and the Auto Show... Phew!
Computer graveyard.
Australia square
Flickr
Ben doesn't believe this is on the net
Archives
December 2005
November 2005
October 2005
July 2005
June 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
June 2004
April 2004
March 2004
February 2004
January 2004
December 2003
Contact Info
Skype: dtrikarso
MSN : trikarso@bigfoot.com
ICQ : 4291150
AIM : SweeetTetris
Y! : derek_trikarso
E-mail : derek(_AT_)trikarso.com
Mobile : +61 423 170 760
Current Perth Weather
Temp:
Rain:
Wind: @

Local Time : (GMT+8)
© Derek Trikarso 2003 - 2008