Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links


How to disable services in linux

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-01-2011
Member
 
Join Date: Nov 2010
Posts: 48
How to disable services in linux

Sponsored Links
I needed to ask this with you all. I just wanted to know how can I disable a particular service In the linux operating system permanently. Whenever I disable a particular service it seems to come back again. Whenever I reboot the system. I have tried this several times and it seems to be repeating again. Well I have read several manuals regarding this topic but none of them have helped me. So could you all give me a perfect solution for this.

Reply With Quote
  #2  
Old 04-01-2011
Elijah's Avatar
Member
 
Join Date: May 2008
Posts: 862
Re: How to disable services in linux

Well what you can do is go and type this command In the command prompt.
- /etc/init.d/
All the services that you need to run, stop or pause then you need to go to this particular location. So once you have entered here then you have to specify the particular service and then type the above command for example if you want to stop samba service then you need to type the following command
- Stop /etc/init.d/samab stop
So just try with this solution and let me know if it works for you.
Reply With Quote
  #3  
Old 04-01-2011
Aleksandra's Avatar
Member
 
Join Date: May 2008
Posts: 992
Re: How to disable services in linux

Well what you can do is to go and check the list of services that is needed for you and the one which is not needed for you. So what you can do is to specify whether you want to remove or not in front of that service. Save that particular file in the text format. So when you have finally got the list then go to the root directory and type the following command
- ‘chmod +x servicescript’
After that get into the terminal and after the major upgrade type the following command
- ‘./servicescript’
After doing this do a reboot of the system and see the changes.
Reply With Quote
  #4  
Old 04-01-2011
Member
 
Join Date: Nov 2010
Posts: 48
Re: How to disable services in linux

Well let me inform you that this is not the perfect method for the stopping of the service. This is because I have tried with the above solutions and none of the solution worked for me. So what more can I do now. I had also tried with the first solution specified here but that also did not give me the desired result. It also started after I restarted my system. So what can be the exact problem behind these can you explain.
Reply With Quote
  #5  
Old 05-01-2011
Member
 
Join Date: Apr 2009
Posts: 923
Re: How to disable services in linux

Well it all depends on which type of the linux operating system are you suing. The solution that is specified above are all for the Ubuntu based Mint and you might be using the Linux Mint Debian Edition. So that's why it is giving you such error. So this can be the possibility. Other than that the second possibility may be due to the System v jobs that are present in the Ubuntu based Mint which you might be using is turned off. So that’s why it is giving you such an error. However you take a note of these possibilities and ensure all these methods are worked with.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to disable services in linux"
Thread Thread Starter Forum Replies Last Post
How to disable data services in Blackberry storm Vandam Portable Devices 3 13-05-2009 08:38 AM
Disable unnecessary services in Windows 7 ComPaCt Operating Systems 4 16-04-2009 10:39 PM
Disable Unnecessary services in Vista Kraker999 Customize Desktop 3 31-03-2009 03:24 PM
How can I disable certain services in Windows XP ? Sonic Operating Systems 2 24-02-2009 06:00 PM
Disable unnecessary services in Windows XP SP2 Philip Neri Operating Systems 3 28-01-2009 11:19 AM


All times are GMT +5.5. The time now is 07:06 PM.