<?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: Exec format error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589456#M231102</link>
    <description>is this a strictly shell script that you are running or is it calling some other scripts like perl scripts and/or other executables ? If there are external calls being made from this script, can you absolutely say that the error is coming from your script ?&lt;BR /&gt;&lt;BR /&gt;just for kick, as the first executable command in your shell script, put this line&lt;BR /&gt;&lt;BR /&gt;set -x&lt;BR /&gt;&lt;BR /&gt;and see what happens when you login to this user's acct next time. If the shell script portion is running correctly, you should see a boat load of tracing information, with lines starting with "+" signs. And if you can copy those here, maybe someone can tell what is going on</description>
    <pubDate>Mon, 25 Jul 2005 14:03:11 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2005-07-25T14:03:11Z</dc:date>
    <item>
      <title>Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589450#M231096</link>
      <description>Using HPUX11.11, and created a regular user. The startup program was changed from executing /usr/bin/ksh, to running a shell script. When an attempt is made to login as the user the following error appears "Exec format error". Can anybody help?</description>
      <pubDate>Mon, 25 Jul 2005 12:58:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589450#M231096</guid>
      <dc:creator>hmorrison</dc:creator>
      <dc:date>2005-07-25T12:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589451#M231097</link>
      <description>things come to mind right away are:&lt;BR /&gt;&lt;BR /&gt;1. is the script executable ?&lt;BR /&gt;2. is the ownership right (i.e. is this user able to read and execute this script depending on its permissions and ownership) ?</description>
      <pubDate>Mon, 25 Jul 2005 13:08:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589451#M231097</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-25T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589452#M231098</link>
      <description>The user is able to run the program, if given a shell prompt, but not able to run if it is made to be the startup program</description>
      <pubDate>Mon, 25 Jul 2005 13:21:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589452#M231098</guid>
      <dc:creator>hmorrison</dc:creator>
      <dc:date>2005-07-25T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589453#M231099</link>
      <description>if you have an /etc/shells, you may try putting your script into this file as a new line. If you do not have an /etc/shells file, create and add this script with the full path name into the file.</description>
      <pubDate>Mon, 25 Jul 2005 13:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589453#M231099</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-25T13:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589454#M231100</link>
      <description>did you include #!/usr/bin/ksh or sh on the first line of the script ?&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jul 2005 13:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589454#M231100</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-07-25T13:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589455#M231101</link>
      <description>Thanks for your responses. I however created the /etc/shells and put the script and its path in it. This however did not solve the problem</description>
      <pubDate>Mon, 25 Jul 2005 13:47:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589455#M231101</guid>
      <dc:creator>hmorrison</dc:creator>
      <dc:date>2005-07-25T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589456#M231102</link>
      <description>is this a strictly shell script that you are running or is it calling some other scripts like perl scripts and/or other executables ? If there are external calls being made from this script, can you absolutely say that the error is coming from your script ?&lt;BR /&gt;&lt;BR /&gt;just for kick, as the first executable command in your shell script, put this line&lt;BR /&gt;&lt;BR /&gt;set -x&lt;BR /&gt;&lt;BR /&gt;and see what happens when you login to this user's acct next time. If the shell script portion is running correctly, you should see a boat load of tracing information, with lines starting with "+" signs. And if you can copy those here, maybe someone can tell what is going on</description>
      <pubDate>Mon, 25 Jul 2005 14:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589456#M231102</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-07-25T14:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exec format error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589457#M231103</link>
      <description>Thanks again, the #!/usr/bin/ksh worked, however I found it strange,because in my troubleshooting, I tried to execute a script that another user executed, and the script did not have #!/usr/bin/ksh in it. I have actually removed the /etc/shells file that I had created, thanks to you both</description>
      <pubDate>Mon, 25 Jul 2005 16:07:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-format-error/m-p/3589457#M231103</guid>
      <dc:creator>hmorrison</dc:creator>
      <dc:date>2005-07-25T16:07:24Z</dc:date>
    </item>
  </channel>
</rss>

