Koozali.org: home of the SME Server

shell scripts (yum.sh & hord3.sh) not even starting on 6

fodder1

shell scripts (yum.sh & hord3.sh) not even starting on 6
« on: May 16, 2005, 08:50:46 AM »
Hello All, i am glad to see that the users have taken back control of the project. thanks all for your great work. i have been using E-smith/SME since ver 4ish. its great, it just works.

Now to the problem at hand.

when i tried to run the yum.sh & hord3.sh scripts i get the following error while connect in via putty & ssh (also direct va keyboard)

--- snip -----
[root@mail files]# cd 6.5rc1\ updates/
[root@mail 6.5rc1 updates]# dir
hord3.sh  mysql40.sh  yum.sh
[root@mail 6.5rc1 updates]# yum.sh
bash: yum.sh: command not found
[root@mail 6.5rc1 updates]# ./ yum.sh
bash: ./: is a directory
[root@mail 6.5rc1 updates]# ./yum.sh
: bad interpreter: No such file or directory
---- snip -----

Now in my other FC3 dealings (mythtv) the shell script is run by  ./what ever.sh. It seems that the sh cant find the path. Also when i tried to run the update.sh from 6.01 it ran but kept erroring with cant find dir and cant find rpm etc even though it was run from the same dir.

BTW this is a clean install of 6.5rc1.

THe only bad thing about SME is that it is so stable that and M$ Windoz brainwashed person like me cant learn anything, coz it doesnt break.  :-D :hammer:

thanks for your support.

CH