Page 1 of 1

Installation problems

Posted: 20 Dec 2010, 00:26
by jz87
I'm trying to setup SFS2X on a Linode Ubuntu 10.04 machine. I unpacked everything according to instructions and got the following error message when I tried to start the service:
./sfs2x-service start

Preparing JRE ...
./sfs2x-service: 258: bin/unpack200: Permission denied
Error unpacking jar files. The architecture or bitness (32/64)
of the bundled JVM might not match your machine.
You might also need administrative privileges for this operation.

but if I just run
bash sfs2x.sh

everything works fine. What is the difference between the two options?

Posted: 20 Dec 2010, 06:51
by appels
are you a superuser on the box ?
bin/unpack200: Permission denied

the system doesn't allow you to unpack with that user

Posted: 20 Dec 2010, 08:14
by Lapo
Make sure to always work in your home folder, there you should have enough permissions for reading and writing.

Posted: 20 Dec 2010, 23:25
by jz87
I get this error even when I'm running as root. Is there an error log or diagnostic log somewhere so I can see exactly what it's trying to do? I have no idea what command it's trying to execute and which folder it's reading/writing from.

I did install OpenJDK on this machine, but it should still be running unpack200 from the SFS2X/bin directory right?

Posted: 20 Dec 2010, 23:27
by jz87
NVM, I figured it out. I didn't have execute permissions.

Posted: 21 Dec 2010, 07:01
by Lapo
great that is now working