<?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: OSS - cannot make it work in Operating System - NonStop OS</title>
    <link>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717944#M200</link>
    <description>&lt;P&gt;Reading the support note,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN class="nonStopLabel"&gt;CAUSE:&lt;/SPAN&gt;User's initial-directory in Safeguard configured for non-existent directory in OSS filespace (error 4002, 110, 4002), or one of it's parent directories is not secured for execute by the user (error 4005,110,4013).

Or OSSREMOV removed the active HOME directory and using OSSSETUP hereafter created an empty fileset HOME only&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;As SUPER.SUPER (or as the owner of the Safeguard record you want to change) run SAFECOM and do a INFO USER &amp;lt;userid&amp;gt;,OSS
Note the INITIAL-DIRECTORY configured for the user. Alter it to an existing directory:

SAFECOM ALTER USER &amp;lt;userid&amp;gt;,INITIAL-DIRECOTRY /home/xyz

where /home/xyz actually is an existing directory in OSS.

If directory exists then it must be secured for the user to have at least read and execute access, but better would be secured for the user to be the owner and have read, write and execute permission, The group may not, but other (the rest of the world) should not have any permission. As an example, the directory is owned by SUPER.SUPER and the user is SUPER.WEB (a member of the SUPER group) SUPER.SUPER could modify the directory thus:

# chmod 750 /usr/tandem/webserver
# chown super.web:SUPER /usr/tandem/webserver
resulting in /usr/tandem/webserver being secured with read/execute access for the group:
drwxr-x---   1 SUPER.WEB	SUPER	4096 Dec 10 10:56 webserver

Note: it may happen that changing the initial-directory will not be taken into account by the system until all users for the modified entry have logged off and on again.

If none of the above suggestions apply, then determine if the directory is a mount-point for a fileset.  If it is, analyse the state of that fileset, and employ corrective measures (if needed).

Esp. if you get the error (4005, 110, 4013): Have a close look at the permissions of the parent directories of the user's home, e.g. for /home/yxz both, the / and the /home directory need to grant execute permission to the user in question (usually that means to all).&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might not be your problem, because you can't run osh from tacl with super.super.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also see doc,&amp;nbsp;&lt;A target="_blank" href="http://h20565.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=4201434&amp;amp;docId=emr_na-c02123793&amp;amp;docLocale=en_US"&gt;http://h20565.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=4201434&amp;amp;docId=emr_na-c02123793&amp;amp;docLocale=en_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 09 Mar 2015 19:53:56 GMT</pubDate>
    <dc:creator>Paul Kurtz</dc:creator>
    <dc:date>2015-03-09T19:53:56Z</dc:date>
    <item>
      <title>OSS - cannot make it work</title>
      <link>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717842#M197</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Got NS 2402, OSS there was never working (..unable to mount.. message while trying to start it; unfortunately do not remember exactly its content). Tried to reinstall it, did:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- ossremov (successfull)&lt;/P&gt;&lt;P&gt;- osssetup (successful as well)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem is that even if installation was ok, OSS still does not work; error message is as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$SYSTEM ZOSSINS 238&amp;gt; osh&lt;BR /&gt;osh[12]: unable to run /bin/sh, error (4002, 110, 4002): current working directory error&lt;BR /&gt;STOPPED: 0,1049&lt;BR /&gt;CPU time: 0:00:00.002&lt;BR /&gt;4: Process did not start&lt;BR /&gt;$SYSTEM ZOSSINS 239&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could maybe anyone advice what may be the reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance &amp;amp; regards&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717842#M197</guid>
      <dc:creator>TomaszSerwanski</dc:creator>
      <dc:date>2015-03-09T15:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: OSS - cannot make it work</title>
      <link>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717850#M198</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DId a brief search on HPSC, and found this solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://h20566.www2.hp.com/hpsc/doc/public/display?calledBy=Search_Result&amp;amp;docId=mmr_ns-4.0.773728.2456090&amp;amp;docLocale=en_US"&gt;https://h20566.www2.hp.com/hpsc/doc/public/display?calledBy=Search_Result&amp;amp;docId=mmr_ns-4.0.773728.2456090&amp;amp;docLocale=en_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a couple of issues that could cause this, make sure /home/user is secured correctly and user setup in safecom.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;INFO USER &amp;lt;userid&amp;gt;,OSS&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you running osh as super.super when getting error or a user like operator.user?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Mar 2015 16:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717850#M198</guid>
      <dc:creator>Paul Kurtz</dc:creator>
      <dc:date>2015-03-09T16:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: OSS - cannot make it work</title>
      <link>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717937#M199</link>
      <description>&lt;P&gt;Hello Paul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the answer, unfortunately I can not open page you've linked; regarding user - yes, I am using super.super. What you ment by 'make sure /home/user is secured correctly '?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Tomasz&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 19:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717937#M199</guid>
      <dc:creator>TomaszSerwanski</dc:creator>
      <dc:date>2015-03-09T19:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: OSS - cannot make it work</title>
      <link>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717944#M200</link>
      <description>&lt;P&gt;Reading the support note,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN class="nonStopLabel"&gt;CAUSE:&lt;/SPAN&gt;User's initial-directory in Safeguard configured for non-existent directory in OSS filespace (error 4002, 110, 4002), or one of it's parent directories is not secured for execute by the user (error 4005,110,4013).

