LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices



Reply
 
Search this Thread
Old 11-23-2005, 06:15 PM   #1
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 269

Rep: Reputation: 31
HOWTO Check, Start and Stop Services


how does one check, start and stop services? i'm specifically interested in starting and stopping apache2 and postgresql8.

tia...
 
Old 11-23-2005, 06:41 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,154

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Try /etc/init.d/<service> status to check its status. (As root, of course.)

Edit: Where "<service>" means "The service name shown by ls /etc/init.d."

Other options are (usually) start, stop, and restart.

If you're using a GUI, there is (again, usually) a "Services" menu item you can use.

Last edited by PTrenholme; 11-23-2005 at 06:44 PM.
 
Old 11-23-2005, 06:57 PM   #3
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Rep: Reputation: 14
activate debian mirrors in synaptic

apt-get install rcconf as root in a terminal (or use synaptic)

(-that package is not included in mepis)

open terminal, su to root

type rcconf

--you get a text based interface that allows you to stop and start services
 
Old 11-23-2005, 08:05 PM   #4
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
or if you prefer a GUI ksysv or bum will do the job quite nicely
 
Old 11-24-2005, 06:31 PM   #5
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Rep: Reputation: 14
right, but bum is not available on my system, the sysv prog in kde is a bit complex
--> rcconf is always available and debian's text mode proggies are very fast & effective
 
Old 10-30-2010, 03:27 AM   #6
antiartist
LQ Newbie
 
Registered: Jul 2010
Location: Calgary, Alberta, Canada
Distribution: Ubuntu (minimal install - command line only)
Posts: 9

Rep: Reputation: 0
How to stop specific services

Hello;

I would also like to stop a few particular services so that I can do a dist-upgrade.

rcconf shows only one of the services I wish to stop (xdm) but there is no dot to the left of the service name which, as far as I understand, means it was not loaded at boot. The other service I wish to stop (xscreensaver) is not listed here at all.

Just so you know, I am attempting to upgrade my distribution of Debian but when updating libc...something, the installer says I need to stop the above mentioned services first.

What am I missing here? I'm rather new to Linux.

Last edited by antiartist; 10-30-2010 at 03:28 AM.
 
Old 10-30-2010, 09:10 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by coyopil View Post
activate debian mirrors in synaptic

apt-get install rcconf as root in a terminal (or use synaptic)

(-that package is not included in mepis)

open terminal, su to root

type rcconf

--you get a text based interface that allows you to stop and start services
According to the Distributions mentioned in the OPs profile (U/K/X)buntu), it is not a good idea to activate the Debian repos in his synaptic. Debian and Ubuntu are not binary compatible, and according to the version the OP uses (6.10), the next update will do severe damage to his system.
 
Old 08-18-2012, 06:15 AM   #8
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Rep: Reputation: 14
Smile cross over repos, comment

Quote:
Originally Posted by TobiSGD View Post
According to the Distributions mentioned in the OPs profile (U/K/X)buntu), it is not a good idea to activate the Debian repos in his synaptic. Debian and Ubuntu are not binary compatible, and according to the version the OP uses (6.10), the next update will do severe damage to his system.
Yes, it goes without saying that Debian repos will not work for an upgrade in Ubuntu.
But it's perfectly safe to install a lot of applications from debian in Ubuntu and vice versa.

F.ex I install the gtk1 version of the Emelfm file manager from Ubuntu 8.04 in Debian where it is no longer available.

The repos must be deactivated after successful install in such a case of course.
 
Old 08-22-2012, 10:59 PM   #9
zeeone
LQ Newbie
 
Registered: Apr 2003
Location: Third Stone From The Sun
Distribution: Linux
Posts: 29

Rep: Reputation: 15
Oh Boy, for KDE4 for the the GUI to start and start services, open System Settings >System Administration > Startup and Shutdown >Service Manager. Highlight the service and click on the stop button.
To restart the service, highlight it, click the start button, done.
 
Old 08-22-2012, 11:09 PM   #10
zeeone
LQ Newbie
 
Registered: Apr 2003
Location: Third Stone From The Sun
Distribution: Linux
Posts: 29

Rep: Reputation: 15
Quote:
Originally Posted by antiartist View Post
Hello;

I would also like to stop a few particular services so that I can do a dist-upgrade.

rcconf shows only one of the services I wish to stop (xdm) but there is no dot to the left of the service name which, as far as I understand, means it was not loaded at boot. The other service I wish to stop (xscreensaver) is not listed here at all.

Just so you know, I am attempting to upgrade my distribution of Debian but when updating libc...something, the installer says I need to stop the above mentioned services first.

What am I missing here? I'm rather new to Linux.
What desktop are you using? And in most cases the Deb installers stop what services that need to be upgraded. You have Ubuntu listed as your distro. Which Deb are you trying
to upgrade?
 
  


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
stop and start services hoover93 Suse/Novell 5 12-29-2004 03:48 PM
Gentoo: start / stop services Adony Linux - Newbie 5 12-10-2004 10:39 AM
Start and stop services in SUSE - using shell UltimaGuy Linux - Newbie 3 02-16-2004 11:13 PM
start and stop services log Linux - General 7 03-21-2003 09:29 PM
Start Stop Restart Services Sifvion Slackware 6 09-14-2002 04:13 AM


All times are GMT -5. The time now is 05:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration