- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- httpd package keeps halting on simple cluster
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2008 08:29 AM
09-24-2008 08:29 AM
httpd package keeps halting on simple cluster
I've got a cluster up and running, but when I try to start the package which should start apache (httpd), it fails immediately.
The package log contains the following:
########### Node "hiptc079": Starting package at Wed Sep 24 17:12:38 BST
2008 ###########
Sep 24 17:12:38 - Node "hiptc079": Adding IP address 9.20.51.245 to subnet 9.20.
50.0
Sep 24 17:12:39 - Node "hiptc079": Starting service httpd using
"/opt/hpws/apache/bin/httpd -k start"
/usr/lib/hpux64/dld.so: End of liblist, invalid RTLD_NEXT argument.
########### Node "hiptc079": Package start completed at Wed Sep 24 17:12
:39 BST 2008 ###########
########### Node "hiptc079": Halting package at Wed Sep 24 17:12:39 BST
2008 ###########
Sep 24 17:12:39 - Node "hiptc079": Halting service httpd
cmhaltserv: Service name httpd is not running.
Sep 24 17:12:39 - Node "hiptc079": Remove IP address 9.20.51.245 from subnet 9.2
0.50.0
########### Node "hiptc079": Package halt completed at Wed Sep 24 17:12:
39 BST 2008 ###########
Obviously it looks like there's an error there when starting httpd, but this is a red-herring, httpd still starts ok. In fact, the httpd process are still running on the server after this failure:
hiptc079: 23 : ps -ef | grep http
www 26655 26639 0 17:12:39 ? 0:00 /opt/hpws/apache/bin/httpd -k start
www 26652 26639 0 17:12:39 ? 0:00 /opt/hpws/apache/bin/httpd -k start
root 26639 1 0 17:12:39 ? 0:00 /opt/hpws/apache/bin/httpd -k start
www 26644 26639 0 17:12:39 ? 0:00 /opt/hpws/apache/bin/httpd -k start
/etc/cmcluster/apach
What's strange is all these processes have the '-k start' in them, if I start httpd from the command line, then they don't.
The syslog.log contains:
Sep 24 17:12:38 hiptc079 cmcld[10988]: Request from node hiptc068 to start packa
ge iainpackage on node hiptc079.
Sep 24 17:12:38 hiptc079 cmcld[10988]: Executing '/etc/cmcluster/apach/apach.sh
start' for package iainpackage, as service PKG*63489.
Sep 24 17:12:38 hiptc079 CM-CMD[26630]: cmmodnet -a -i 9.20.51.245 9.20.50.0
Sep 24 17:12:39 hiptc079 CM-CMD[26635]: cmrunserv httpd >> /etc/cmcluster/apach/
apach.sh.log 2>&1 /opt/hpws/apache/bin/httpd -k start
Sep 24 17:12:39 hiptc079 cmcld[10988]: Service PKG*63489 terminated due to an ex
it(0).
Sep 24 17:12:39 hiptc079 cmcld[10988]: Started package iainpackage on node hiptc
079.
Sep 24 17:12:39 hiptc079 cmcld[10988]: Service httpd terminated due to an exit(0
).
Sep 24 17:12:39 hiptc079 cmcld[10988]: Service httpd in package iainpackage has
gone down.
Sep 24 17:12:39 hiptc079 cmcld[10988]: Disabled node hiptc079 from running packa
ge iainpackage.
Sep 24 17:12:39 hiptc079 cmcld[10988]: Executing '/etc/cmcluster/apach/apach.sh
stop' for package iainpackage, as service PKG*63489.
Sep 24 17:12:39 hiptc079 cmomd[26479]: Successfully started package iainpackage
on node hiptc079.
Sep 24 17:12:39 hiptc079 CM-CMD[26648]: cmhaltserv httpd
Sep 24 17:12:39 hiptc079 CM-CMD[26651]: cmmodnet -r -i 9.20.51.245 9.20.50.0
Sep 24 17:12:39 hiptc079 cmcld[10988]: Service PKG*63489 terminated due to an ex
it(0).
Sep 24 17:12:39 hiptc079 cmcld[10988]: Halted package iainpackage on node hiptc0
79.
The package script apach.sh has the following parameters set:
IP[0]=9.20.51.245
SUBNET[0]=9.20.50.0
SERVICE_NAME[0]=httpd
SERVICE_CMD[0]="/opt/hpws/apache/bin/httpd -k start"
SERVICE_RESTART[0]=""
Also, I set the 'Listen' parameter in httpd.conf to be the relocatable ip address 9.20.50.245
Other potentially interesting params, in the package .config file:
SERVICE_NAME httpd
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 5
Could starting it with 'httpd -k start' be the problem?
Any ideas on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2008 10:23 AM
09-24-2008 10:23 AM
Re: httpd package keeps halting on simple cluster
could you try starting with /sbin/init.d/apache start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2008 10:33 AM
09-24-2008 10:33 AM
Re: httpd package keeps halting on simple cluster
Looks like a a problem in the package configuration file.
invalid RTLD_NEXT argument.
If apache runs normally without SG, its the package configuration script.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 02:17 AM
09-25-2008 02:17 AM
Re: httpd package keeps halting on simple cluster
Sep 25 11:13:29 - Node "hiptc068": Starting service httpd using
"/opt/hpws/apache/bin/httpd -k start"
########### Node "hiptc068": Package start completed at Thu Sep 25 11:13
:29 BST 2008 ###########
########### Node "hiptc068": Halting package at Thu Sep 25 11:13:29 BST
2008 ###########
Sep 25 11:13:29 - Node "hiptc068": Halting service httpd
cmhaltserv: Service name httpd is not running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 02:51 AM
09-25-2008 02:51 AM
Re: httpd package keeps halting on simple cluster
SERVICE_RESTART[0]="-R"
Httpd stays running in this situation, and the relocatable ip address stays active. However the server is continually restarting, and the log file is getting bigger and bigger, filling up with these messages:
hiptc068: 119 : tail -f apach.sh.log
httpd (pid 1534) already running
httpd (pid 1534) already running
httpd (pid 1534) already running
...
...
This is kind of a brute force way of getting it working, and obviously I can't leave it like this.
Still no idea why httpd halts itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2008 05:42 AM
09-25-2008 05:42 AM