httpd and tomcat start when boot
I want httpd(apache http server) and tomcat to start when my box starts up, I installed httpd using yum and tomcat I did manual installation and I created tomcat file and added it to chkconfig
when I do chkconfig--list I get this Code:
[root@domU-12-31-39-0E-AA-22 ec2-user]# chkconfig --list |
Well,
Let's try to get a bit more information to find the core cause of the issue... Can you get us the sections of the logs for both apache and tomcat where it attempts to start and then fails out? You can check a couple locations:
HTH. Let us know. |
here is logs for httpd/error_log
Code:
Quote:
|
Did you use these commands-
Code:
# chkconfig httpd on |
Code:
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off |
I tried as you said and rebooted .
checked service httpd status got this Code:
httpd dead but subsys locked Quote:
|
There could be an issue with Apache configuration. Look into the error logs.
|
Hmmmm...
Well, from the following snippet of the original post: Code:
tomcat 0:off 1:off 2:off 3:on 4:on 5:on 6:off So, when you try to browse to that page inside your network, or from the system itself, do you get anything? BTW, if you have no GUI on the server, or are only ssh'd into it, you can use 'lynx' to check it from the console on the server itself. You can try the above URL and/or try http://127.0.0.1:8080/ and see if anything comes up. HTH. Let us know. |
Quote:
Code:
# rm -f /var/lock/subsys/httpd Code:
# /etc/init.d/httpd restart |
All times are GMT -5. The time now is 01:55 AM. |