Or OSSREMOV removed the active HOME directory and using OSSSETUP hereafter created an empty fileset HOME only&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;As SUPER.SUPER (or as the owner of the Safeguard record you want to change) run SAFECOM and do a INFO USER &amp;lt;userid&amp;gt;,OSS
Note the INITIAL-DIRECTORY configured for the user. Alter it to an existing directory:

SAFECOM ALTER USER &amp;lt;userid&amp;gt;,INITIAL-DIRECOTRY /home/xyz

where /home/xyz actually is an existing directory in OSS.

If directory exists then it must be secured for the user to have at least read and execute access, but better would be secured for the user to be the owner and have read, write and execute permission, The group may not, but other (the rest of the world) should not have any permission. As an example, the directory is owned by SUPER.SUPER and the user is SUPER.WEB (a member of the SUPER group) SUPER.SUPER could modify the directory thus:

# chmod 750 /usr/tandem/webserver
# chown super.web:SUPER /usr/tandem/webserver
resulting in /usr/tandem/webserver being secured with read/execute access for the group:
drwxr-x---   1 SUPER.WEB	SUPER	4096 Dec 10 10:56 webserver

Note: it may happen that changing the initial-directory will not be taken into account by the system until all users for the modified entry have logged off and on again.

If none of the above suggestions apply, then determine if the directory is a mount-point for a fileset.  If it is, analyse the state of that fileset, and employ corrective measures (if needed).

Esp. if you get the error (4005, 110, 4013): Have a close look at the permissions of the parent directories of the user's home, e.g. for /home/yxz both, the / and the /home directory need to grant execute permission to the user in question (usually that means to all).&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might not be your problem, because you can't run osh from tacl with super.super.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also see doc,&amp;nbsp;&lt;A target="_blank" href="http://h20565.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=4201434&amp;amp;docId=emr_na-c02123793&amp;amp;docLocale=en_US"&gt;http://h20565.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=4201434&amp;amp;docId=emr_na-c02123793&amp;amp;docLocale=en_US&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Mar 2015 19:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6717944#M200</guid>
      <dc:creator>Paul Kurtz</dc:creator>
      <dc:date>2015-03-09T19:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: OSS - cannot make it work</title>
      <link>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6718266#M201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;huge thank You for Your help. The answer was there was no subdirs&amp;nbsp;(user home directories) in "/home". Having&amp;nbsp;changed initial-directory of super.super for sth that exists (eg. bare "/home"), osh run correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Remi Cieslak&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 12:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6718266#M201</guid>
      <dc:creator>recies</dc:creator>
      <dc:date>2015-03-10T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: OSS - cannot make it work</title>
      <link>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6718294#M202</link>
      <description>&lt;P&gt;Very Good!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-nonstop-os/oss-cannot-make-it-work/m-p/6718294#M202</guid>
      <dc:creator>Paul Kurtz</dc:creator>
      <dc:date>2015-03-10T13:30:16Z</dc:date>
    </item>
  </channel>
</rss>

