<?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: Bus error during su - in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970096#M292909</link>
    <description>As mentioned, your profiles need debugging. The only practical way to do this is to trace every step using set -x. Add the line:&lt;BR /&gt; &lt;BR /&gt;set -x&lt;BR /&gt; &lt;BR /&gt;at the start of /etc/profile and you will see somewhere along the way that a command or program has crashed during the processing of all the profile statements. The set -x option will be carried into all sourced settings files.</description>
    <pubDate>Tue, 27 Mar 2007 14:12:35 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2007-03-27T14:12:35Z</dc:date>
    <item>
      <title>Bus error during su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970090#M292903</link>
      <description>Hi,&lt;BR /&gt;I've problem with su - under informix user.&lt;BR /&gt;Using "ksh" (etc/passwd) error message is "Memory fault" and using "sh" I can see "Logout  Bus error". User profile is ok.&lt;BR /&gt;Any ideas ? Thx a lot</description>
      <pubDate>Tue, 27 Mar 2007 09:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970090#M292903</guid>
      <dc:creator>Radek.B</dc:creator>
      <dc:date>2007-03-27T09:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error during su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970091#M292904</link>
      <description>This has to be a problem either in user informix's .profile or in a script or program called (or sourced) from within .profile. This is very easy to test.&lt;BR /&gt;Do a "su informix" (without the "-") . If that works the user's .profile is the problem and you should then be able to take normal debugging steps. I almost never use the "-" version of su because I typically want to do things under cron or rc. There are usually sections of .profiles that expect the session to be interactive and will hang or cause unexpected results when stdin is not a terminal. My preferred method is to set up a separate file (e.g. /usr/local/bin/informix_env.sh) that is sourced by both my cron'ed script and the user's .profile.</description>
      <pubDate>Tue, 27 Mar 2007 09:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970091#M292904</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-03-27T09:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error during su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970092#M292905</link>
      <description>su informix works. But although I replaced .profile with empty one, it was the same.</description>
      <pubDate>Tue, 27 Mar 2007 09:53:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970092#M292905</guid>
      <dc:creator>Radek.B</dc:creator>
      <dc:date>2007-03-27T09:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error during su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970093#M292906</link>
      <description>Okay, are there any special conditions that apply to user informix in /etc/profile? You also need to look at .kshrc (if it exists).</description>
      <pubDate>Tue, 27 Mar 2007 10:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970093#M292906</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-03-27T10:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error during su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970094#M292907</link>
      <description>yes there is but only basic, I'll probably need to debug whole file :(</description>
      <pubDate>Tue, 27 Mar 2007 10:23:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970094#M292907</guid>
      <dc:creator>Radek.B</dc:creator>
      <dc:date>2007-03-27T10:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error during su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970095#M292908</link>
      <description>In your case, I would replace your /etc/profile with an original version. It's normally a bad idea to put any special conditions in /etc/profile. The only branching conditions in /etc/profile should be for user root and then anyone else. Informix's special conditions should be in his .profile or as I mentioned earlier in a file like "/usr/local/bin/informix_env.sh" that both .profile and any cron'ed script source using the shell's . (dot) operator. There should be no exits or returns in the sourced file.</description>
      <pubDate>Tue, 27 Mar 2007 10:54:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970095#M292908</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-03-27T10:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error during su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970096#M292909</link>
      <description>As mentioned, your profiles need debugging. The only practical way to do this is to trace every step using set -x. Add the line:&lt;BR /&gt; &lt;BR /&gt;set -x&lt;BR /&gt; &lt;BR /&gt;at the start of /etc/profile and you will see somewhere along the way that a command or program has crashed during the processing of all the profile statements. The set -x option will be carried into all sourced settings files.</description>
      <pubDate>Tue, 27 Mar 2007 14:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970096#M292909</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-03-27T14:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bus error during su -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970097#M292910</link>
      <description>Thanks all for a help, but looks like that problem is somewhere else (debug is ok). I have founded that nbuf was on 100% (fixed vaue), now it is dymanic but no help.</description>
      <pubDate>Thu, 29 Mar 2007 03:27:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bus-error-during-su/m-p/3970097#M292910</guid>
      <dc:creator>Radek.B</dc:creator>
      <dc:date>2007-03-29T03:27:41Z</dc:date>
    </item>
  </channel>
</rss>

