sMuve Posted February 27, 2017 Share Posted February 27, 2017 Hi everybody! I installed the Avorion Server via SteamCMD under Ubuntu 16.10. After the installation i modified the server.sh cp linux64/steamclient.so ./steamclient.so bin/AvorionServer --galaxy-name avorion_galaxy --admin $USER "$@" --same-start-sector yes --difficulty 0 --server-name Schattenwoelfe Avorion-Server --use-steam-networking yes --listed no --port 24000 And when i try to run the server via sudo sh /home/steam/avorionserver/server.sh I always get the following error (even when I don't use sudo!) cp: cannot stat 'linux64/steamclient.so': No such file or directory /home/steam/avorionserver/server.sh: 2: /home/steam/avorionserver/server.sh: bin/AvorionServer: not found But the steamclient.so and AvorionServer exists in the pathes mentioned above. Any ideas? Thanks in advance :) Link to comment Share on other sites More sharing options...
benni.zone Posted March 7, 2017 Share Posted March 7, 2017 I don't know your config. Try chmod +x server.sh or chmod 0755 server.sh Link to comment Share on other sites More sharing options...
Splutty Posted March 13, 2017 Share Posted March 13, 2017 Not sure if you have solved this already, but there's a lot wrong in your scripts :) First of all, why are you using sudo to start the server? There's no need to do that at all. So when you're in /home/steam/avorionserver just run your server.sh. From that directory, can you list the output of: ls -l linux64 ls -l *.so ls -l server.sh ldd bin/AvorionServer If the .so file needs to be copied at all, it should be copied to the bin directory, and you shouldn't have to put that in the script at all, since just once should be enough. Also making a symlink is always a better idea than copying it, since that will make sure the original can be updated and the updated library will be used. Link to comment Share on other sites More sharing options...
Velaja Posted March 17, 2017 Share Posted March 17, 2017 You cannot start the server.sh via selecting the home directory. When you change to the avorion user before you do anything else via sudo, you need to do this: script /dev/null Go into your directory where your server.sh is located. Default: cd /home/avorion/Steam/steamapps/common/AvorionServer Then just start your server.sh .. screen ./server.sh The missing directories should get created then. Btw .. it's better to start the server for the first time, before you try to edit something. And after everything is created, use your FTP Server (i recommend Bitvise SSH Client) to download the files you wan't to edit and stop the server. Then you can edit them on your desktop with Notepad++. After you have finished that, push them back to your server and start it. Safest way .. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now