<?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: Process killed while printing in Secure OS Software for Linux</title>
    <link>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874386#M428</link>
    <description>Ivan,&lt;BR /&gt;Thanks for your response.  I did what you recomended, using full path for commands but it does not work yet. I also redirect the script to an output file, it only has:&lt;BR /&gt;----/tmp&amp;gt; more u1.out&lt;BR /&gt;/opt/c001/300/tl/scripts/u1[6]: 8376 Killed&lt;BR /&gt;/opt/c001/300/tl/scripts/u1[7]: 8380 Killed&lt;BR /&gt;&lt;BR /&gt;any other idea?&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
    <pubDate>Wed, 04 Oct 2006 19:42:25 GMT</pubDate>
    <dc:creator>pumabr</dc:creator>
    <dc:date>2006-10-04T19:42:25Z</dc:date>
    <item>
      <title>Process killed while printing</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874384#M426</link>
      <description>Hi everybody.&lt;BR /&gt;I will really apreciate any help about the following issue:&lt;BR /&gt;In my hp-ux 11.0 server I scheduled a script into de cron; part of what this is script does is send to print a file.  All the steps before printing works fine, but the process es Killed when try to execute the command that prints the file:&lt;BR /&gt;cat /opt/c001/300/tl/scripts/landscape.prn $ERRFILE | lp -d$IMPRESORA&lt;BR /&gt;&lt;BR /&gt;If I run the same instruction from de promt it works, but when is scheduled not.  I am using jetdirect v10.34&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Oct 2006 12:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874384#M426</guid>
      <dc:creator>pumabr</dc:creator>
      <dc:date>2006-10-04T12:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Process killed while printing</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874385#M427</link>
      <description>Always use the full path for commands in your scripts executed by cron. Also, ensure that the $ERRFILE and $IMPRESORA variables are defined in the script and not in the "profile" for example, or source the profile at the begining of the script.&lt;BR /&gt;&lt;BR /&gt;Also redirect the script output to a log file to try to identify the problem, for example:&lt;BR /&gt;&lt;BR /&gt;0 1 * * * /your/print/script &amp;gt; /tmp/script.out 2&amp;gt;&amp;amp;1</description>
      <pubDate>Wed, 04 Oct 2006 14:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874385#M427</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-10-04T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Process killed while printing</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874386#M428</link>
      <description>Ivan,&lt;BR /&gt;Thanks for your response.  I did what you recomended, using full path for commands but it does not work yet. I also redirect the script to an output file, it only has:&lt;BR /&gt;----/tmp&amp;gt; more u1.out&lt;BR /&gt;/opt/c001/300/tl/scripts/u1[6]: 8376 Killed&lt;BR /&gt;/opt/c001/300/tl/scripts/u1[7]: 8380 Killed&lt;BR /&gt;&lt;BR /&gt;any other idea?&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 04 Oct 2006 19:42:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874386#M428</guid>
      <dc:creator>pumabr</dc:creator>
      <dc:date>2006-10-04T19:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Process killed while printing</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874387#M429</link>
      <description>This is a problem hard to identify, a core file is generated somewhere?&lt;BR /&gt;&lt;BR /&gt;I would try to diagnose the problem by using strace, for example, using strace, copare what is happening when you run from command line and from cron:&lt;BR /&gt;&lt;BR /&gt;# strace -o strace.out /your/print/script.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1 12 * * * /usr/bin/strace -o /tmp/strace.out /your/print/script.sh&lt;BR /&gt;&lt;BR /&gt;The strace output is not simple and you will see a lot of imformation. You should analyze the output carefully.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Oct 2006 15:03:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/process-killed-while-printing/m-p/3874387#M429</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-10-05T15:03:50Z</dc:date>
    </item>
  </channel>
</rss>

