.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Multiplayer and AARs (http://forum.shrapnelgames.com/forumdisplay.php?f=145)
-   -   LlamaServer: status and bug reports (http://forum.shrapnelgames.com/showthread.php?t=41061)

lch November 8th, 2008 07:20 AM

Re: LlamaServer: status and bug reports
 
You're running things as root? :shock: That's always a bad idea!

llamabeast November 8th, 2008 07:32 AM

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!

lch November 8th, 2008 10:46 AM

Re: LlamaServer: status and bug reports
 
cron runs as the user for which you edited the crontab settings.

llamabeast November 8th, 2008 10:59 AM

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.

lch November 8th, 2008 11:09 AM

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.

WraithLord November 8th, 2008 11:19 AM

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.

ano November 8th, 2008 12:38 PM

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.

Revolution November 8th, 2008 12:42 PM

Re: LlamaServer: status and bug reports
 
Quote:

Originally Posted by ano (Post 651102)
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.

lch November 8th, 2008 12:42 PM

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.

llamabeast November 8th, 2008 01:32 PM

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.


All times are GMT -4. The time now is 09:24 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.