I remember having something like this happen on SUSE for PPC. I think what happened to me was I installed the system without the package for bash, and /bin/sh became zsh. Then when I installed bash latter it didn't replace /bin/sh, so /bin/sh was still zsh. When I re-installed the entire SUSE system with bash selected it make /bin/sh a link to bash. This was a long time ago, so I may not be remembering right.
-----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Marcy Cortes Sent: Tuesday, September 26, 2006 9:38 PM To: [email protected] Subject: SLES9 problem with /bin/sh I have 2 servers - both are SLES 9, 31bit. One system has a /bin/sh file and the other has it linked to /bin/bash. The server without the link is getting syntax errors on the startup scripts, I think because of this (it seems not to have sourced /etc/rc.status amongst other things). Both have bash-2.05b-305.14, same kernel. pb-sles9:/bin # ls -al *sh -rwxr-xr-x 1 root root 122743 Jun 30 2004 ash -rwxr-xr-x 1 root root 551548 Mar 24 2006 bash lrwxrwxrwx 1 root root 4 Jan 10 2006 csh -> tcsh -rwxr-xr-x 1 root root 6550 Nov 17 2005 dbginfo.sh -rwxr-xr-x 1 root root 246686 Apr 4 2005 ksh -rwxr-xr-x 1 root root 8585 Nov 29 2005 rescan-scsi-bus.sh -rwxr-xr-x 1 root root 598556 Jun 30 2004 sash -rwxr-xr-x 1 root root 246686 Apr 4 2005 sh lrwxrwxrwx 1 root root 12 Jun 1 15:04 ssh -> /usr/bin/ssh -rwxr-xr-x 1 root root 415739 Nov 29 2004 tcsh pb-sles9:/bin # rpm -qa | grep bash bash-2.05b-305.14 pb-sles9:/bin # rpm -qf bash bash-2.05b-305.14 pb-sles9:/bin # rpm -qf sh bash-2.05b-305.14 veritas-sles9:/bin # ls -al *sh -rwxr-xr-x 1 root root 122743 Jun 30 2004 ash -rwxr-xr-x 1 root root 551548 Mar 24 2006 bash lrwxrwxrwx 1 root root 4 Feb 4 2006 csh -> tcsh -rwxr-xr-x 1 root root 6550 Nov 17 2005 dbginfo.sh -rwxr-xr-x 1 root root 246686 Apr 4 2005 ksh -rwxr-xr-x 1 root root 8585 Nov 29 2005 rescan-scsi-bus.sh -rwxr-xr-x 1 root root 598556 Jun 30 2004 sash lrwxrwxrwx 1 root root 4 Jul 6 11:44 sh -> bash lrwxrwxrwx 1 root root 12 Jul 24 11:28 ssh -> /usr/bin/ssh -rwxr-xr-x 1 root root 415739 Nov 29 2004 tcsh veritas-sles9:/bin # rpm -qa | grep bash bash-2.05b-305.14 veritas-sles9:/bin # rpm -qf bash bash-2.05b-305.14 Any ideas what would have created that link that maybe didn't run on the first server? Rpm -qil shows that /bin/sh came from the bash package. Marcy Cortes "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
