HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error: Two services with same name
Operating System - HP-UX
1829118
Members
2040
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-05-2004 03:03 AM
07-05-2004 03:03 AM
Hi all,
I would like to configure a SERVICE within my package. So I added following entries into my package control file:
SERVICE_NAME[0]="Service"
SERVICE_CMD[0]="/etc/cmcluster/package/Service/Service.sh start"
SERVICE_RESTART[0]="-R"
My config file looks like following:
SERVICE_NAME Service
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 60
Everythings looks fine. I made the same entries in another service guard packge. There it works. But here I got following error when trying a cmcheckconf -v -P PACKAGE.conf
Checking existing configuration ... Done
Gathering configuration information ... Done
Parsing package file: PACKAGE.conf.
Package PACKAGE already exists. It will be modified.
Error: Two services with same name: Service
Error: Two services with same name: Service
Maximum configured packages parameter is 60.
Configuring 54 package(s).
6 package(s) can be added to this cluster.
cmcheckconf : Unable to verify package.
But I don't see that the service is twice configured. Has anyone an idea???
I would like to configure a SERVICE within my package. So I added following entries into my package control file:
SERVICE_NAME[0]="Service"
SERVICE_CMD[0]="/etc/cmcluster/package/Service/Service.sh start"
SERVICE_RESTART[0]="-R"
My config file looks like following:
SERVICE_NAME Service
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 60
Everythings looks fine. I made the same entries in another service guard packge. There it works. But here I got following error when trying a cmcheckconf -v -P PACKAGE.conf
Checking existing configuration ... Done
Gathering configuration information ... Done
Parsing package file: PACKAGE.conf.
Package PACKAGE already exists. It will be modified.
Error: Two services with same name: Service
Error: Two services with same name: Service
Maximum configured packages parameter is 60.
Configuring 54 package(s).
6 package(s) can be added to this cluster.
cmcheckconf : Unable to verify package.
But I don't see that the service is twice configured. Has anyone an idea???
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 03:08 AM
07-05-2004 03:08 AM
Solution
are you saying you already have a service called Service configured in the cluster?
If so, that is the problem. Service names need to be unique within the cluster.
I also recommend you call your service something more meaningful, so as to ease management and troubleshooting.
If so, that is the problem. Service names need to be unique within the cluster.
I also recommend you call your service something more meaningful, so as to ease management and troubleshooting.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 03:21 AM
07-05-2004 03:21 AM
Re: Error: Two services with same name
My Service Name is not "Service". I have a Name for this Service.
But this Service will be in all packages.
It is a standard service in our packages. So I wanted to name them all the same.
But thanks for the hint. Thats the information I needed. I couldn't explain myself the error message I received from cmcheckconf .
But this Service will be in all packages.
It is a standard service in our packages. So I wanted to name them all the same.
But thanks for the hint. Thats the information I needed. I couldn't explain myself the error message I received from cmcheckconf .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2004 06:41 PM
07-05-2004 06:41 PM
Re: Error: Two services with same name
If you need to have the same service in all the packages, the tip is to give the SERVICE_NAME as _ This will not give any error.
For example, the service name ABC is needed in packages P1, P2, then you can give the service name as ABC_P1, ABC_P2... Rest all can be same... Service guard will not allow only duplicate entries for Service name...
Regards,
VJ
For example, the service name ABC is needed in packages P1, P2, then you can give the service name as ABC_P1, ABC_P2... Rest all can be same... Service guard will not allow only duplicate entries for Service name...
Regards,
VJ
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP