Xonotic Forums
Error response from keygen server: Not allowed - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: Error response from keygen server: Not allowed (/showthread.php?tid=3177)



Error response from keygen server: Not allowed - Debianita - 06-23-2012

Hi, when I try to use the server_linux.sh, I get the message on the thread subject.

I did the copy of the linux_server.sh to the /Xonotic directory and the server.cfg too.

This is a copy of the server_linux.sh executation: http://pastebin.com/NDvFYa6L

And here the server.cfg: http://pastebin.com/B48iAHt3


Thank you Blush


RE: Error response from keygen server: Not allowed - Mr. Bougo - 06-23-2012

Are you sure that your server.cfg is in the right place? It seems like it isn't.

The default server.cfg is in Xonotic/server, the right place to copy server.cfg is NOT Xonotic/. Make sure you read server/readme.txt, it's explained there. See the quoted paragraph below. But please read the entire readme, this is only an excerpt.
Quote:You will need to copy the right script for your system into your
Xonotic main directory, where the normal binaries are. You then need
to copy and ADJUST the config file which is called server.cfg. You
can copy it either into the Xonotic/data directory where the big
data*.pk3 file is or when running on linux or mac you can as well copy
it into a special directory named '~/.xonotic/data'.
After you have
setup everything and have adjusted the config file you can start the
server by running the server script.

As for the keygen error, I'm not sure. The keygen server will not generate more than one key per week per IP if I remember correctly. But it doesn't look like that's the problem.


RE: Error response from keygen server: Not allowed - Debianita - 06-23-2012

(06-23-2012, 05:37 AM)Mr. Bougo Wrote: Are you sure that your server.cfg is in the right place? It seems like it isn't.

The default server.cfg is in Xonotic/server, the right place to copy server.cfg is NOT Xonotic/. Make sure you read server/readme.txt, it's explained there. See the quoted paragraph below. But please read the entire readme, this is only an excerpt.
Quote:You will need to copy the right script for your system into your
Xonotic main directory, where the normal binaries are. You then need
to copy and ADJUST the config file which is called server.cfg. You
can copy it either into the Xonotic/data directory where the big
data*.pk3 file is or when running on linux or mac you can as well copy
it into a special directory named '~/.xonotic/data'.
After you have
setup everything and have adjusted the config file you can start the
server by running the server script.

As for the keygen error, I'm not sure. The keygen server will not generate more than one key per week per IP if I remember correctly. But it doesn't look like that's the problem.

Yes, before posting this thread, I read it.

I just have moved the server.cfg to the xonotic/server, but I still get the same error Sad

Any suggestion? Thanks for answering Blush


EDIT:

After waiting a while, I get this:

Error response from keygen server: Not allowed
Saving persistent data...
Can't write DB to server.dbdone!


EDIT2:

I moved the server.cfg to the data/ directory but I'm on the same situation... I don't know what to do :S


RE: Error response from keygen server: Not allowed - Mr. Bougo - 06-23-2012

server.cfg must be in one of the two data directories, not in Xonotic/server and not in Xonotic/. I guess you realized this in your EDIT2. Check that there's nothing complaining about server.cfg in your log.

As for the other messages... Maybe you can try renewing your keys. To do this, just move the existing ones into a backup directory:
Code:
cd ~/.xonotic
mkdir key-backup
mv key_0.d0si key_0-public-fp.txt key-backup

And make sure that the directory ~/.xonotic/data/data exists and is readable. That's where server.db is stored. ("server.dbdone" seems odd, are you sure that's what it said?) EDIT: maybe it's just a missing linebreak in the message printing code


RE: Error response from keygen server: Not allowed - Debianita - 06-23-2012

Thanks for helping me, Mr Bougo, but I can't set up the server, I get the same error always. Sad


RE: Error response from keygen server: Not allowed - Mr. Bougo - 06-23-2012

Be patient, hopefully divVerent catches this and helps you find out what's going wrong with the key server. About the database thing, you have to double-check permissions in $HOME/.xonotic. Does $HOME/.xonotic even exist?

Also, is your server.cfg correctly loaded now? In the log you posted in the top post, you had
Code:
You have not written any server.cfg file yet.
The server will therefore run at default settings.

For information on how to set up a dedicated server,
look at the files in the server/ subdirectory of your
Xonotic install.



RE: Error response from keygen server: Not allowed - Debianita - 06-23-2012

I created a new user called xonuser. After, I downloaded again the game files inside the /home/xonuser/. I copied the server.cfg to the Xonotic/data directory and server_linux.sh to Xonotic/.
Then, I edited the Xonotic/data/server.cfg (only adding bots and the tdm mode)

Finally, I checked the xonuser/.xonotic and yes, the direcrory exists. The permissions are: drwxrwxrwx xonuser xonuser .xonotic

My log when I execute the server script: http://pastebin.com/jFpk94ak

I see a lot of errors and warnings, but I don't know how to solve them. I'm waiting, but the console doesn't stop saying the same:

Saving persistent data...
done!
Initializing ClientSide information entities
Saving persistent data...
done!
Initializing ClientSide information entities


Thank you very much Smile


EDIT: I get a new line:

Initializing ClientSide information entities
Mod_LoadModel: models/weapons/g_akordeon.md3 not found

Still waiting Wink


RE: Error response from keygen server: Not allowed - Mr. Bougo - 06-24-2012

I don't think I can help any further, be patient and if no answer comes, feel free to ask on irc, in #xonotic on irc.freenode.net.