<?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: Link problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257139#M176367</link>
    <description>And what is with "ll /usr/bin/sh" does it exist or not?&lt;BR /&gt;&lt;BR /&gt;Try a "ll -d /usr/bin" as well pls.</description>
    <pubDate>Thu, 22 Apr 2004 21:24:35 GMT</pubDate>
    <dc:creator>Juergen Tappe</dc:creator>
    <dc:date>2004-04-22T21:24:35Z</dc:date>
    <item>
      <title>Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257127#M176355</link>
      <description>I have to create &lt;BR /&gt;lrwxrwxrwt 1 root root 8 Feb 27 14:40 /bin -&amp;gt; /usr/bin &lt;BR /&gt;but the command:&lt;BR /&gt;#ln -sf /usr/bin /bin give me&lt;BR /&gt;lrwxr-xr-xt 1 root sys date bin@ -&amp;gt; /usr/bin&lt;BR /&gt;&lt;BR /&gt;If you know how to do let me know</description>
      <pubDate>Thu, 22 Apr 2004 19:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257127#M176355</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T19:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257128#M176356</link>
      <description>The permissions depending on the umask.&lt;BR /&gt;I your case it was set to 022.&lt;BR /&gt;&lt;BR /&gt;But for symbolic links they do not matter.&lt;BR /&gt;The permissions on them are not checked, the permissions of the destination (/usr/bin in your case get checked).&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;Your Link is working fine.&lt;BR /&gt;If you realy care about the "ll" output you could rm and recreate it with "umask 000" before. Dont forget to set it back to 022 after, otherwise EVERY new file/dfir will be writeable to everybody.&lt;BR /&gt;&lt;BR /&gt;I guess the time of the file you dont care about. But if so: Try a "touch -t &lt;TIME&gt;" , see man touch too.&lt;BR /&gt;&lt;BR /&gt;regard&lt;BR /&gt;Juergen&lt;/TIME&gt;</description>
      <pubDate>Thu, 22 Apr 2004 19:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257128#M176356</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-22T19:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257129#M176357</link>
      <description>thanks very much for your quick answer, but I made a mistake in the question.&lt;BR /&gt;I have in fact:&lt;BR /&gt;#ln -sf /usr/bin /bin give me&lt;BR /&gt;lrwxr-xr-x 1 root sys "date-time" bin@ -&amp;gt; /usr/bin&lt;BR /&gt;The link is created  without the "t".&lt;BR /&gt;How to put this "t" and what is the meaning ?&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2004 19:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257129#M176357</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T19:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257130#M176358</link>
      <description>The "t" stands for "Transition Link".&lt;BR /&gt;They are excactly the same like normal links.&lt;BR /&gt;They were created during HP-UX 9 to 10 upgrade, because there a lots of file and directories in different locations between ux 9 and 10. The t helps to identify a Transition link.&lt;BR /&gt;You dont realy need to care about that.&lt;BR /&gt;&lt;BR /&gt;But you could try to run "tlinstall" which checks all transition link within the whole system.&lt;BR /&gt;&lt;BR /&gt;btw. The t bit on normal directories is called the "sticky bit" and means that only the owner of a file can remove even it and the directory is writeable i.e. for everybody.&lt;BR /&gt;&lt;BR /&gt;Hope this helped.&lt;BR /&gt;Juergen</description>
      <pubDate>Thu, 22 Apr 2004 19:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257130#M176358</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-22T19:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257131#M176359</link>
      <description>My really problem is during the station reboot the interpreter "sh" is not find in "/bin/sh".&lt;BR /&gt;After creating the link:&lt;BR /&gt;#ln -sf /usr/bin /bin &lt;BR /&gt;&lt;BR /&gt;I have the same problem&lt;BR /&gt;&lt;BR /&gt;Any Idea ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2004 19:59:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257131#M176359</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T19:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257132#M176360</link>
      <description>May be it is a owner or group problem.&lt;BR /&gt;I have "root" and "sys"&lt;BR /&gt;is it correct ?&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2004 20:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257132#M176360</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T20:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257133#M176361</link>
      <description>If you are talking about shutdown/startup scripts in /sbin/init.d:&lt;BR /&gt;&lt;BR /&gt;They should use interpreter /sbin/sh thats because i.e. /usr might not be mounted when they get executed.&lt;BR /&gt;&lt;BR /&gt;Any /sbin/ commands are not using shared libraries as well which are normaly located under /usr too.&lt;BR /&gt;&lt;BR /&gt;Did I unterstood you problem correctly?</description>
      <pubDate>Thu, 22 Apr 2004 20:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257133#M176361</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-22T20:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257134#M176362</link>
      <description>It is not the startup/shutdown scripts. Is is located when my application and HP-OV start.&lt;BR /&gt;And I have the message:&lt;BR /&gt;/bin/sh:  not found.&lt;BR /&gt;That's why i try to re-created this link&lt;BR /&gt;regards</description>
      <pubDate>Thu, 22 Apr 2004 20:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257134#M176362</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T20:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257135#M176363</link>
      <description>Its not the owner/group Im sure.&lt;BR /&gt;&lt;BR /&gt;How do start OV? &lt;BR /&gt;pls post the command and paramters.&lt;BR /&gt;If this is a shell script. pls post that as well.&lt;BR /&gt;&lt;BR /&gt;Perhaps I can find s.th.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2004 20:23:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257135#M176363</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-22T20:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257136#M176364</link>
      <description>I don't know enough the scripts to send you the exact on in cause.&lt;BR /&gt;&lt;BR /&gt;Is it possible to re-create the exact link with "t" instead of "x" like the following:&lt;BR /&gt;&lt;BR /&gt;lrwxrwxrwt 1 root root 8 Feb 27 14:40 /bin &lt;BR /&gt;-&amp;gt; /usr/bin</description>
      <pubDate>Thu, 22 Apr 2004 20:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257136#M176364</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T20:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257137#M176365</link>
      <description>This will not help you, belive me :)&lt;BR /&gt;The permissions of symbolic links are realy just cosmetical.&lt;BR /&gt;&lt;BR /&gt;Lets try it that way:&lt;BR /&gt;1. lets check if /bin/sh can be found from your normal session and the Persiossion ofÂ´this file ARE important indeed:&lt;BR /&gt;  ll /bin/sh&lt;BR /&gt;  whats the output&lt;BR /&gt;  It should be excutable for you.&lt;BR /&gt;   (r-xr-xr-x)&lt;BR /&gt;&lt;BR /&gt;2. you type in a command to start OV&lt;BR /&gt;   which is it? I guess its ovstart.&lt;BR /&gt;   Type in&lt;BR /&gt;   which ovstart  (or your command)&lt;BR /&gt;   It should return with the complete PATH&lt;BR /&gt;   name where ist is located.&lt;BR /&gt;&lt;BR /&gt;   Then do a "file &lt;PATH name=""&gt;.&lt;BR /&gt;   I guess  the result will be somthing with&lt;BR /&gt;   shell&lt;BR /&gt;&lt;BR /&gt;   If so, I hope you are familar with the&lt;BR /&gt;   editor "vi".&lt;BR /&gt;   make a copy of the file , just to be sure to be sure.&lt;BR /&gt;   edit the file and check in the very first &lt;BR /&gt;   line (I guess it containes  : #!/bin/sh )&lt;BR /&gt;   for a trailing space character at the end.&lt;BR /&gt;   remove it and try to run it again.&lt;BR /&gt;&lt;BR /&gt;thats because I think to remeber a problem years ago, when a trailing space in a script created a similar problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PATH&gt;</description>
      <pubDate>Thu, 22 Apr 2004 21:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257137#M176365</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-22T21:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257138#M176366</link>
      <description>1 - # ll /bin/sh&lt;BR /&gt;/bin/sh not found&lt;BR /&gt;&lt;BR /&gt;That's my problem. Even if the link exist between bin@ -&amp;gt; /usr/bin&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea ?</description>
      <pubDate>Thu, 22 Apr 2004 21:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257138#M176366</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T21:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257139#M176367</link>
      <description>And what is with "ll /usr/bin/sh" does it exist or not?&lt;BR /&gt;&lt;BR /&gt;Try a "ll -d /usr/bin" as well pls.</description>
      <pubDate>Thu, 22 Apr 2004 21:24:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257139#M176367</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-22T21:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257140#M176368</link>
      <description>OSNMC2,sys,root #&lt;BR /&gt;OSNMC2,sys,root # ll /usr/bin/sh&lt;BR /&gt;-r-xr-xr-x   2 bin bin  221184 Apr 23 2001 /usr/bin/sh*&lt;BR /&gt;OSNMC2,sys,root #&lt;BR /&gt;OSNMC2,sys,root #&lt;BR /&gt;OSNMC2,sys,root #&lt;BR /&gt;OSNMC2,sys,root #&lt;BR /&gt;OSNMC2,sys,root #&lt;BR /&gt;OSNMC2,sys,root # ll -d /usr/bin&lt;BR /&gt;drwxrwxrwt   6 bin bin  10240 Apr 23 10:17 /usr/bin/&lt;BR /&gt;OSNMC2,sys,root #&lt;BR /&gt;OSNMC2,sys,root #&lt;BR /&gt;OSNMC2,sys,root #&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2004 21:28:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257140#M176368</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T21:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257141#M176369</link>
      <description>Very strange ....&lt;BR /&gt;OK Next try:&lt;BR /&gt;try to remove the link and recreate it.&lt;BR /&gt;&lt;BR /&gt;# rm -i /bin   (and a y after the question)&lt;BR /&gt;# newgrp root   # to be sure you belong to this group&lt;BR /&gt;# umask 000     # standard permissions&lt;BR /&gt;# ln -s /usr/bin /bin&lt;BR /&gt;# ll /bin&lt;BR /&gt;# cd /bin  # your can enter the directoy?)&lt;BR /&gt;# ll /bin/sh    # again and again :)&lt;BR /&gt;&lt;BR /&gt;This this all doesnt help. Do you have a backup, can you restore just this file from it?</description>
      <pubDate>Thu, 22 Apr 2004 21:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257141#M176369</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-22T21:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257142#M176370</link>
      <description>Sorry I went for lunch.&lt;BR /&gt;&lt;BR /&gt;I doesn't help me, I have done all you ask me but still:&lt;BR /&gt;# ll /bin/sh&lt;BR /&gt;/bin/sh not found&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;I'm having a complete backup on DAT, but how to extract only the missing link ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Apr 2004 22:44:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257142#M176370</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-22T22:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257143#M176371</link>
      <description>Might be this helps.&lt;BR /&gt;&lt;BR /&gt;I created a tar file containing "*only*" the /bin link from a UX 11.0 system. See attachment.&lt;BR /&gt;&lt;BR /&gt;If your browser running under Windows&lt;BR /&gt;ftp from dos prompt the "bin" option to your unix system.&lt;BR /&gt;&lt;BR /&gt;First check the content with:&lt;BR /&gt;tar tvf binlink.tar&lt;BR /&gt;&lt;BR /&gt;If this is a success unpack it with:&lt;BR /&gt;tar xvf binlink.tar&lt;BR /&gt;------------------------------------------&lt;BR /&gt;&lt;BR /&gt;If this istnt helping you -&lt;BR /&gt;how to restore it from your backup depends on how it got backed up.&lt;BR /&gt;which backup tool/system you are using?</description>
      <pubDate>Fri, 23 Apr 2004 06:23:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257143#M176371</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-23T06:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257144#M176372</link>
      <description>I am sooooo sorry.&lt;BR /&gt;Forget the attachment - tsstssstsss&lt;BR /&gt;here it it:</description>
      <pubDate>Fri, 23 Apr 2004 06:37:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257144#M176372</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-23T06:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257145#M176373</link>
      <description>Ok thanks very much I will try on Monday.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 23 Apr 2004 08:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257145#M176373</guid>
      <dc:creator>Capes</dc:creator>
      <dc:date>2004-04-23T08:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Link problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257146#M176374</link>
      <description>Hi Capes,&lt;BR /&gt;&lt;BR /&gt;I hope I helped you.&lt;BR /&gt;I few points would be appreciated...&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Juergen</description>
      <pubDate>Mon, 26 Apr 2004 04:54:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/link-problem/m-p/3257146#M176374</guid>
      <dc:creator>Juergen Tappe</dc:creator>
      <dc:date>2004-04-26T04:54:55Z</dc:date>
    </item>
  </channel>
</rss>

