from small one page howto to huge articles all in one place
 

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

53478

userrating:

average rating: 1.5 (4 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Gentoo Initscripts


This article has a look at some nice to know things about initscripts that every sysadmin and user should at least have heard of once.

By installing and administering your installation of Gentoo Linux you will have learned about how to add services to a specific runlevel, and how to start and stop those services.

But most users are not aware of some other nifty functions in the Gentoo initscripts that have the potential for making their lives easier in administering their Gentoo boxes.

Q: What to do if I can't stop a service? What if the processes were killed but my system thinks they are still running?
A: Execute /etc/init.d/ zap to reset the status of the service.

Q: How do I figure out if a service is running or not?
A: /etc/init.d/ status will tell you the current status of the given service.

Q: And while we're at it, how can I see all services running?
A: rc-status lists all services that have been started and their current status.

Q: How to restart a service?
A: /etc/init.d/ restart restarts the service.

Q: How do I find out what other services have to be started when I want to use ?
A: /etc/init.d/ ineed will give you a list of services that need to be running before this service can be started.

Q: Which services need/depend on this ?
A: /etc/init.d/ needsme lists all services that depend on the service given.

For further information on how runlevels work in Gentoo Linux please take a look at the Initscript guide that is part of the Gentoo System Documentation.


rate this article:
current rating: average rating: 3.5 (4 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2019-12-11
2019-12-10
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2018 Sascha Nitsch Unternehmensberatung UG(haftungsbeschänkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 68.3 ms