1826177 Members
2279 Online
109691 Solutions
New Discussion

kcweb

 
SOLVED
Go to solution
Ross Minkov
Esteemed Contributor

kcweb

hpcis1 -> kcweb
Attempting to start server...
ERROR: server '/opt/apache/bin/httpd' does not exist or is not executable.
hpcis1 -> swlist | grep -i apache
hpuxwsApache
18 REPLIES 18
John Dvorchak
Honored Contributor

Re: kcweb

I am guessing that you are having trouble starting the web server. It is not clear what you are asking.

The ERROR is a big hint. /opt/apache/bin/httpd is either not there, or is not executable. Verify first if it is in /opt/apache/bin:

ll /opt/apache/bin/httpd

if it is there then look at the permissions, it should be executable r_x or rwx ie:

#ll /opt/apache/bin/httpd
-rwxr-xr-x 1 bin bin 924820 Oct 16 2002 /opt/hpapache2/bin/httpd

If it has wheels or a skirt, you can't afford it.
Ross Minkov
Esteemed Contributor

Re: kcweb

I don't have /opt/apache

But I have these:

hpcis1 -> ls -l /opt/ | g apache
drwxr-xr-x 21 bin bin 8192 May 16 20:51 hpapache2
hpcis1 -> ls -l /opt/hpws/ | g apache
drwxr-xr-x 22 bin bin 8192 Oct 23 10:00 apache

I tried creating a link /opt/apache to both /opt/hpapache2 and /opt/hpws/apache, but neither one worked. When tried to start kcweb I got:

ERROR: attempt to start '/opt/apache/bin/httpd' failed.


Vijaya Kumar_3
Respected Contributor

Re: kcweb

I dont know how kcweb works. But i know well how apache works. It seems some PATH and location problem. you need edit kcweb config files , ( i am not sure which one)

try starting manually and see what happens.
Also do a ,

find /opt -name httpd -print 2>/dev/null

and see you are able to point out. Also if you are sure about the kcweb (is it a script) edit it for correct path.

Thanks
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Hemanth Gurunath Basrur
Honored Contributor
Vijaya Kumar_3
Respected Contributor

Re: kcweb

Also, post your apache logs... under logs directory.


Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Pramod_4
Trusted Contributor

Re: kcweb

I believe you need to have apache installed in order to use Web based kernel config manager.

If you are invoking Kernel config from SAM, you will have a choice of invoking Web/Non web interface for Kernel Configuration.

Pramod
Ross Minkov
Esteemed Contributor

Re: kcweb

This did not work either... :(

hpcis1 -> kcweb -s startssl
Attempting to start server...
ERROR: attempt to start '/opt/apache/bin/httpd' failed.
Ross Minkov
Esteemed Contributor

Re: kcweb

I do have Kernel Config (kcweb) in SAM, but if I double-click it it gives me the same error.


BTW, this is HP-UX 11.11
Pramod_4
Trusted Contributor

Re: kcweb

Ross,

Just install Apache and try it out. I had installed it on HP-UX 11.i with Apache and I haven't faced any problem.

Thnaks,
Pramod
Vijaya Kumar_3
Respected Contributor

Re: kcweb

can u do a:

/opt/hpapache2/bin/apachectl start

and see what happens.
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Hemanth Gurunath Basrur
Honored Contributor
Ross Minkov
Esteemed Contributor

Re: kcweb


I can start it manually just fine

hpcis1 -> /opt/apache/bin/apachectl start
hpcis1 -> ps -ef | grep httpd
www 5107 5106 0 12:36:11 ? 0:00 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
root 5111 5003 1 12:36:18 pts/0 0:00 grep httpd
www 5108 5106 0 12:36:11 ? 0:00 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
www 5109 5106 0 12:36:11 ? 0:00 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
root 5106 1 0 12:36:11 ? 0:00 /opt/hpws/apache/bin/httpd -d /opt/hpws/apache -k start
Ross Minkov
Esteemed Contributor

Re: kcweb


OK. Looks like you need to have an old version of Apache to make it work. From the link Hemanth gave me:

... you must have Apache (version 1.3.19.22) installed on the system

I have Apache version 2.0.47.

So, where can I download Apache 1.3.19.22 and is it safe to install it over the existing one?
Pete Randall
Outstanding Contributor

Re: kcweb

Ross,

If I were you, I would swremove the version(s) you have now and download and install a new one:

https://payment.ecommerce.hp.com/portal/swdepot/try.do?productNumber=HPUXWSATW100901


Pete



Pete
Pramod_4
Trusted Contributor

Re: kcweb

After you started the Apache server, did you try to bring up kcweb ?

Ross Minkov
Esteemed Contributor

Re: kcweb

I did and it failed again with the same error as before.
Hemanth Gurunath Basrur
Honored Contributor

Re: kcweb

Hello Ross,

Check out the following link:

http://software.hp.com/products/KCWEB/index.html

There is a note, which says

The full version of HP-UX Kernel Configuration (kcweb) 11i v1.6 (B.11.22) enabled for Apache 2.0 will be available as a Web release by the end of October 2003.

You can download APACHE 1.3 from the following link:

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW100301

Hope this helps.

Regards,
Hemanth
Ross Minkov
Esteemed Contributor

Re: kcweb

thanks for your help