<?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: issue cron when execute script the dump Oracle. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030316#M761097</link>
    <description>Since you said that it was functioning if invoked from the shell interactively but fails when run under cron, that means that you are having problems with cron's intentionally sparse environment. I suspect that the command gzip is not in your PATH when run under cron --- but you need to check every command. You probably need to add /usr/contrib/bin to your PATH within the script.</description>
    <pubDate>Mon, 26 Feb 2007 12:15:29 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-02-26T12:15:29Z</dc:date>
    <item>
      <title>issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030306#M761087</link>
      <description>Hi, people&lt;BR /&gt;&lt;BR /&gt;I have a problem in the cron when execute a script the dump. I get the following error:&lt;BR /&gt;. exporting resource costs&lt;BR /&gt;. exporting rollback segment definitions&lt;BR /&gt;. exporting database links&lt;BR /&gt;. exporting sequence numbers&lt;BR /&gt;EXP-00002: error in writing to export fileerror closing export file /tmp/export_rateprd1_pipe&lt;BR /&gt;EXP-00000: Export terminated unsuccessfully&lt;BR /&gt;&lt;BR /&gt;I found the thread &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=945790" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=945790&lt;/A&gt;&lt;BR /&gt;but unsuccessfully.&lt;BR /&gt;&lt;BR /&gt;any ideas?&lt;BR /&gt;&lt;BR /&gt;Tks.&lt;BR /&gt;&lt;BR /&gt;Claudemir.</description>
      <pubDate>Fri, 23 Feb 2007 13:41:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030306#M761087</guid>
      <dc:creator>Claudemir Franco</dc:creator>
      <dc:date>2007-02-23T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030307#M761088</link>
      <description>How did you setup the named pipe? (At least judging from the file name, it appears to be a named pipe.) Is there a reader process for this named pipe? Does the export process have write permission on the pipe?</description>
      <pubDate>Fri, 23 Feb 2007 15:16:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030307#M761088</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-02-23T15:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030308#M761089</link>
      <description>Stephenson,&lt;BR /&gt;&lt;BR /&gt;The name pipe is "export_rateprd1_pipe" and the permission to file pipe is:&lt;BR /&gt;prw-r--r--   1 oracle     dba              0 Feb 26 10:21 export_rateprd1_pipe&lt;BR /&gt; &lt;BR /&gt;Curious it is that it was functioning. Command line is function, but in crontab unsuccessfully. &lt;BR /&gt;&lt;BR /&gt;any ideas?&lt;BR /&gt;&lt;BR /&gt;Tks.&lt;BR /&gt;&lt;BR /&gt;Claudemir.</description>
      <pubDate>Mon, 26 Feb 2007 08:27:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030308#M761089</guid>
      <dc:creator>Claudemir Franco</dc:creator>
      <dc:date>2007-02-26T08:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030309#M761090</link>
      <description>Hy&lt;BR /&gt;&lt;BR /&gt;Do you execute it from the oracle users cron?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 26 Feb 2007 08:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030309#M761090</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2007-02-26T08:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030310#M761091</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Yeap my friends,&lt;BR /&gt;&lt;BR /&gt;Claudemir.</description>
      <pubDate>Mon, 26 Feb 2007 08:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030310#M761091</guid>
      <dc:creator>Claudemir Franco</dc:creator>
      <dc:date>2007-02-26T08:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030311#M761092</link>
      <description>Whats your crontab entry look like ? &lt;BR /&gt;&lt;BR /&gt;Try to eliminate the problems one by one. Try adjusting permissions of the file and re-running. This would at least eliminate any permissions problems.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Feb 2007 08:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030311#M761092</guid>
      <dc:creator>gstonian</dc:creator>
      <dc:date>2007-02-26T08:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030312#M761093</link>
      <description>gstonian,&lt;BR /&gt;&lt;BR /&gt;my cron for user ORACLE&lt;BR /&gt;21 10 * * * $HOME/bin/exp_bancoz.sh rateprd1 full 2 &amp;gt;$HOME/log/exp_full_rateprd1.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;In my script exp_bancoz.sh, i added one line with the command "chmod 666 /tmp/file_pipe" after the command "mknod". But unsuccessfully.&lt;BR /&gt;&lt;BR /&gt;Tks &lt;BR /&gt;&lt;BR /&gt;Claudemir,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Feb 2007 08:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030312#M761093</guid>
      <dc:creator>Claudemir Franco</dc:creator>
      <dc:date>2007-02-26T08:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030313#M761094</link>
      <description>Claudemir,&lt;BR /&gt;could you please:&lt;BR /&gt;&lt;BR /&gt;1. Review all your earlier threads with a view to reward the answers given, giving feedback and closing them. Your profile is 0 of 18 answers rewarded. Please read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;2. Post the $HOME/bin/exp_bancoz.sh script and any parameter file for the export command</description>
      <pubDate>Mon, 26 Feb 2007 10:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030313#M761094</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-02-26T10:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030314#M761095</link>
      <description>Bear in mind that when you create a named pipe (or a pipe of any kind for that matter), you must have 2 processes: a writer process (the exp command in your case) and a reader process (which might be a cat or dd to a file or tape). It is not clear that you have established a reader process; if not, your observed behavior is exactly what would be expected.</description>
      <pubDate>Mon, 26 Feb 2007 10:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030314#M761095</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-02-26T10:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030315#M761096</link>
      <description>Hi gurus,&lt;BR /&gt;&lt;BR /&gt;My script is attachment!!!&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Claudemir</description>
      <pubDate>Mon, 26 Feb 2007 12:02:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030315#M761096</guid>
      <dc:creator>Claudemir Franco</dc:creator>
      <dc:date>2007-02-26T12:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030316#M761097</link>
      <description>Since you said that it was functioning if invoked from the shell interactively but fails when run under cron, that means that you are having problems with cron's intentionally sparse environment. I suspect that the command gzip is not in your PATH when run under cron --- but you need to check every command. You probably need to add /usr/contrib/bin to your PATH within the script.</description>
      <pubDate>Mon, 26 Feb 2007 12:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030316#M761097</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-02-26T12:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: issue cron when execute script the dump Oracle.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030317#M761098</link>
      <description>Hi People,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot of! &lt;BR /&gt;&lt;BR /&gt;A. Clay,&lt;BR /&gt;I made accurately you said me and now the script is functioning. Thanks!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Claudemir</description>
      <pubDate>Tue, 27 Feb 2007 07:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/issue-cron-when-execute-script-the-dump-oracle/m-p/5030317#M761098</guid>
      <dc:creator>Claudemir Franco</dc:creator>
      <dc:date>2007-02-27T07:52:40Z</dc:date>
    </item>
  </channel>
</rss>

