![]() |
Re: New & raw web based Dominion II game server
Quote:
Quote:
Quote:
You don't really need sudo to do it, though. Just parsing the contents of netstat -n will tell you if the port is in use or not. Just do a netstat -n | grep <your interface ip>:<port number>, and if you see anything there, it's not dead yet. However, none of this addresses the current problem. So it looks like since the cause of this cannot be determined, Pascentiful on Mosehansen is dead. The game has thus been moved using the files I received to: kludgemush.com 10345 |
Re: New & raw web based Dominion II game server
Re Jotunheim: That illustrates why I really should get some timestamps in that log file http://forum.shrapnelgames.com/images/icons/icon7.gif
Re the netstat: I can see why you would think that would be the solution. I actually wrote the entire script to do it, and it was first when I attempted to use it I was shown the error of my ways. The problem is that the apache server runs under restricted priviledges, for obvious reasons. One of the things it cannot do is access /proc/net, which is the source of the netstat info. Thinking about the info that resides in /proc/net, I think that this is a good thing<tm>. In conclusion, I need sudo http://forum.shrapnelgames.com/images/icons/icon7.gif |
Re: New & raw web based Dominion II game server
Well, /proc/net and netstat are normally world-readable...so unless the thing has been chrooted into being unable to see any of that at all, I'm not entirely sure how you managed to break that.
Then again, I don't futz with Apache much. I should try my hand at messing with your server code, though. |
Re: New & raw web based Dominion II game server
It nagotted again ...
|
Re: New & raw web based Dominion II game server
Is there any way for mere Users to clear out their old stopped games on mose?
I'd like to clean up after myself, but the mechanism is not obvious. Also if one can successfully start a game, but it autostops instantly (and again upon "successful" restart)does this imply the server is at its limit? My new instance of Pain_of_Human is exhibiting this behavior... have I done something bizarre or is the failure message mildly FUBARed? Thanks to Mose for his lovely site. Quite the Mensch. Rabe the Awkward Admin |
Re: New & raw web based Dominion II game server
As for clearing out old games, you can disown them from the welcome page, if you havn't already. At some point, I'll make a prober cleanup method that hides the old games, and maybe even deletes them.
Norfleet: Obviously, your Linux setup isn't hardened. I'm not running an unhardened linux on the open net http://forum.shrapnelgames.com/images/icons/icon7.gif As for the permissions for /proc/net, these are mine (provided by the Gentoo hardened folks) </font><blockquote><font size="1" face="sans-serif, arial, verdana">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">ravn root # ls -ld /proc/net/ dr-xr-x--- 4 root wheel 0 May 23 10:10 /proc/net/ </pre><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">And no, the apache user does NOT belong to the wheel group. The wheel group is of course the special group that can e.g. su to root. |
Re: New & raw web based Dominion II game server
I tried to modify the name of my new Pain of Human game to avoid the "/" problem, but I don't seem to be able to modify the name even though the field has selectable text.
Am I having a late night brain fart or can game names not currently be changed, even those containing syntax errors? Rabe the Remedially Reserved |
Re: New & raw web based Dominion II game server
Thanks for your efforts and quick response. New game started.
Is there a option to turn off score graphs? I couldn't manage it. http://forum.shrapnelgames.com/image...s/confused.gif Rabe the Re-doer P.S. What color would you like your shrine when I finally remodel? http://forum.shrapnelgames.com/images/icons/icon10.gif http://forum.shrapnelgames.com/images/icons/icon12.gif |
Re: New & raw web based Dominion II game server
Esben,
SixManAran is over, you can delete it whenever you need a free spot. Thanks all for playing. I'd like to thank our host also, this is a most welcome service. |
Re: New & raw web based Dominion II game server
Quote:
|
All times are GMT -4. The time now is 10:07 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.