Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-14-2004, 01:12 AM   #1
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Start and stop services in SUSE - using shell

How can I start and stop services in SUSE at run time. I am looking for the equivalent of the service command in RedHat.

Thanks for any replies .
Old 02-15-2004, 08:43 AM   #2
LQ Newbie
Registered: Feb 2004
Location: Norway
Distribution: slack, mandrake, suse, gentoo
Posts: 3

Rep: Reputation: 0
look in /etc/rc.d
run ./service_you_wanna_control [start | stop | restart | probe]

ex: /etc/rc.d/network restart

i hope this was what you were asking for.. havn't used the service command
Old 02-15-2004, 10:23 AM   #3
Registered: Dec 2003
Location: Fresno
Distribution: Gentoo Ricer
Posts: 85

Rep: Reputation: 15

It controls whether or not the scripts in /etc/rc.d that drzap mentioned start or don't at boot.

"chkconfig" to see the status of all scripts and services in your system.

"chkconfig | grep <script/svc name>" to see the status of just one.

Don't Forget:
"man chkonfig" or "chkconfig --help" for the options.

"chkconfig <script/svc name> off" to turn it off (security!).

"chkconfig <script/svc name> on" for it to start at boot.
Old 02-16-2004, 10:13 PM   #4
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Original Poster
Rep: Reputation: 32
Thanks drzep, that was what I was looking for .


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
HOWTO Check, Start and Stop Services GNewbie MEPIS 9 08-22-2012 10:09 PM
stop and start services hoover93 SUSE / openSUSE 5 12-29-2004 02:48 PM
Gentoo: start / stop services Adony Linux - Newbie 5 12-10-2004 09:39 AM
start and stop services log Linux - General 7 03-21-2003 08:29 PM
Start Stop Restart Services Sifvion Slackware 6 09-14-2002 03:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 AM.

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
Open Source Consulting | Domain Registration