SRCDS Steam group


Starting/shutting down server thorugh HTTP
#1
I'm wondering if there is any way to remotely start up and shut down a dedicated srcds server? I run the server on one of my computers and only I have physical access to it. One of the admins sometimes needs to do stuff to server, such as turn it off and on, and I was wondering if there is a way to do this through a website? Like when people rent servers online, they have FTP to upload/download files and a method of restarting it remotely when needed. How can this be done in this case where I'm using one of my own computers to have others manipulate the server's on or off state?
Reply
#2
I use panel daemon (free) for several CS:S / Halo / TeamSpeak servers that run as a service on a dedicated server that I have NO physical access to. Works great, you can start/stop any windows service. Just use a browser for access to it.

http://www.paneldaemon.com/
[Image: urisig2.jpg]
Reply
#3
Uri Dead Wrote:I use panel daemon (free) for several CS:S / Halo / TeamSpeak servers that run as a service on a dedicated server that I have NO physical access to. Works great, you can start/stop any windows service. Just use a browser for access to it.

http://www.paneldaemon.com/

Thanx for pointing me in the right direction. I tried installing but it said that I needed Internet Information Services, which I downloaded but when I tried to install that, it said it's for Windows NT 4.0 only. The dedicated server I run is on Windows XP. Do you know if panel daemon works only on Windows NT systems?
Reply
#4
Toungue 
timberlax Wrote:
Uri Dead Wrote:I use panel daemon (free) for several CS:S / Halo / TeamSpeak servers
< snip>
http://www.paneldaemon.com/

Thanx for pointing me in the right direction. I tried installing but it said that I needed Internet Information Services, which I downloaded but when I tried to install that, it said it's for Windows NT 4.0 only. The dedicated server I run is on Windows XP. Do you know if panel daemon works only on Windows NT systems?

Sure, runs fine on XP just go to add/remove windoz components in control panel, just select the IIS server, auto installs. Like momma's meatloaf, "It's in there".
[Image: urisig2.jpg]
Reply
#5
Big Grin 
OMG that worked! Thanks alot!

However I just encountered another problem: I also host web server that uses the typical HTTP port 80. When I tried installing panel dameon on the same port it obviously didn't work. So I went into IIS settings in administrative tools and changed the port to something else. This time I install daemon tools and indicate the proper port of IIS but when I type http://localhost in the browser, nothing loads. I turned off the web server and still no luck - page doesn't load. Do you know a way to go around the HTTP server so it loads daemon tools on another port successfully? I can't afford to disable the web server but I did try turning it off and nothing changed.
Reply
#6
timberlax Wrote:OMG that worked! Thanks alot!

However I just encountered another problem: I also host web server that uses the typical HTTP port 80. When I tried installing panel dameon on the same port it obviously didn't work. So I went into IIS settings in administrative tools and changed the port to something else. This time I install daemon tools and indicate the proper port of IIS but when I type http://localhost in the browser, nothing loads. I turned off the web server and still no luck - page doesn't load. Do you know a way to go around the HTTP server so it loads daemon tools on another port successfully? I can't afford to disable the web server but I did try turning it off and nothing changed.

IMO, your missing the point of it being accessible via the browser. You WANT it to run on the same port as you web server. If your IIS server is functioning properly, don't try to fix it because it's not broke. The http server must be running, otherwise you wouldn't be able to access PanelDaemon via the web.

PanelDaemon installs in a sub dir under the IIS root. ie, like this:
http://hostname/PanelDaemon/, this is also the URL you would bring up in a browser access it, not http://hostname/.

Edit: I just reread your comment. You already run (some other) http server on port 80 and use it for web services. This server is NOT a IIS server. No problem, just select an alternate port for IIS to run on and the same for PanelDaemon, like 8080 or something. Either way I would take the default virtual directory that the PD installer already has in it for the install. Just use the URL examples above, you will have to add :8080 or whatever port you use to it.
[Image: urisig2.jpg]
Reply
#7
OK, so I installed it on port 99 (cuz 80 is being used by my website). So I typed in http://hostname:99/PanelDaemon/username and I got this message: "HTTP/1.1 404 Object Not Found" It's as if there is nothing in that directory even though I clearly set port 99 in IIS settings and 99 when I installed the application. I tried reinstalling it a few times and restarting the computer. So then I tried the root URL which is http://sixe.zapto.org:99/PanelDaemon When using IE I just see the source code but the page doesn't compile. When using Firefox, it asks to save a file. Might anyone know what I am missing?
Reply
#8
timberlax Wrote:OK, so I installed it on port 99 (cuz 80 is being used by my website). So I typed in http://hostname:99/PanelDaemon/username and I got this message: "HTTP/1.1 404 Object Not Found" It's as if there is nothing in that directory even though I clearly set port 99 in IIS settings and 99 when I installed the application. I tried reinstalling it a few times and restarting the computer. So then I tried the root URL which is http://sixe.zapto.org:99/PanelDaemon When using IE I just see the source code but the page doesn't compile. When using Firefox, it asks to save a file. Might anyone know what I am missing?

