OHS not starting after giving opmnctl startall with error make_sock: could not bind to address xx.x.x:80
execute the following command to the required changes
-rwsr-s---. 1 root mdvreddy 13278 Feb 8 2013 .apachectl
for other problems, there is a very good blog on similar issues
https://sreejithsna.wordpress.com/2015/09/04/ohs-not-starting-after-giving-opmnctl-startall/
Change permissions of .apachectl from
[2016-12-19T05:51:07.1888+00:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [core.c] [host_id: mdvreddy.markmotels.com] [host_addr: xx.100.100.100] [pid: 8256] [tid: 140065001035584] [user: mdvreddy] [VirtualHost: main] (13)Permission denied: make_sock: could not bind to address xx.100.100.100:80
[2016-12-19T05:51:07.1888+00:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [core.c] [host_id: mdvreddy.markmotels.com] [host_addr: xx.100.100.100] [pid: 8256] [tid: 140065001035584] [user: mdvreddy] [VirtualHost: main] no listening sockets available, shutting down
[2016-12-19T05:51:07.1888+00:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: mdvreddy.markmotels.com] [host_addr: xx.100.100.100] [pid: 8256] [tid: 140065001035584] [user: mdvreddy] [VirtualHost: main] Unable to open logs
[2016-12-19T05:51:09.0676+00:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [core.c] [host_id: mdvreddy.markmotels.com] [host_addr: xx.100.100.100] [pid: 8263] [tid: 140187892651840] [user: mdvreddy] [VirtualHost: main] (13)Permission denied: make_sock: could not bind to address xx.100.100.100:80
[2016-12-19T05:51:09.0676+00:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [core.c] [host_id: mdvreddy.markmotels.com] [host_addr: xx.100.100.100] [pid: 8263] [tid: 140187892651840] [user: mdvreddy] [VirtualHost: main] no listening sockets available, shutting down
[2016-12-19T05:51:09.0676+00:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: mdvreddy.markmotels.com] [host_addr: xx.100.100.100] [pid: 8263] [tid: 140187892651840] [user: mdvreddy] [VirtualHost: main] Unable to open logs
cd /u01//Oracle_WT1/ohs/bin
-rwxr-x---. 1 mdvrd mdvrd 12315 Feb 8 2013 .apachectl
[mdvrd@mdvreddy.markmotels.com bin]$
execute the following command to the required changes
su root chown root .apachectlto
chmod 6750 .apachectl
su mdvreddy
-rwsr-s---. 1 root mdvreddy 13278 Feb 8 2013 .apachectl
I see it is working..
cd /u01//Oracle_WT1/instance/instance1/bin ./opmnctl stopall
./opmnctl startall
./opmnctl status
for other problems, there is a very good blog on similar issues
https://sreejithsna.wordpress.com/2015/09/04/ohs-not-starting-after-giving-opmnctl-startall/
Thanks a lot, I faced similar issue, and this post helped to fix it>
ReplyDelete