Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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/depscan.sh 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 depscan.sh 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
add comment

Your Answer

 
discard

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.