LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-03-2002, 05:24 AM   #1
Luc
Member
 
Registered: Oct 2002
Distribution: RedHat Linux 8.0
Posts: 37

Rep: Reputation: 15
Shell-Command to restart Server


Hi,

I need some commands to:

restart SuSe and RedHat linux and
restart/stop/start mysql

does anybody know this command? Im knowing only the "halt" command

thx4help
 
Old 11-03-2002, 05:47 AM   #2
Luc
Member
 
Registered: Oct 2002
Distribution: RedHat Linux 8.0
Posts: 37

Original Poster
Rep: Reputation: 15
ok its strg+alt+del, but i cant use this in shell, if im connectet to a server in frankfurt

or is ther any string for this keyboard command?

Last edited by Luc; 11-03-2002 at 05:50 AM.
 
Old 11-03-2002, 06:23 AM   #3
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
If you simply want to restart the machine, "restart" is the command :-)

If you want to restart just one server, you can do it by sending a "restart" option to it's init script. these will probably be in /etc/rc.d/init.d/ (they are linked to from the /etc/rcX.d directories)

If mysql is run through xinetd, you can do "/etc/rc.d/init.d/xinetd restart" or something similar, and if it's run through it's own daemon, the xinetd up there will be replaced by something similar to mysql... just check out what you've got in initd/ and maybe even do a "less <file>" to see what's in them.

-Adam
 
Old 11-03-2002, 08:21 AM   #4
Luc
Member
 
Registered: Oct 2002
Distribution: RedHat Linux 8.0
Posts: 37

Original Poster
Rep: Reputation: 15
cool thx. But it was "reboot"
 
Old 11-03-2002, 02:49 PM   #5
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
hehe... sorry.... I was tired
 
  


Reply


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
Samba restart command? TSynergy Linux - Newbie 5 03-09-2005 12:13 PM
quick restart-X command?? snwright Linux - Software 11 05-12-2004 04:14 PM
use command vncserver after each restart? ziggie216 Linux - Software 1 11-25-2003 07:54 AM
Restart from Command Line Tezdread Linux - General 3 03-08-2003 07:19 AM
What happened to my restart command? Rampage2884 Linux - General 5 04-10-2002 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration