Reply
Thread Tools
Posts: 14 | Thanked: 7 times | Joined on Apr 2010
#1
I have searched but cant seem to find anyone else with simular problem.

Before the FW1.2 I had some files that returned information based on texts and calls available based on my telco contract.
Worked fine... then when I upgraded they all stopped working.

the programs do not even try and run... so its not a code issue. (well I dont think it is...)

here are the permissions:
---------------------
Jades-Nokia-N900-42-11:/usr/bin# ls -l Jade*
-rwxr-xr-x 1 root root 79 Apr 20 22:10 Jade_Temp
-rwxr-xr-x 1 root root 1553 Jun 11 09:59 Jade_out
-rwxr-xr-x 1 root root 590 Jun 11 09:59 Jade_text
-rwxr-xr-x 1 root root 237 Jun 11 09:59 Jade_vnc2
-rwxr-xr-x 1 root root 150 Jun 11 09:59 Jade_wake

---------------------

I used to be able to run them with out being root, so I could run them with the desktop shell command execution thingy..

but now when I run them it comes up:
Jades-Nokia-N900-42-11:/# Jade_text
-sh: Jade_text: not found


how do I fix this?

Thanks Jade
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#2
For some reason it's not finding the scripts.
Can you check that /usr/bin is still in your path?

Code:
echo $PATH
You might also want to try to run them from the /usr/bin directory to test that way too
Code:
cd /usr/bin
./Jade_text
 
Posts: 14 | Thanked: 7 times | Joined on Apr 2010
#3
This is my path:
Jades-Nokia-N900-42-11:~# $PATH
-sh: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11: not found

Following your instructions:
Jades-Nokia-N900-42-11:~# cd /usr/bin
Jades-Nokia-N900-42-11:/usr/bin# ./Jade_text
-sh: ./Jade_text: not found


The weird thing is I havent changed anything... it just stopped working straight after the firmware update.
 
Posts: 137 | Thanked: 71 times | Joined on Mar 2008
#4
Originally Posted by vanadium View Post
This is my path:
Jades-Nokia-N900-42-11:~# $PATH
-sh: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11: not found

Following your instructions:
Jades-Nokia-N900-42-11:~# cd /usr/bin
Jades-Nokia-N900-42-11:/usr/bin# ./Jade_text
-sh: ./Jade_text: not found


The weird thing is I havent changed anything... it just stopped working straight after the firmware update.
Check to see if all your partitions are mounted. Reboot. File System Check.
 
Posts: 14 | Thanked: 7 times | Joined on Apr 2010
#5
tried restarting... how do I check the file system?
 
Posts: 14 | Thanked: 7 times | Joined on Apr 2010
#6
anyone got any ideas?
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#7
You mention bash in the thread title. Is it possible that you had bash installed previously, are now using the default shell (as you haven't reinstalled bash), and that the scripts themselves are directly invoking /bin/bash which isn't there ???
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.

Last edited by fnordianslip; 2010-06-15 at 09:17. Reason: Corrected path to bash from /usr/bin/bash
 

The Following User Says Thank You to fnordianslip For This Useful Post:
Posts: 14 | Thanked: 7 times | Joined on Apr 2010
#8
how did it stop with the firmware upgrade? if it was installed before why isnt it installed now.

I assumed it was bash... im not too fimular with shell... havent used linux for years and years.

the weird thing if I change the code to be sh and type sh Jade_text then it works?

how come it doesnt work when its bash? it did on p1.1
 
Posts: 14 | Thanked: 7 times | Joined on Apr 2010
#9
ok... I checked that directory and bash didnt exist... I aptget install bash.... and problem solved... is that an ok solution.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#10
I thought you might have reflashed to get PR1.2 and not reinstalled bash.

Take a look at the first line of the scripts, and if it says /bin/bash change it to /bin/sh. I said /usr/bin/bash in my post above in error.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:28.