Operating System - HP-UX
1833764 Members
2086 Online
110063 Solutions
New Discussion

kcweb on hpux11.23 cannot start

 
tommy_28
Frequent Advisor

kcweb on hpux11.23 cannot start

Hello,

# kcweb
Attempting to start server...
ERROR: attempt to start '/opt/hpws/apache/bin/httpd' failed.

Trying
#/opt/hpws/apache/bin/apachectl start
It seems the apache works fine.


I found their's another apachectl in /hpwebadmin/lbin/apachectl
Trying this returns error.
# /apachectl start
no listening sockets available, shutting down
Unable to open logs
./apachectl start: httpd could not be started

I've tried remove &reinstall below filesets, but there's no help.
hpuxwsApache B.1.0.06.01 HP-UX Apache-based Web Server
hpuxwsTomcat B.1.0.06.01 HP-UX Tomcat-based Servlet Engine
hpuxwsWebmin A.1.0.06.01 HP-UX Webmin-based Admin
hpuxwsXml A.1.0.06.01 HP-UX XML Web Server Tools


What can I do?
Thx!
5 REPLIES 5
Pieter_5
Advisor

Re: kcweb on hpux11.23 cannot start

Check on which ports the apache tries to listen. It seems that the sockets on which it wants to to listen is already taken. That probably the reason why the other apache start works. It simply listen to another (open) socket.
tommy_28
Frequent Advisor

Re: kcweb on hpux11.23 cannot start

#netstat
showed arround 260 sockets occupied, I found in another machine only 1/10 of them.

How to check which socket is in use while others not?

Thx.
Rgomes
Valued Contributor

Re: kcweb on hpux11.23 cannot start

Hi Tommy,

So far I can remember, kcweb should listen on port 1188. Can you check that whether this port is occupied or not.

regards,
Richard
John Ross_1
Occasional Advisor

Re: kcweb on hpux11.23 cannot start

Try this:

kcweb -c

This will recreate the SSL certificates.

Then try running kcweb -F

I was having what appears to be the exact same problem as you and this fixed mine.
磯部 剛
New Member

Re: kcweb on hpux11.23 cannot start

I was same condition as you.
Please check the path of the "openssl" command.
"/opt/wbem/sbin/openssl" is OK.
"/usr/bin/openssl" in "hpuxiexpress1" is NG.