Yea maybe, since you see the page code it is definitely installed and trying to serve the pages to you, the problem is probably with your .NET version. The install requires that .NET v1.1 is installed. So if you installed panel daemon with v2.x it will not compile the pages properly, just as you see. Uninstall v2.x .NET Framework and reinstall PanelDaemon. Here is that link... Look under troubleshooting, that explains it.
http://www.paneldaemon.com/manual/
[Image: urisig2.jpg]
Reply
#9
Uri Dead Wrote:Yea maybe, since you see the page code it is definitely installed and trying to serve the pages to you, the problem is probably with your .NET version. The install requires that .NET v1.1 is installed. So if you installed panel daemon with v2.x it will not compile the pages properly, just as you see. Uninstall v2.x .NET Framework and reinstall PanelDaemon. Here is that link... Look under troubleshooting, that explains it.
http://www.paneldaemon.com/manual/

I reformatted the computer and installed .NET v. 1.1 like the instructions said and its still the same thing: "The page cannot be found" And it's definitely Panel Daemon working cuz it responds. I looked at those directions and did everything step by step. I installed on the default port 80 this time. When I go to http://localhost of the computer it says "Under Construction" and NOT the layout under step 4 of the manual under installation. When I type http://localhost/paneldaemon/username it's still the same thing as last time. Go here and look and maybe you will recognize this problem: http://sixe.zapto.org/paneldaemon There is no username/password prompt. :-(

Could it be the Virtual Directory? Because I don't change that option when installing. Maybe I have to manually indicate a different location?
Reply
#10
timberlax Wrote:[quote=Uri Dead]
Yea maybe, since you see the page code it is definitely installed and trying to serve the pages to you, the problem is probably with your .NET version. The install requires that .NET v1.1 is installed. So if you installed panel daemon with v2.x it will not compile the pages properly, just as you see. Uninstall v2.x .NET Framework and reinstall PanelDaemon. Here is that link... Look under troubleshooting, that explains it.
http://www.paneldaemon.com/manual/
Quote:When I go to http://localhost of the computer it says "Under Construction" and NOT the layout under step 4 of the manual under installation.

This is normal because there is no default .html page to display, rather that IS the default page without an index.htm present. So the web server works just fine.

Quote:When I type http://localhost/paneldaemon/username it's still the same thing as last time. Go here and look and maybe you will recognize this problem: http://sixe.zapto.org/paneldaemon There is no username/password prompt. :-(

Try this.... http://sixe.zapto.org/PanelDaemon/logon.aspx?
See what I see? A login screen, however lacking the full look! So it's kinda working but not. :-)

One of several things are happening at this point so I will try to touch on a few of them. This install is really an easy one so I really don't know why all the problems. You said you reformatted the PC and reinstalled the OS. Did you immediately go to the Micro$oft update site? ? ? ?
Make sure you have applied ALL the security updates. You should have only .NET v1.1 Framework installed at this point also. Check this by going to add/remove programs and look for these items as installed:

Microsoft .NET Framework v1.1
Microsoft .NET Framework v1.1 Hotfix (KB886903)

If those are there and all the other stuff has been done. install .NET Framework v2.0 (get it at the Micro$oft update site)

Now you should see "Microsoft .NET Framework 2.0" in your installed applications list right next to the 1.1 version and hotfix.

Now after this has been updated to .NET .2.0, check that these two services are present and the ASP.NET service is running on your sever. Get there by "settings/control panel/administrative tools/services"

".NET Runtime Optimization Service v2.0"
"ASP.NET State Service"

After you have verified these items just open your browser to:
"http://localhost/PanelDaemon" You should see all computer services running. You need to setup a user just for your game server(s) here: "http://localhost/PanelDaemon/admin".
Just give them access to what ever service you want them to have.

Quote:Could it be the Virtual Directory? Because I don't change that option when installing. Maybe I have to manually indicate a different location?
The default directory is just fine.

This system work just peachy on the few I use it on, not a problem with it even once. Good luck.
[Image: urisig2.jpg]
Reply
#11
OK, I installed all the updates, then .NET v. 2.0 and the default page loads when I typed http://locahost like it should. HOWEVER, I got this "Runtime Error" :http://sixe.zapto.org/PanelDaemon asking me to create some cutsom tag. I installed it with the default directory Admin (with no password) in this case and I tried different passwords as well but it's the same page. Have you ever seen this before? I'm kinda lost.
Reply
#12
What is your public accessible IP address?
[Image: urisig2.jpg]
Reply
#13
Uri Dead Wrote:What is your public accessible IP address?

71.172.254.27
Reply
#14
timberlax Wrote:
Uri Dead Wrote:What is your public accessible IP address?
71.172.254.27

Yea I already got it from no-ip, wasn't thinking. :-/
Works ok with http://localhost/paneldaemon ? ?
[Image: urisig2.jpg]
Reply
#15
Uri Dead Wrote:Yea I already got it from no-ip, wasn't thinking. :-/
Works ok with http://localhost/paneldaemon ? ?


You don't see this?:
http://img258.imageshack.us/my.php?image=paneldaemonkv9.jpg

That's what I see at http://sixe.zapto.org/paneldaemon (which is obviously the same as http://localhost/paneldaemon)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)