- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: cmrunpkg : Script failed with no restart
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
Discussions
Discussions
Forums
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
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
тАО12-07-2005 03:03 AM
тАО12-07-2005 03:03 AM
cmrunpkg : Script failed with no restart
I never,ever install service guard for linux before. Now, I encounted a problem when I perform cmrunpkg for apache toolkit. The error messages as following:
[root@sglx02 http_pkg1]# cmrunpkg -n sglx02 http_pkg1
cmrunpkg : Script failed with no restart: http_pkg1 should not be restarted.
Check the syslog on node sglx02 and pkg log files for more detailed information.
My system information as following:
node 1 : HP DL580 G3 with 2 HBAs
node 2 : HP DL380 G3 with 2 HBAs
storage: HP MSA 1000 with 1 san 8 port switch
os : RHEL AS3 U6
service guard for linux 11.16
apache toolkit A.02.00
Thank you for any advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 03:24 AM
тАО12-07-2005 03:24 AM
Re: cmrunpkg : Script failed with no restart
You can use cmviewconf to determine the exact location of the log files since they will be located in the same directory as the run script file which is listed by this command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 03:34 AM
тАО12-07-2005 03:34 AM
Re: cmrunpkg : Script failed with no restart
Thank you for you replay quickly.The following is cmviewconf result.I can't find any log messages.
[root@sglx02 http_pkg1]# cmviewconf
Cluster information:
cluster name: cluster1
version: 0
flags: 50
heartbeat interval: 1.00 (seconds)
node timeout: 2.00 (seconds)
heartbeat connection timeout: 4.00 (seconds)
auto start timeout: 600.00 (seconds)
network polling interval: 2.00 (seconds)
qs host: (not configured)
Cluster Node information:
Node ID 1:
Node name: sglx01
cluster lock lun name: /dev/sda1
Network ID 1:
ppa: 0
old_ppa: 0
mac addr: 0x0014c2633d41
hardware path: eth0
network interface name: eth0
IPv4 Information:
subnet: 192.168.8.0
subnet mask: 255.255.248.0
ip address: 192.168.15.115
IPv6 Information:
flags: 0 (Non-Heartbeat Network)
Network ID 2:
ppa: 0
old_ppa: 0
mac addr: 0x0014c2633d40
hardware path: eth1
network interface name: eth1
IPv4 Information:
subnet: 10.1.1.0
subnet mask: 255.255.255.0
ip address: 10.1.1.1
IPv6 Information:
flags: 1 (Heartbeat Network)
Node ID 2:
Node name: sglx02
cluster lock lun name: /dev/sda1
Network ID 1:
ppa: 0
old_ppa: 0
mac addr: 0x001321ccf14d
hardware path: eth0
network interface name: eth0
IPv4 Information:
subnet: 192.168.8.0
subnet mask: 255.255.248.0
ip address: 192.168.15.116
IPv6 Information:
flags: 0 (Non-Heartbeat Network)
Network ID 2:
ppa: 0
old_ppa: 0
mac addr: 0x001321ccf14c
hardware path: eth1
network interface name: eth1
IPv4 Information:
subnet: 10.1.1.0
subnet mask: 255.255.255.0
ip address: 10.1.1.2
IPv6 Information:
flags: 1 (Heartbeat Network)
Cluster Access Policy Information: (Not Defined)
Package information:
maximum configured packages: 30
package ID 29185:
package name: http_pkg1
package global flags: 1
(Package Switch Enabled)
(Configured Node Failover)
(Manual Failback)
package run script: /usr/local/cmcluster/conf/http_pkg1/http_pkg.cntl
package run timeout: (No Timeout)
package halt script: /usr/local/cmcluster/conf/http_pkg1/http_pkg.cntl
package halt timeout: (No Timeout)
package primary node: sglx01
package alternate node: sglx02
package services:
service ID: 1
service name: httpd.monitor
service halt timeout: 0 (seconds)
service fail fast: Disabled
package access policies: (Not Defined)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 04:33 AM
тАО12-07-2005 04:33 AM
Re: cmrunpkg : Script failed with no restart
Try this
cmmodpkg -e -n sglx02 http_pkg1
cmrunpkg -n sglx02 http_pkg1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 06:21 AM
тАО12-07-2005 06:21 AM
Re: cmrunpkg : Script failed with no restart
What does the /var/log/messages file contain regarding this failure?
What does it say in the package logs on the node it failed on? look in:
/usr/local/cmcluster/conf/http_pkg1/http_pkg.cntl.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 01:37 PM
тАО12-07-2005 01:37 PM
Re: cmrunpkg : Script failed with no restart
It's still not working.
[root@sglx02 root]# cmmodpkg -e -n sglx02 http_pkg1
cmmodpkg : Warning: Node sglx02 is already able to run package http_pkg1.
cmmodpkg : Completed successfully on all packages specified.
[root@sglx02 root]# cmrunpkg -n sglx02 http_pkg1
cmrunpkg : Script failed with no restart: http_pkg1 should not be restarted.
Check the syslog on node sglx02 and pkg log files for more detailed information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 01:46 PM
тАО12-07-2005 01:46 PM
Re: cmrunpkg : Script failed with no restart
The failure occur on both nodes.
The log file 'messages' contain following messages
Dec 8 10:41:38 sglx02 CM-CMD[22801]: cmrunpkg -n sglx02 http_pkg1
Dec 8 10:41:38 sglx02 CM-CMD[22801]: Request from root on node sglx02 to start package
Dec 7 18:41:38 sglx02 cmcld[6007]: Request from node sglx02 to start package http_pkg1 on node sglx02.
Dec 7 18:41:38 sglx02 cmcld[6007]: Executing '/usr/local/cmcluster/conf/http_pkg1/http_pkg.cntl start' for package http_pkg1, as service PKG*29185.
Dec 8 10:41:38 sglx02 modprobe: modprobe: Can't locate module block-major-43
Dec 8 10:41:39 sglx02 last message repeated 31 times
Dec 7 18:41:39 sglx02 cmcld[6007]: Service PKG*29185 terminated due to an exit(1).
Dec 7 18:41:39 sglx02 cmcld[6007]: Package http_pkg1 run script exited with NO_RESTART.
Dec 7 18:41:39 sglx02 cmcld[6007]: Examine the file /usr/local/cmcluster/conf/http_pkg1/http_pkg.cntl.log for more details.
Dec 7 18:41:39 sglx02 cmcld[6007]: Switching disabled on package http_pkg1.
Dec 7 18:41:39 sglx02 cmcld[6007]: Unable to start package http_pkg1. Node sglx02 is not able to run it.
The log file 'http_pkg.cntl.log' contain nothing.
Thankyou.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2005 11:44 PM
тАО12-07-2005 11:44 PM
Re: cmrunpkg : Script failed with no restart
I suggest you look at the script itself to look to see what it should be doing. I suspect the cause of the problem also results in the message:
Dec 8 10:41:38 sglx02 modprobe: modprobe: Can't locate module block-major-43
I suggets you look at the script to see what it is doing with kernel modules and look to see if this error is relevant and might be related to the cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2005 01:41 AM
тАО12-08-2005 01:41 AM
Re: cmrunpkg : Script failed with no restart
# /usr/local/cmcluster/conf/http_pkg1/http_pkg.cntl start
--- if it generates messages, then the log file in the same directory should have been created and appended when Serviceguard starts the package via cmrunpkg (after the package is -enabled- to start.
Check the package enablement using: cmviewcl -v -p
To set AUTO_RUN (general authorization to run the package on any adoptive node), use:
# cmmodpkg -e
To set NODE_Switching (per-node authorization to run the package), use:
# cmmodpkg -e -n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2005 02:59 AM
тАО12-08-2005 02:59 AM
Re: cmrunpkg : Script failed with no restart
I manual started http_pkg.cntl and checked all config file has parameter SERVICE_NAME.
[root@sglx02 conf]# /usr/local/cmcluster/conf/http_pkg1/http_pkg.cntl start
###### Node "sglx02": Starting package at Thu Dec 8 23:53:02 CST 2005 ######
Dec 8 23:53:02 - Node "sglx02": Activating volume group vgpkgB .
Dec 8 23:53:03 - Node "sglx02": Checking filesystems:
/dev/vgpkgB/lvol1
e2fsck 1.32 (09-Nov-2002)
/dev/vgpkgB/lvol1: clean, 41/77920 files, 2495/155648 blocks
Dec 8 23:53:03 - Node "sglx02": Mounting /dev/vgpkgB/lvol1 at /home2
Dec 8 23:53:03 - Node "sglx02": Adding IP address 192.168.15.119 to subnet 192.168.8.0
Dec 8 23:53:03 - Node "sglx02": Starting Apache daemons.
Dec 8 23:53:05 - Node "sglx02": Starting httpd.monitor using /usr/local/cmcluster/conf/http_pkg1/hahttp.mon
cmrunserv : Service name httpd.monitor does not exist.
ERROR: Function start_monitor_service: Failed to start monitor process.
Dec 8 23:53:05 - Node "sglx02": Halting the Apache service httpd.monitor
cmhaltserv : Service name httpd.monitor is not running.
Dec 8 23:53:05 - Node "sglx02": Stopping Apache daemons
ERROR: Dec 8 23:53:10 - Failed to start HTTP.
ERROR: Function verify_ha_server; Failed to start HA servers
Dec 8 23:53:10 - Node "sglx02": Remove IP address 192.168.15.119 from subnet 192.168.8.0
Dec 8 23:53:10 - Node "sglx02": Unmounting filesystem on /home2
Dec 8 23:53:10 - Node "sglx02": Deactivating volume group vgpkgB
###### Node "sglx02": Package start FAILED at Thu Dec 8 23:53:10 CST 2005 ######