Showing posts with label chkconfig. Show all posts
Showing posts with label chkconfig. Show all posts
Tuesday, 26 June 2012
After reboot Jboss service starts but chek fails on port 8080
After jboss started up there was still a check failing in monitoring. The check was on port 8080. The server was responding on port 80 but not 8080. It turned out iptables was the cause. It was set to start on boot on the server. It was turned off on other servers. Added jboss into chkconfig on the server. Turned iptables off on boot (to mirror config as other servers). Set httpd/jboss to start on boot with chkconfig. Set iptables not to start. All fixed now.
Monday, 21 May 2012
How to check if a service is set to start on boot in linux
man chkconfig for more details
Below shows me checking the start up status of the smb service, setting it to start on boot and then checking again to confirm the change.
Below shows me checking the start up status of the smb service, setting it to start on boot and then checking again to confirm the change.
$ chkconfig --list | grep smb smb 0:off 1:off 2:off 3:off 4:off 5:off 6:off $ chkconfig smb on $ chkconfig --list | grep smb smb 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Subscribe to:
Posts (Atom)