LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-19-2008, 05:52 PM   #1
rkm11
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..

Thanks,
Ryan
 
Old 08-21-2008, 04:42 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
no
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).
 
  


Reply



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 12:16 PM
WINE: simulate a windows reboot Jayla Linux - Software 2 04-02-2008 09:24 AM
Simulate right-click? General Linux - Software 3 05-07-2007 08:06 PM
How to simulate a keypress.. fw12 Linux - General 1 11-13-2006 03:13 PM
simulate reboot effect on hd edgjerp Linux - Hardware 0 05-22-2006 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:49 AM.

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