Hi there I am having trouble setting up a vps on Linux. For some reason it wont accept the key that I have inserted? I’m not sure what else to do? I am new to Linux so please forgive me lol.

I have uploaded some screenshots below to show what I’m on about.

Thanks in advance.

Screenshot_1

Your pwd isn’t the server data folder

My password? where do I put that dude? I never needed to do that before. Please could u explain thanks.

Not password. Your working directory isn’t the server data folder.

You’re trying to launch the server from your home directory. server.cfg very likely doesn’t exist there hence you get this error.

Screenshot_3

I am not really sure what u mean? What do I need to do? Sorry I’m a dummy when it comes to Linux. I’m more used to windows then anything.

As you clearly can see, there is no server.cfg next to run.sh. So how is +exec server.cfg going to find the config? And thus throwing an error that license key does not exist due to no config being present.

oh right so the server.cfg must be in the server-data folder?

Screenshot_4

This is where the server.cfg is located…

YOU AREN’T LAUNCHING THE SERVER FROM THE SERVER-DATA FOLDER.

It’s not that hard. Cd to the server-data folder and THEN start it like you did

yes but its Linux not windows! No need to type in CAPS mate I am new to this.

You probably want to make another script file (start.sh) in server-data with:

../run.sh +exec server.cfg

and run the server with ./start.sh. You could use absolute paths, but that would get clumsy real quick.

1 Like

ok I don’t think there was no need to be rude above and type in caps! I am new to this and its hard for me. Any ways I never used Linux in all my life this is why I’m struggling that’s all. I did say that at the start of this topic. rant over lol

There’s actually no difference in starting it. In both you have to cd to the server-data folder

You got further than 90% of most people and I admire that.

You just missed one very crucial part of the setup guide, which I think mainly stems from the fact that you sshed into the machine and thought you just had to run it.

Run the server from the server-data folder.

oh thanks dude sorry just getting stressed over this! lol its sooo annoying when ur a noob at this! I don’t get it because the server.cfg is in the same place as I have it in windows? So I don’t see the issue? Or am I being blind? lol

Also I booted it now I’m a getting another error. (Linux hates me lol)

Screenshot_5

Screenshot_6 <<>> I managed to install sql though so that’s a bonus!

Is that what u referring 2?

Just do something similar to what Syntasu said.

cd /home/lee/server/server-data
bash ../run.sh +exec server.cfg

ok I keep u posted