Marcy Cortes wrote:
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
Hmm
-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
and hmm
Same size; get rid of this and make it a symlink.
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
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
Please do not reply off-list
----------------------------------------------------------------------
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