- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cmrunserv : Service name sybase does not exist
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
11-05-2001 01:41 PM
11-05-2001 01:41 PM
"...
"/etc/cmcluster/sybase/sybase.sh monitor dataserver"
cmrunserv : Service name sybase does not exist.
ERROR: Function start_services
ERROR: Failed to start service sybase
..."
The relevant log in /var/adm/syslog/syslog.log is:
CM-sybase[2086]: cmrunserv -R sybase >> /etc/cmcluster/sybase/sybase.cntl.log 2>&1 /etc/cmcluster/sybase/sybase.sh monitor dataserver
cmcld: Service sybase has no status entry. Either its package is not running or this is not a configured service name.
I've tried halting the cluster, reapplying the cluster configuration, and even rebooting the system.
I still get the same error.
The problem occured while I was testing "Sybase migration into MC/SG cluster". Basically, I configured a 1-node cluster on a new system (with no Sybase on it), then I exported sybase volume group from an existing system (with no MC/SG on it), and then I imported this sybase volume group from the node running MC/SG. Everything works well, except for this last step when 'cmrunserv' fails.
The script "sybase.sh" and other configuration files for "sybase" package have been tested previously in a 2-node cluster, but it is nevertheless possible that I'm missing something simple.
Any clues?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 01:58 PM
11-05-2001 01:58 PM
SolutionThe Service name is identified at two places. My guess is that you have missed the service name in the package configuration file. You have the service name and the Service run command mentioned in the package control script, but the service name and service parameters are not defined in the package ascii configuration script.
Look for the same under SERVICE_NAME in package conf script. The same should match with the service run script under SERVICE_NAME[0] under "SERVICE NAME AND COMMANDS" in the package control script.
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 02:00 PM
11-05-2001 02:00 PM
Re: cmrunserv : Service name sybase does not exist
This is because you defined a service called "sybase" in your package configuration file. Looks like you are not using it in your sybase.sh script. Comment this line out in /etc/cmcluster/package_name/package.conf file. Search for SERVICE_NAME in the configuration file and comment the lines out and reapply the configuration by cmapplyconf -P /etc/cmcluster/package_name/package.conf file.
Then start the package and see if it works.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 02:18 PM
11-05-2001 02:18 PM
Re: cmrunserv : Service name sybase does not exist
Seems that the sybase
script is present in the
package control file, but
not in the package configuration file.
To confirm this, Do a
#grep -i "^service" /etc/cmcluster/sybase/
Edit the file and make the
change.
Run cmmakepkg -p /etc/cmcluster/sybase/
hth
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 02:24 PM
11-05-2001 02:24 PM