Author Topic: Geting server to start.  (Read 1127 times)

0 Members and 1 Guest are viewing this topic.

Offline albot

  • Major(1)
  • Posts: 3
Geting server to start.
« on: August 10, 2007, 06:43:24 pm »
I guess you guys get this all the time but i've had quite a hard time trying to understaind my problem.

I've installed Debian linux with some Gnome thingy and also installed the server in /home/user/soldatserver/
the problem is that i get an error message when i run the executable (both the one without .exe and the one with): "Could not show "/home/user/server/soldatserver"."

Same thing when i try it logged in on the root account.

Iv'e tried to understaind the following from the readme

"
 ---> Linux: Folder permissions!
  a) chmod 666 ./logs/
  b) chmod 666 ./logs/kills/
  c) chmod 666 ./BattlEye/
"
and i tried to enter the commands in a x-terminal but me and the OS didn't seem to understaind eachonter  ::)

I'm sure this is basic but i didn't find anything in the stickes  :o or when searching.
Any ideas? is it related to the permissions?
« Last Edit: August 10, 2007, 07:04:08 pm by albot »

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Geting server to start.
« Reply #1 on: August 10, 2007, 07:42:44 pm »
chmod +x /home/user/soldatserver/soldatserver

Do not run the soldat server program as root.

Offline albot

  • Major(1)
  • Posts: 3
Re: Geting server to start.
« Reply #2 on: August 10, 2007, 08:19:16 pm »
cool. that made it work in the x-terminal in root but when trying as a user i got Access denied on only the chmod 666 ./logs/kills/ command.
same thing when typing "cd logs"

i got the following information on the directory "logs" with the command "ls -l":
drw-rw-rw- 3 username username date blah blah.

I'm looking into the problem right now but if there's an easy fix for ppl trying to set up a dedicated server the answer should probably be here. I'll post it if i find out before you do :)

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Geting server to start.
« Reply #3 on: August 10, 2007, 08:21:29 pm »
You need to chown the folders awell to the user you are running the server under. You could just do
chown -R myusername /var/soldatserver/

Offline albot

  • Major(1)
  • Posts: 3
Re: Geting server to start.
« Reply #4 on: August 10, 2007, 11:07:54 pm »
I menaged to get it  to work using chmod 766 instead of chmod 666.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Geting server to start.
« Reply #5 on: August 11, 2007, 02:13:09 am »
755 is the usual thing to use