<?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: &amp;quot;perl: cannot execute&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477805#M776455</link>
    <description>Oops, typo....&lt;BR /&gt;&lt;BR /&gt;Should read "Has the modification...."&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Jan 2001 09:56:29 GMT</pubDate>
    <dc:creator>Dan Hetzel</dc:creator>
    <dc:date>2001-01-03T09:56:29Z</dc:date>
    <item>
      <title>"perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477795#M776445</link>
      <description>Three perl script application were running on a HP-UX 10.20 machine. When tried to start another perl script, "perl: cannot execute" was shown. The message was shown even for a "perl -v" command. the permission setting was correctly with "x". After killing the three processes. It becames OK. &lt;BR /&gt;&lt;BR /&gt;Any one know what would be possible cause of the problem. Thank you</description>
      <pubDate>Tue, 02 Jan 2001 07:20:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477795#M776445</guid>
      <dc:creator>JI HUI</dc:creator>
      <dc:date>2001-01-02T07:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477796#M776446</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;1.&lt;BR /&gt;Check again the first line in your script&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/perl&lt;BR /&gt;&lt;BR /&gt;Check /usr/bin/perl is exist and executable.&lt;BR /&gt;&lt;BR /&gt;2.&lt;BR /&gt;Try start it in a different shell ( csh ) and may be found the mistake.&lt;BR /&gt;&lt;BR /&gt;Saa</description>
      <pubDate>Tue, 02 Jan 2001 12:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477796#M776446</guid>
      <dc:creator>Sandor Horvath_2</dc:creator>
      <dc:date>2001-01-02T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477797#M776447</link>
      <description>Increase the kernel parameter maxusers value. This is a macro that will increase some other values like nfile and nproc , etc</description>
      <pubDate>Tue, 02 Jan 2001 13:22:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477797#M776447</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2001-01-02T13:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477798#M776448</link>
      <description>Hi,&lt;BR /&gt;Were you always executing the scripts as the same user?, there is a kernel parameter: maxuprc - maximum processes per user - you may have reached...&lt;BR /&gt;Increase its value and try again...&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 02 Jan 2001 13:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477798#M776448</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2001-01-02T13:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477799#M776449</link>
      <description>Hi, thank you for you prompt reply.&lt;BR /&gt;&lt;BR /&gt;I did check the processes run by the user by "ps -ef |grep user_id", less than 10 processes were shown under this user id. and maxuprc was set to 256. &lt;BR /&gt;&lt;BR /&gt;I even could not start "perl" as well even I logged in as "root", but I could other program, such as sam, sar.&lt;BR /&gt;&lt;BR /&gt;Any suggestion what may go wrong? &lt;BR /&gt;&lt;BR /&gt;Another question: how to log the number of processes which was run by a particular user?&lt;BR /&gt;&lt;BR /&gt;thank you.</description>
      <pubDate>Wed, 03 Jan 2001 01:24:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477799#M776449</guid>
      <dc:creator>JI HUI</dc:creator>
      <dc:date>2001-01-03T01:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477800#M776450</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Your script is not running the perl interpreter from the correct path. Please check that your perl executable resides in the path specified in the first line of your script.&lt;BR /&gt;&lt;BR /&gt;If your script calls the perl interpreter from /usr/bin, then your script would reflect in its first line: #!/usr/bin/perl&lt;BR /&gt;&lt;BR /&gt;To resolve this problem, either modify the path in your perl script to where your perl interpreter resides eg. change #!/usr/bin/perl to #!/usr/local/bin/perl, or copy/soft-link your perl interpreter to where it should reside &lt;BR /&gt;eg. ln -s /usr/local/bin/perl /usr/bin/perl&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Wed, 03 Jan 2001 05:43:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477800#M776450</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-01-03T05:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477801#M776451</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To count the number of processes run by a specific user, run the following command to minus off the single line count for the heading: # expr `ps -fu $userid|wc -l` - 1&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim &lt;BR /&gt;Brainbench MVP for Unix Admin &lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Wed, 03 Jan 2001 05:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477801#M776451</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-01-03T05:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477802#M776452</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you check which program you start when typing 'perl -v'.&lt;BR /&gt;At the prompt, type 'which perl'&lt;BR /&gt;It could show that you have a file called 'perl' in your PATH, especially if your PATH includes the current directory (.)&lt;BR /&gt;&lt;BR /&gt;What happens if you type '/usr/bin /perl -v' or '/usr/local/bin/perl -v' (depending of your installation directory) ?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 07:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477802#M776452</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-03T07:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477803#M776453</link>
      <description>I had even "cd" to the directory where the "perl" is located and tried to start it with "perl -v". But it failed.</description>
      <pubDate>Wed, 03 Jan 2001 09:23:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477803#M776453</guid>
      <dc:creator>JI HUI</dc:creator>
      <dc:date>2001-01-03T09:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477804#M776454</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As the modification date of your perl executable been changed recently?&lt;BR /&gt;What is the output of 'what /usr/bin/perl' ?&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 09:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477804#M776454</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-03T09:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477805#M776455</link>
      <description>Oops, typo....&lt;BR /&gt;&lt;BR /&gt;Should read "Has the modification...."&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 09:56:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477805#M776455</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-03T09:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477806#M776456</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you are not able to run perl from the perl -v from the directory containing the executable, Please check your PATH settings. Your current directory should be in your PATH settings.&lt;BR /&gt;&lt;BR /&gt;Try either:&lt;BR /&gt;&lt;BR /&gt;$ PATH=$PATH:.&lt;BR /&gt;$ perl -v&lt;BR /&gt;&lt;BR /&gt;Or:&lt;BR /&gt;&lt;BR /&gt;$ ./perl -v&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 10:22:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477806#M776456</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-01-03T10:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: "perl: cannot execute"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477807#M776457</link>
      <description>Just to clarify,&lt;BR /&gt;&lt;BR /&gt;I did tried "./perl -v" as well at the directory where perl executable is installed. &lt;BR /&gt;&lt;BR /&gt;As I mentioned in my first message, without changing anything, just killing the three processes, I can start "./perl -v" or "perl -v" and any perl script.&lt;BR /&gt;&lt;BR /&gt;Really hope to get a clue what may go wrong.&lt;BR /&gt;&lt;BR /&gt;thank you for those who has give me suggestion</description>
      <pubDate>Wed, 03 Jan 2001 13:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-perl-cannot-execute-quot/m-p/2477807#M776457</guid>
      <dc:creator>JI HUI</dc:creator>
      <dc:date>2001-01-03T13:19:49Z</dc:date>
    </item>
  </channel>
</rss>

