Urban Terror Forums: Problem starting my server - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1

Problem starting my server Rate Topic: -----

start script won't run

#1 User is offline   g5t4r Icon

  • Account: g5t4r
  • Joined: 28-May 13
  • Posts: 2

Posted 09 December 2014 - 09:09 PM

Hey
I recently got a VPS and now I am trying to run a UrT server on it. I got through the (old) manual I found in the support section. But at the point 11 when I have to run my start.sh I get the error Unexpected end of file.
the start.sh is the same as in the manual except that I replaced the location of the game ofc.
I already asked some friends but so for nobody could give me an answer and with google I couldn't find a solution either. So this seems to be my last chance to find a solution.

#2 User is offline   Biddle Icon

  • Account: biddle
  • Main tag: fr.
  • Country:
  • Joined: 01-August 12
  • Posts: 1,080

Posted 09 December 2014 - 11:05 PM

Have you done:
chmod a+x start.sh


If not, do it and try to
sh start.sh


I'll edit the Linux server setup page asap.

#3 User is offline   Nitro Icon

  •   QA member   
  • Account: nitro
  • Main tag: |P|
  • Country:
  • Joined: 15-March 10
  • Posts: 1,133

Posted 10 December 2014 - 12:26 AM

or read the stickies before posting LOL

http://www.urbanterr...irst-42-server/
Lian Li pc-o11dw Der 8auer Edition · Gigabyte x570 Aorus Xtreme · AMD Ryzen 9 5950x 16-Core
32GB DDR4 3800MHz CL16 · 2x 1TB Samsung NVMe RAID 0 · 16GB Radeon RX 6900XT Liquid Cooled

#4 User is offline   Biddle Icon

  • Account: biddle
  • Main tag: fr.
  • Country:
  • Joined: 01-August 12
  • Posts: 1,080

Posted 11 December 2014 - 02:46 PM

Yes, thank you Nitro!
I'll update the support manual with your work over the weekend.

#5 User is offline   g5t4r Icon

  • Account: g5t4r
  • Joined: 28-May 13
  • Posts: 2

Posted 11 December 2014 - 08:39 PM

Thanks a lot Nitro! I got it too wokr. Sorry for my stupid post though...I now see it was really unnecessary but I learned from it :)

bullet_loaderAdvertisement

#6 User is offline   Biddle Icon

  • Account: biddle
  • Main tag: fr.
  • Country:
  • Joined: 01-August 12
  • Posts: 1,080

Posted 12 December 2014 - 02:16 PM

The manual has been updated.

#7 User is offline   ItsMe Icon

  • Account: itsme
  • Main tag: bc`
  • Joined: 28-February 10
  • Posts: 76

Posted 27 December 2014 - 12:55 PM

View PostBiddle, on 12 December 2014 - 02:16 PM, said:



Please get me right - thats no offence just a hint:

man useradd


Quote

2 Login as root and perform the following command:

useradd urt



useradd -m urt


This will create the user directory and fill it with the contents of '/etc/skel/' and makes the following unnecessary:

Quote


If your server does not create home directories correctly issue the following commands:

mkdir /home/urt
chown urt /home/urt
usermod -d /home/urt urt


Quote

3 Now switch your current user over to urt by using the command:

su urt


su - urt


Notice the dash. This will change $PATH according to the new user and will change in its working directory - usual the users home directory.

Quote

4 Make sure you are in your home directory, if in doubt, use the command:

cd ~

Tell the user how to check the current directory
pwd



--
HTH

#8 User is offline   Biddle Icon

  • Account: biddle
  • Main tag: fr.
  • Country:
  • Joined: 01-August 12
  • Posts: 1,080

Posted 20 May 2015 - 02:48 PM

Updated. Thanks ItsMe ;)

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942