Installation problems

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
jz87
Posts: 19
Joined: 16 Dec 2010, 23:10
Location: us

Installation problems

Post 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?
appels
Posts: 464
Joined: 28 Jul 2010, 02:12
Contact:

Post by appels »

are you a superuser on the box ?
bin/unpack200: Permission denied

the system doesn't allow you to unpack with that user
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Make sure to always work in your home folder, there you should have enough permissions for reading and writing.
Lapo
--
gotoAndPlay()
...addicted to flash games
jz87
Posts: 19
Joined: 16 Dec 2010, 23:10
Location: us

Post 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?
jz87
Posts: 19
Joined: 16 Dec 2010, 23:10
Location: us

Post by jz87 »

NVM, I figured it out. I didn't have execute permissions.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

great that is now working
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply