Visit Jeremy's Blog.
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 05-15-2012, 07:20 AM   #1
Registered: Apr 2010
Posts: 82

Rep: Reputation: 1
remove from services

I made a file executable and added to services list using

now I want to remove from services please advice me how.'
Old 05-15-2012, 09:12 AM   #2
Registered: Apr 2010
Posts: 82

Original Poster
Rep: Reputation: 1
Originally Posted by View Post
I made a file executable and added to services list using

now I want to remove from services please advice me how.'
here what i did

Put the file under /etc/inid.d/tomcat
Give execute privilege to the file (chmod +x /etc/init.d/tomcat)
Add the file into service list (chkconfig ––add tomcat)

now if I want to delete tomcat can I just delete or should I remove from services first?
Old 05-15-2012, 12:33 PM   #3
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,135

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849

To remove a servers reverse the the steps used to install it.
So your first step will be to delete it form the service list using chkconfig.
Old 05-15-2012, 02:08 PM   #4
Senior Member
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
chkconfig your_service_name off
this will set "your_service_name" to "off" all levels (1-5)

then remove it from the directory.

In this order!


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
Safe to remove the following boot-up services? General Linux - General 3 07-22-2006 03:01 PM
remove services alaios Debian 3 01-10-2005 09:28 PM
how to remove linux Services?? Ameii83 Linux - Software 5 12-28-2004 08:17 PM
how 2 remove services from startup?? fhameed Linux - Software 4 08-30-2004 10:39 PM
How can i remove these services? Kinstonian Linux - General 2 04-15-2003 10:19 PM

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