<?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 Re: Serviceguard Script failed with no restart in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950624#M58575</link>
    <description>If you look at your script, you see that "ERROR: Function get_md; Failed to RUN vgcfgrestore" comes from test_return case 27.&lt;BR /&gt;&lt;BR /&gt;Looking at the "#-------------------MAINLINE Control Script Code Starts Here-----------------" section, you can see that we first call some startup checks, then we do:&lt;BR /&gt;verify_physical_data_replication $1&lt;BR /&gt;Does nothing because DATA_REP="none"&lt;BR /&gt;activate_md&lt;BR /&gt;Does nothing because there are no md devices specified&lt;BR /&gt;activate_volume_group&lt;BR /&gt;I suspect that here's our problem. From the script:&lt;BR /&gt;        # First lets do a sanity check to see if the vg really has&lt;BR /&gt;        # a configuration backup. If not then we report this and&lt;BR /&gt;        # exit. It is a prereq that a vgcfgbackup be done after &lt;BR /&gt;        # the vg configuration is built and before sg is started.&lt;BR /&gt;           vgcfgrestore -n ${vgname} -ll -t &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;           test_return 27&lt;BR /&gt;&lt;BR /&gt;This vgcfgrestore command fails for some reason and the test_return 27 spits out the error. Try running the vgcfgrestore command manually without redirecting the output to /dev/null and see what error you get. Perhaps a vgcfgbackup just needs to be done.</description>
    <pubDate>Fri, 06 Jan 2006 09:29:52 GMT</pubDate>
    <dc:creator>Mike Chisholm</dc:creator>
    <dc:date>2006-01-06T09:29:52Z</dc:date>
    <item>
      <title>Serviceguard Script failed with no restart</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950623#M58574</link>
      <description>Hi,My package with the default config work perfect. But when i customize and run it, it gives me this error:oraserv1:~ # cmrunpkg 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.this is the out put of the log:###### Node "oraserv1": Starting package at Fri Jan  6 04:56:29 PST 2006 ######/opt/cmcluster/conf/orapkg/orapkg.sh: line 1: wc: command not foundERROR: Function get_md; Failed to RUN vgcfgrestore###### Node "oraserv1": Package start failed at Fri Jan  6 04:56:29 PST 2006 ######What can be missing?NB: i have attached my control script file.Kouyate</description>
      <pubDate>Fri, 06 Jan 2006 08:10:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950623#M58574</guid>
      <dc:creator>KOUYATE MAURY</dc:creator>
      <dc:date>2006-01-06T08:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Serviceguard Script failed with no restart</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950624#M58575</link>
      <description>If you look at your script, you see that "ERROR: Function get_md; Failed to RUN vgcfgrestore" comes from test_return case 27.&lt;BR /&gt;&lt;BR /&gt;Looking at the "#-------------------MAINLINE Control Script Code Starts Here-----------------" section, you can see that we first call some startup checks, then we do:&lt;BR /&gt;verify_physical_data_replication $1&lt;BR /&gt;Does nothing because DATA_REP="none"&lt;BR /&gt;activate_md&lt;BR /&gt;Does nothing because there are no md devices specified&lt;BR /&gt;activate_volume_group&lt;BR /&gt;I suspect that here's our problem. From the script:&lt;BR /&gt;        # First lets do a sanity check to see if the vg really has&lt;BR /&gt;        # a configuration backup. If not then we report this and&lt;BR /&gt;        # exit. It is a prereq that a vgcfgbackup be done after &lt;BR /&gt;        # the vg configuration is built and before sg is started.&lt;BR /&gt;           vgcfgrestore -n ${vgname} -ll -t &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;           test_return 27&lt;BR /&gt;&lt;BR /&gt;This vgcfgrestore command fails for some reason and the test_return 27 spits out the error. Try running the vgcfgrestore command manually without redirecting the output to /dev/null and see what error you get. Perhaps a vgcfgbackup just needs to be done.</description>
      <pubDate>Fri, 06 Jan 2006 09:29:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950624#M58575</guid>
      <dc:creator>Mike Chisholm</dc:creator>
      <dc:date>2006-01-06T09:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Serviceguard Script failed with no restart</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950625#M58576</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Are you able to activate the VG from outside the cluster.&lt;BR /&gt;&lt;BR /&gt;Try this,&lt;BR /&gt;&lt;BR /&gt;#vgchange -c n &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;#vgchange -a e &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;you can try to mount the lvols and check.&lt;BR /&gt;&lt;BR /&gt;you can run a #vgcfgbackup also if needed.&lt;BR /&gt;&lt;BR /&gt;After confirming this,&lt;BR /&gt;&lt;BR /&gt;you can&lt;BR /&gt;&lt;BR /&gt;unmount the lvols,&lt;BR /&gt;&lt;BR /&gt;#vgchange -a n &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;#vgchange -c y &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;and try to start the orapkg.&lt;BR /&gt;&lt;BR /&gt;Observe the syslog.log as well as the *.log of the package.&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Fri, 06 Jan 2006 09:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950625#M58576</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-01-06T09:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Serviceguard Script failed with no restart</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950626#M58577</link>
      <description>Hi,find attached my error messages.i don't know much about this aspect i need a help to get this scrip running.kouyate</description>
      <pubDate>Fri, 06 Jan 2006 10:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950626#M58577</guid>
      <dc:creator>KOUYATE MAURY</dc:creator>
      <dc:date>2006-01-06T10:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Serviceguard Script failed with no restart</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950627#M58578</link>
      <description>Hi SivaI have the same error as follow:This is the orapkg.sh.log out put.###### Node "oraserv1": Starting package at Fri Jan  6 07:54:25 PST 2006 ######/opt/cmcluster/conf/orapkg/orapkg.sh: line 1: wc: command not foundERROR: Function get_md; Failed to RUN vgcfgrestore###### Node "oraserv1": Package start failed at Fri Jan  6 07:54:26 PST 2006 ######"orapkg.sh.log" 121L, 7020C                                   121,1         Botbut i can vgchange and mount without error please find attached my stepsKouyate</description>
      <pubDate>Fri, 06 Jan 2006 11:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950627#M58578</guid>
      <dc:creator>KOUYATE MAURY</dc:creator>
      <dc:date>2006-01-06T11:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Serviceguard Script failed with no restart</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950628#M58579</link>
      <description>I've juste shutdown both nodes and later shutdown the storage. after 10mn, l put on the storage, when up, i put on both nodes and try to run the package. And it run without any error message.&lt;BR /&gt;Thanks.&lt;BR /&gt;Kouyate Maury</description>
      <pubDate>Sat, 07 Jan 2006 05:52:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serviceguard-script-failed-with-no-restart/m-p/4950628#M58579</guid>
      <dc:creator>KOUYATE MAURY</dc:creator>
      <dc:date>2006-01-07T05:52:16Z</dc:date>
    </item>
  </channel>
</rss>

