1752339 Members
5712 Online
108787 Solutions
New Discussion юеВ

Re: /bin/sh not found

 
SOLVED
Go to solution
Aneesh Mohan
Honored Contributor
Solution

Re: /bin/sh not found

Hi,

I could see /bin link in my 11.31 system.


You may please do this.

# uname -a
HP-UX xxxxxxx B.11.31 U ia64 3902920412 unlimited-user license
#
# ls -lrtd /bin
lr-xr-xr-x 1 bin bin 8 Feb 24 16:27 /bin -> /usr/bin
# ls -lrtd /usr
dr-xr-xr-x 23 bin bin 8192 Feb 25 11:56 /usr

#ln -s /usr/bin /bin

Aneesh
RUET
Regular Advisor

Re: /bin/sh not found

definitivly
on 11.31, /bin is a link to /usr/bin ..

no more to do ..
Dennis Handly
Acclaimed Contributor

Re: /bin/sh not found

>I keep receiving /bin/sh not found when the system start up or if I running script.

I assume this is not in single user mode after the system has come fully up.

As Wim mentioned you should have a symlink from bin -> /usr/bin and lib -> /usr/lib.
Tlinks were removed on 11.31 and replaced by permanent symlinks.
paulohenriqueav
New Member

Re: /bin/sh not found

This solution solved my problem.

 

Thx