<?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: error in running script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280522#M335367</link>
    <description>The schedular is using the root passwd to execute it. When you use the same root user to login to the server and run as root, it runs fine.&lt;BR /&gt;&lt;BR /&gt;Is there any problem with the owner and group. Its owner is oracle and group is oinstall</description>
    <pubDate>Fri, 03 Oct 2008 14:03:03 GMT</pubDate>
    <dc:creator>Waqar Razi</dc:creator>
    <dc:date>2008-10-03T14:03:03Z</dc:date>
    <item>
      <title>error in running script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280520#M335365</link>
      <description>I have an oracle script on hpux server. &lt;BR /&gt;&lt;BR /&gt;-rwxrwxrwx   1 oracle     oinstall       788 Jan  2  2008 uc4_report.ux&lt;BR /&gt;&lt;BR /&gt;It runs fine on server using root id. When we try to run through schedular (uc4), its giving the following error.&lt;BR /&gt;&lt;BR /&gt;Error:&lt;BR /&gt;&lt;BR /&gt;20081003/100703.111 - U2003043 Invalid 'setgid()' call. Error code: ('1' - 'Not owner'&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Can any one give me some guidance?</description>
      <pubDate>Fri, 03 Oct 2008 13:50:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280520#M335365</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2008-10-03T13:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: error in running script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280521#M335366</link>
      <description>Hi Wagar:&lt;BR /&gt;&lt;BR /&gt;Your schedular process isn't running as 'root' and therefore cannot perform a 'setgid()' to change the real, effective or saved-group of the process.  See these manpages for more information:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B3921-60631/setuid.2.html" target="_blank"&gt;http://www.docs.hp.com/en/B3921-60631/setuid.2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 03 Oct 2008 13:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280521#M335366</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-10-03T13:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: error in running script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280522#M335367</link>
      <description>The schedular is using the root passwd to execute it. When you use the same root user to login to the server and run as root, it runs fine.&lt;BR /&gt;&lt;BR /&gt;Is there any problem with the owner and group. Its owner is oracle and group is oinstall</description>
      <pubDate>Fri, 03 Oct 2008 14:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280522#M335367</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2008-10-03T14:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: error in running script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280523#M335368</link>
      <description>so root started uc4, correct?&lt;BR /&gt;&lt;BR /&gt;what do you run at the command line (that works)?&lt;BR /&gt;&lt;BR /&gt;what command (exactly) is in the scheduler?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Oct 2008 17:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280523#M335368</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-03T17:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: error in running script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280524#M335369</link>
      <description>/home/oracle/scripts/uc4_report.ux&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Oct 2008 17:07:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280524#M335369</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2008-10-03T17:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: error in running script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280525#M335370</link>
      <description>well, the script is chmod 777 which, security-wise, isn't good, but what happens if you:&lt;BR /&gt;&lt;BR /&gt;chmod 6755 uc4_report.ux &lt;BR /&gt;&lt;BR /&gt;then have the scheduler run it?</description>
      <pubDate>Fri, 03 Oct 2008 17:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280525#M335370</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-03T17:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: error in running script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280526#M335371</link>
      <description>&amp;gt;OldSchool: chmod 6755 uc4_report.ux&lt;BR /&gt;&lt;BR /&gt;If it has to run at root, you also need to change the owner/group.</description>
      <pubDate>Fri, 03 Oct 2008 20:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-running-script/m-p/4280526#M335371</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-03T20:54:22Z</dc:date>
    </item>
  </channel>
</rss>

