<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem when installing creating package in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948857#M58580</link>
    <description>Hi,&lt;BR /&gt;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:&lt;BR /&gt;:/opt/cmcluster/bin # ./cmcheckconf -k -v -p /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;usage: cmcheckconf [-v] [-C cluster_ascii_file]&lt;BR /&gt;       [[-p pkg_reference_file] | [-P pkg_ascii_file...]]&lt;BR /&gt;&lt;BR /&gt;Now when i try to change the command i got this:&lt;BR /&gt;oraserv1:/opt/cmcluster/bin # ./cmcheckconf -v -k -C /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;&lt;BR /&gt;Checking cluster file: /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;Error: Unknown keyword (PACKAGE_NAME) on line 13&lt;BR /&gt;Refer to documentation for valid keywords and identifiers.&lt;BR /&gt;cmcheckconf  : Error found in cluster file: /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;&lt;BR /&gt;when i try an other one i received this:&lt;BR /&gt;&lt;BR /&gt;oraserv1:/opt/cmcluster/bin # ./cmcheckconf -v -p /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;&lt;BR /&gt;Checking existing configuration ... Done&lt;BR /&gt;Gathering configuration information ... Done&lt;BR /&gt;"-p" option specified. Opening package reference file: /opt/cmcluster/conf/orapkg/orapkg.config.&lt;BR /&gt;Parsing package file: PACKAGE_NAME      orapkg          .&lt;BR /&gt;&lt;BR /&gt;cmcheckconf  : Nonexistent package ascii file: PACKAGE_NAME     orapkg         .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So i don't know what is missing.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Kouyate Maury</description>
    <pubDate>Tue, 27 Dec 2005 12:44:42 GMT</pubDate>
    <dc:creator>KOUYATE MAURY</dc:creator>
    <dc:date>2005-12-27T12:44:42Z</dc:date>
    <item>
      <title>Problem when installing creating package</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948857#M58580</link>
      <description>Hi,&lt;BR /&gt;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:&lt;BR /&gt;:/opt/cmcluster/bin # ./cmcheckconf -k -v -p /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;usage: cmcheckconf [-v] [-C cluster_ascii_file]&lt;BR /&gt;       [[-p pkg_reference_file] | [-P pkg_ascii_file...]]&lt;BR /&gt;&lt;BR /&gt;Now when i try to change the command i got this:&lt;BR /&gt;oraserv1:/opt/cmcluster/bin # ./cmcheckconf -v -k -C /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;&lt;BR /&gt;Checking cluster file: /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;Error: Unknown keyword (PACKAGE_NAME) on line 13&lt;BR /&gt;Refer to documentation for valid keywords and identifiers.&lt;BR /&gt;cmcheckconf  : Error found in cluster file: /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;&lt;BR /&gt;when i try an other one i received this:&lt;BR /&gt;&lt;BR /&gt;oraserv1:/opt/cmcluster/bin # ./cmcheckconf -v -p /opt/cmcluster/conf/orapkg/orapkg.config&lt;BR /&gt;&lt;BR /&gt;Checking existing configuration ... Done&lt;BR /&gt;Gathering configuration information ... Done&lt;BR /&gt;"-p" option specified. Opening package reference file: /opt/cmcluster/conf/orapkg/orapkg.config.&lt;BR /&gt;Parsing package file: PACKAGE_NAME      orapkg          .&lt;BR /&gt;&lt;BR /&gt;cmcheckconf  : Nonexistent package ascii file: PACKAGE_NAME     orapkg         .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So i don't know what is missing.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Kouyate Maury</description>
      <pubDate>Tue, 27 Dec 2005 12:44:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948857#M58580</guid>
      <dc:creator>KOUYATE MAURY</dc:creator>
      <dc:date>2005-12-27T12:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when installing creating package</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948858#M58581</link>
      <description>Shalom Kouyate,&lt;BR /&gt;&lt;BR /&gt;The first problem I see from my extremely basic SG knowledge is a possible mistake on the approach.&lt;BR /&gt;&lt;BR /&gt;Perhaps it would be best to take a minimalist approach to actually creating the package.&lt;BR /&gt;&lt;BR /&gt;Assuming hte package does not already exist the textbook approach:&lt;BR /&gt;&lt;BR /&gt;cmhaltcl&lt;BR /&gt;cmmakepkg -p packagename.ascii&lt;BR /&gt;# make necessary editing changes.&lt;BR /&gt;cmmakepkg -s packagename.sh&lt;BR /&gt;# make necessary editing changes again.&lt;BR /&gt;&lt;BR /&gt;cmcheckconf -P packagename.ascii&lt;BR /&gt;cmapplyconf -P packaagename.ascii&lt;BR /&gt;&lt;BR /&gt;You know the desire results.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 27 Dec 2005 15:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948858#M58581</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-12-27T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when installing creating package</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948859#M58582</link>
      <description>Well you are using the incorrect options with the cmcheckconf.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;I also advise you read the Managing Serviceguard  manual available at &lt;A href="http://docs.hp.com/en/ha" target="_blank"&gt;http://docs.hp.com/en/ha&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And possibly sign up for a training course with your HP Customer Education centre</description>
      <pubDate>Tue, 27 Dec 2005 17:20:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948859#M58582</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2005-12-27T17:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when installing creating package</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948860#M58583</link>
      <description>Hi, thanks for your help as u can see my package is created but the pachage is down. i've try to create a new one but same result this is the status:CLUSTER      STATUScluster      up  NODE         STATUS       STATE  oraserv1     up           running    Cluster_Lock_LUN:    DEVICE              STATUS    /dev/cciss/c1d0p1   up    Network_Parameters:    INTERFACE    STATUS       NAME    PRIMARY      up           eth0    PRIMARY      up           eth1  NODE         STATUS       STATE  oraserv2     up           running    Cluster_Lock_LUN:    DEVICE              STATUS    /dev/cciss/c1d0p1   up    Network_Parameters:    INTERFACE    STATUS       NAME    PRIMARY      up           eth0    PRIMARY      up           eth1UNOWNED_PACKAGES    PACKAGE      STATUS       STATE        AUTO_RUN     NODE    oraclepkg    down         halted       disabled     unowned      Policy_Parameters:      POLICY_NAME     CONFIGURED_VALUE      Failover        configured_node      Failback        manual      Script_Parameters:      ITEM       STATUS   NODE_NAME    NAME      Subnet     up       oraserv1     213.172.128.0      Subnet     up       oraserv2     213.172.128.0      Node_Switching_Parameters:      NODE_TYPE    STATUS       SWITCHING    NAME      Primary      up           enabled      oraserv1      Alternate    up           enabled      oraserv2    PACKAGE      STATUS       STATE        AUTO_RUN     NODE    orapkg       down         halted       disabled     unowned      Policy_Parameters:      POLICY_NAME     CONFIGURED_VALUE      Failover        configured_node      Failback        manual      Script_Parameters:      ITEM       STATUS   NODE_NAME    NAME      Subnet     up       oraserv1     213.172.128.0      Subnet     up       oraserv2     213.172.128.0      Node_Switching_Parameters:      NODE_TYPE    STATUS       SWITCHING    NAME      Primary      up           enabled      oraserv1      Alternate    up           enabled      oraserv2oraserv1:/opt/cmcluster/bin # cmrunpkg -n oraserv1 orapkgcmrunpkg  : Script failed with no restart: orapkg should not be restarted.Check the syslog on node oraserv1 and pkg log files for more detailed information.oraserv1:/opt/cmcluster/bin # cmrunpkg -n oraserv2 orapkgcmrunpkg  : Script failed with no restart: orapkg should not be restarted.Check the syslog on node oraserv2 and pkg log files for more detailed information.This is the error in the log file:/opt/cmcluster/conf/orapkg/control.sh: line 149: rw: command not found###### Node "oraserv1": Starting package at Wed Dec 28 12:16:52 PST 2005 ######Dec 28 12:16:52 - Node "oraserv1": Starting md /dev/cciss/c1d1p2 .detected error on line 27:        id = "CLje5W-2mYp-Q93y-Fat3-e5e0-xhoj-UNvBtB"ERROR: Function activate_md; Failed to activate /dev/cciss/c1d1p2Dec 28 12:16:52 - Node "oraserv1": Deactivating md /dev/cciss/c1d1p2usage: raidstop [--all] [--configfile] [--help] [--version] [-achv] *ERROR: Function deactivate_md; Failed to deactivate /dev/cciss/c1d1p2###### Node "oraserv1": Package start FAILED at Wed Dec 28 12:16:52 PST 2005 ######Best regards</description>
      <pubDate>Wed, 28 Dec 2005 15:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948860#M58583</guid>
      <dc:creator>KOUYATE MAURY</dc:creator>
      <dc:date>2005-12-28T15:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when installing creating package</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948861#M58584</link>
      <description>I’ve Edith the package control script with basic information like nodes name and ip address and left the others with the default, the package start. And gradually add the others information’s by testing the package start-up at each step.&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jan 2006 04:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-when-installing-creating-package/m-p/4948861#M58584</guid>
      <dc:creator>KOUYATE MAURY</dc:creator>
      <dc:date>2006-01-09T04:10:34Z</dc:date>
    </item>
  </channel>
</rss>

