- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem when installing creating package
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-27-2005 04:44 AM
тАО12-27-2005 04:44 AM
I have successfully configure my cluster with serviguard, now i wanted to create a package. After editing my Package Configuration Template File and the Package Control Script, when trying to Verify the Package Configuration i received this error message:
:/opt/cmcluster/bin # ./cmcheckconf -k -v -p /opt/cmcluster/conf/orapkg/orapkg.config
usage: cmcheckconf [-v] [-C cluster_ascii_file]
[[-p pkg_reference_file] | [-P pkg_ascii_file...]]
Now when i try to change the command i got this:
oraserv1:/opt/cmcluster/bin # ./cmcheckconf -v -k -C /opt/cmcluster/conf/orapkg/orapkg.config
Checking cluster file: /opt/cmcluster/conf/orapkg/orapkg.config
Error: Unknown keyword (PACKAGE_NAME) on line 13
Refer to documentation for valid keywords and identifiers.
cmcheckconf : Error found in cluster file: /opt/cmcluster/conf/orapkg/orapkg.config
when i try an other one i received this:
oraserv1:/opt/cmcluster/bin # ./cmcheckconf -v -p /opt/cmcluster/conf/orapkg/orapkg.config
Checking existing configuration ... Done
Gathering configuration information ... Done
"-p" option specified. Opening package reference file: /opt/cmcluster/conf/orapkg/orapkg.config.
Parsing package file: PACKAGE_NAME orapkg .
cmcheckconf : Nonexistent package ascii file: PACKAGE_NAME orapkg .
So i don't know what is missing.
in fact i wanted to run an application on oracle so i want to create one package witch will start, stop oracle and the application.
Best regards
Kouyate Maury
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 07:09 AM
тАО12-27-2005 07:09 AM
SolutionThe first problem I see from my extremely basic SG knowledge is a possible mistake on the approach.
Perhaps it would be best to take a minimalist approach to actually creating the package.
Assuming hte package does not already exist the textbook approach:
cmhaltcl
cmmakepkg -p packagename.ascii
# make necessary editing changes.
cmmakepkg -s packagename.sh
# make necessary editing changes again.
cmcheckconf -P packagename.ascii
cmapplyconf -P packaagename.ascii
You know the desire results.
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
тАО12-27-2005 09:20 AM
тАО12-27-2005 09:20 AM
Re: Problem when installing creating package
if you do man cmcheckconf you will find you need to use the -P option to tell it you wish to use a package config file.
I also advise you read the Managing Serviceguard manual available at http://docs.hp.com/en/ha
And possibly sign up for a training course with your HP Customer Education centre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 07:47 AM
тАО12-28-2005 07:47 AM
Re: Problem when installing creating package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2006 08:10 PM
тАО01-08-2006 08:10 PM
Re: Problem when installing creating package
Thanks