|
|
|
 |
|

November 8th, 2008, 07:20 AM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: LlamaServer: status and bug reports
You're running things as root?  That's always a bad idea!
|

November 8th, 2008, 07:32 AM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: LlamaServer: status and bug reports
Well actually I'm not sure - whatever cron does by default. I guess that probably is root? Does seem a bit dodgy I agree!
|

November 8th, 2008, 10:46 AM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: LlamaServer: status and bug reports
cron runs as the user for which you edited the crontab settings.
|

November 8th, 2008, 10:59 AM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: LlamaServer: status and bug reports
I don't think that's quite right. I think there's an overall cron, and a cron for each user. I've been doing "crontab -e", and I'm fairly sure that one doesn't run as me.
|

November 8th, 2008, 11:09 AM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: LlamaServer: status and bug reports
Maybe I should have written "cron runs programs as the user for which you edited the crontab settings". The cron daemon itself runs as root, of course, but programs from the user's crontab entries are of course run as the user.
Quote:
cron invokes the command from the user's HOME directory with the shell, (/usr/bin/sh).
cron supplies a default environment for every shell, defining:
HOME=user's-home-directory
LOGNAME=user's-login-id
PATH=/usr/bin:/usr/sbin:.
SHELL=/usr/bin/sh
Users who desire to have their .profile executed must explicitly do so in the crontab entry or in a script called by the entry.
|
|

November 8th, 2008, 11:19 AM
|
 |
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
Re: LlamaServer: status and bug reports
Victoria hosting has crashed and the game's page on the server has vanished
The game page ( http://www.llamaserver.net/gameinfo.cgi?game=Victoria) now says: "Sorry, this isn't a real game. Have you been messing with my URL?"
I saw the same messages for artifacts game earlier today but later the issue was fixed.
Victoria needs to same magic touch.
|

November 8th, 2008, 12:38 PM
|
 |
Lieutenant Colonel
|
|
Join Date: May 2007
Posts: 1,462
Thanks: 34
Thanked 59 Times in 37 Posts
|
|
Re: LlamaServer: status and bug reports
Same thing with Stasis game. I submitted my turn and received an email saying that Dominions crashed with "Nagot gick fel" error. After that the game page just disappeared.
|

November 8th, 2008, 12:42 PM
|
 |
Sergeant
|
|
Join Date: Dec 2007
Location: Staring through your window
Posts: 333
Thanks: 26
Thanked 4 Times in 4 Posts
|
|
Re: LlamaServer: status and bug reports
Quote:
Originally Posted by ano
Same thing with Stasis game. I submitted my turn and received an email saying that Dominions crashed with "Nagot gick fel" error. After that the game page just disappeared.
|
Interestingly enough I got this email from llamaserver as well even though I'm not in stasis anymore and haven't been for a while.
__________________
I can has Backrub?
|

November 8th, 2008, 12:42 PM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: LlamaServer: status and bug reports
I'm not sure at all how the llamaserver functions, but it might be that if something is run with different user rights, and the access restrictions aren't allowing access to the files anymore, then it could be that the webserver just doesn't have access to the files anymore. In regards to the "root" user that has been mentioned here.
|

November 8th, 2008, 01:32 PM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: LlamaServer: status and bug reports
Aaaagh! This is getting ridiculous! It actually knows when I go out!
I sat in the house for about 5 hours this morning, and everything was fine. I went out for about an hour and a half, and about four games crashed.
Now I am stumped. First I thought it was lack of disk space, then I thought it was running as the wrong user. But it seems it's neither. The error is:
Något gick fel!
LoadBattleMap: can't open file
Något gick fel!
LoadBattleMap: can't open file
I'm pretty sure the battle maps are all fine, but more strangely it always works fine when I rehost the games myself. Any ideas are welcome.
Anyway, I'm going out to the fireworks, so I am going to have to turn hosting off again. Also, apologies to those whose games have crashed/disappeared. Hopefully I can sort this out finally tomorrow.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|