Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I shut down Tomcat I get the following:

* Caching service dependencies...                 [ ok ]
* Stopping Tomcat...                              [ !! ]

What does Caching service dependencies mean?

share|improve this question

Are you using Gentoo? When you stop a service, Baselayout checks if there are other services depending on the service you are stopping. If it is the case, they are stopped before, in order of dependencies.

Whenever you restart a service in a distro based on Baselayout, it runs the /sbin/ script, which stores dependencies in /var/lib/init.d/depcache. You will observe however that the message is not always printed. That's because while is run each time, it only creates a new cache if any file in /etc/rc.d/, /etc/conf.d/or the file /etc/rc.conf is changed.

For more details, refer to the script itself.

share|improve this answer
Yes, it's Gentoo. Is caching == stopping? – Arne Evertsson Dec 6 '10 at 9:06
No, just updating the /var/lib/init.d/depcache file. All services are left in their current started/stopped state. – Prof. Moriarty Dec 7 '10 at 11:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.