Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-19-2008, 06:52 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Simulate a reboot

I have a cPanel VPS, I was working on editing some cPanel files and such as a development machine.

At any rate (and don't ask why) I deleted /usr/lib/python2.4/site-packages

It took a while to get yum working again (I had to wget all the rpms for python, sqlite, yum, and a few others and rpm -U --replacepkgs to get things working again.

I believe Python wouldn't prevent the machine from booting, but is there a program or command to simulate a reboot? To detect errors in the boot-up process that would prevent the machine from coming back up? Or maybe just a basic checklist of things to run through..

Old 08-21-2008, 05:42 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
since bootup will involve kernel running + starting up at /etc/rc.sysinit, it is also DANGEROUS to call rc.sysinit directly from a running system (you may end up with serious file system corruption).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulate a process djfog Linux - Newbie 3 07-03-2008 01:16 PM
WINE: simulate a windows reboot Jayla Linux - Software 2 04-02-2008 10:24 AM
Simulate right-click? General Linux - Software 3 05-07-2007 09:06 PM
How to simulate a keypress.. fw12 Linux - General 1 11-13-2006 04:13 PM
simulate reboot effect on hd edgjerp Linux - Hardware 0 05-22-2006 03:16 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration