Monday, 25 August 2014

Permission denied: make_sock: could not bind to address 0.0.0.0:80 in Oracle http server


Error getting from OHS log

[2014-08-25T17:26:27.000+06:00] [ohs1] [UNKNOWN] [] [console] [host: istelar.localdomain] [nwaddr: 192.168.10.210] /u01/oracle/middleware/Oracle_FRHome1/ohs/bin/apachectl startssl: execing httpd
[2014-08-25T17:26:27.000+06:00] [ohs1] [UNKNOWN] [] [console] [host: istelar.localdomain] [nwaddr: 192.168.10.210] Start process
[2014-08-25T17:26:27.992+06:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host: istelar.localdomain] [nwaddr: 192.168.10.210] [pid: 22974] [tid: 140343298516800] [userId: oracle] [VirtualHost: main]  Unable to open logs
[2014-08-25T17:26:27.992+06:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [worker.c] [host: istelar.localdomain] [nwaddr: 192.168.10.210] [pid: 22974] [tid: 140343298516800] [userId: oracle] [VirtualHost: main]  no listening sockets available, shutting down
[2014-08-25T17:26:27.992+06:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host: istelar.localdomain] [nwaddr: 192.168.10.210] [pid: 22974] [tid: 140343298516800] [userId: oracle] [VirtualHost: main] (13)Permission denied:  make_sock: could not bind to address 0.0.0.0:80
[2014-08-25T17:26:27.992+06:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host: istelar.localdomain] [nwaddr: 192.168.10.210] [pid: 22974] [tid: 140343298516800] [userId: oracle] [VirtualHost: main] (13)Permission denied:  make_sock: could not bind to address [::]:80
[2014-08-25T17:26:29.000+06:00] [ohs1] [UNKNOWN] [] [console] [host: istelar.localdomain] [nwaddr: 192.168.10.210] /u01/oracle/middleware/Oracle_FRHome1/ohs/bin/apachectl startssl: execing httpd
[2014-08-25T17:26:29.000+06:00] [ohs1] [UNKNOWN] [] [console] [host: istelar.localdomain] [nwaddr: 192.168.10.210] Start process
[2014-08-25T17:26:29.047+06:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host: istelar.localdomain] [nwaddr: 192.168.10.210] [pid: 22978] [tid: 139745400321856] [userId: oracle] [VirtualHost: main]  Unable to open logs
[2014-08-25T17:26:29.047+06:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [worker.c] [host: istelar.localdomain] [nwaddr: 192.168.10.210] [pid: 22978] [tid: 139745400321856] [userId: oracle] [VirtualHost: main]  no listening sockets available, shutting down
[2014-08-25T17:26:29.047+06:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host: istelar.localdomain] [nwaddr: 192.168.10.210] [pid: 22978] [tid: 139745400321856] [userId: oracle] [VirtualHost: main] (13)Permission denied:  make_sock: could not bind to address 0.0.0.0:80
[2014-08-25T17:26:29.047+06:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host: istelar.localdomain] [nwaddr: 192.168.10.210] [pid: 22978] [tid: 139745400321856] [userId: oracle] [VirtualHost: main] (13)Permission denied:  make_sock: could not bind to address [::]:80

Solution:

Step1: Go to /u01/oracle/middleware/Oracle_FRHome1/ohs/bin location

Step2: Check the permission of .apachectl file permission

[oracle@istelar bin]$ ls -l .apachectl
-rwxr-x--- 1 oracle oinstall 465658 Oct 27 2009 .apachectl 

Step3: Change the permission of .apachectl file

[root@istelar bin]# chown root .apachectl
[root@istelar bin]# chmod 6750 .apachectl

[oracle@istelar bin]$ ls -la .ap*
-rwsr-s--- 1 root oinstall 13278 Nov 19  2011 .apachectl

[oracle@istelar bin]$

Step4: Now start the /u01/stelar11g/Script/OPMN.sh service

Step5: Now check the log

1 comment:

  1. Jadwal Resmi Laga Ayam SV388 14 Maret 2019 - Kamis, 14 Maret 2019 – Pada Hari Tersebut Akan Di Laksanakan Berbagai Pertandingan Sabung Ayam Secara Live di Arena Sabung Ayam Thailand.

    Situs Judi Sabung Ayam Online SV388 Merupakan Situs Judi Asal Thailand Yang Sangat Terkenal Dengan Permainan Sabung Ayam Yang Fair dan Menghibur Para Penonton Judi Sabung Ayam.

    Untuk Info Lebih Lanjut Bisa Hub kami Di :
    wechat : bolavita
    line : cs_bolavita
    whatsapp : +628122222995
    BBM: BOLAVITA

    ReplyDelete