Manually resetting services on Gentoo

Jboss 3.2.3, which runs on my box, crashes about every 24 hours. This would of course be a huge problem for a production quality system, not for a prototyping-only installation such as mine though. Nevertheless there’s a problem. As soon as I stop Jboss by executing “/etc/init.d/jboss stop”, Jboss fails to shutdown properly. Restarting the jboss service afterwards doesn’t work as the start script wrongly assumes that jboss is still running. Fortunately, there’s a way to manually reset the state of services in Gentoo. For Jboss, just do:

# /etc/init.d/jboss zap

Afterwards you can restart Jboss by executing

# /etc/init.d/jboss start

CategoriesITTags

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.