Click to See Complete Forum and Search --> : cube problem (kinda)
oblio
10-20-2002, 06:00 PM
can anyone tell me how the heck you get cube to run? I unzipped it into a cube folder in my home directory and read the readme but either I'm not understanding it or something is screwed. if I type ./cube_unix from the base directory it gives me:
[jerry@localhost cube]$ ./cube_unix
bash: ./cube_unix: Permission denied
I tried to chmod it but to no avail. I go to the bin_unix directory and see a linux_client but when I try to run it it says it cannot run a binary. I tried chmod on this but then it gave me a similar permissions denied error. How do I do this?
bwkaz
10-20-2002, 07:40 PM
What error did you get when you tried to chmod it? chmod a+x cube_unix was the command you used, right?
If that says permission denied, then become root first (su -).
oblio
10-20-2002, 08:58 PM
I deleted everything and re-unzipped it. Here's what I've gotten so far:
[jerry@localhost cube]$ ./cube_unix
bash: ./cube_unix: Permission denied
[jerry@localhost cube]$ chmod a+x cube_unix
[jerry@localhost cube]$ ./cube_unix
./cube_unix: line 39: /home/jerry/cube/bin_unix/linux_client: Permission denied
./cube_unix: line 39: exec: /home/jerry/cube/bin_unix/linux_client: cannot execute: Permission denied
[jerry@localhost cube]$
any ideas?
Wallex
10-20-2002, 09:26 PM
Originally posted by oblio
...
[jerry@localhost cube]$ ./cube_unix
./cube_unix: line 39: /home/jerry/cube/bin_unix/linux_client: Permission denied
./cube_unix: line 39: exec: /home/jerry/cube/bin_unix/linux_client: cannot execute: Permission denied
[jerry@localhost cube]$
any ideas?
I have an idea.
It says there that cube_unix is, in fact, being executed. But it bumps into an error when it reaches the line 39 of the file. It is trying to execute /home/jerry/cube/bin_unix/linux_client, but it gets a permission denied problem. Tell me.. inside /cube/ is there a directory called bin_unix? And if so, is there a file in there called linux_client? And if so, is that file chmodded to allow execution? I thought so as well.
Many people get scared when they bump into a long error message, but if you sit back and relax, then read it carefully, you might actually make sense out of it.
PD: I think you haven't followed the installation instructions correctly.. because they should have told you about all this chmodding you needed to do.
oblio
10-20-2002, 10:24 PM
I went and chmod the linux_client file and now it works. I read the read me that is in the default directory and it seemed oriented towards a windows install (i.e. run the .bat file etc) I didn't look at all the doc files because most of them seemed to cover level ed and the like. I suppose if I had picked at this a little longer I could have figured it out. I had opened up the shell script to figure out what was going on but wasn't to sure of myself. I must be some kind of masochist to do this stuff. Thanks though, I appreciate the help.
-O