Jump to content

HLstats and Minecraft Free as Services


ExcessiveEvil

Recommended Posts

Hey guys,

 

I've recently been moving a lot of stand alone stuff onto TCadmin to run them as services. I've moved most of them across with little problems until I have come to our Minecraft Free server and the HLstats Daemon.

 

The minecraft file is a .jar and the Hlstats is a perl file

 

Do I have to point them to java and perl , or is there a way I don't know about?

 

I'm running Server 2008, not sure if you need any other information, thanks in advance guys! Really pulling my hair out lol

Link to comment
Share on other sites

  • 4 weeks later...
Yup, I can run the .bat file myself.

 

Try unchecking all of the CPU Affinity boxes, those are only necessary if you want to specify a specific CPU you want the process to run on not if you want it to run on all of them.

 

Next you should be able to go into the ProgramFiles > TCADMIN > Monitor > (Service ID) folder and click the Console program (may be called TCADMIN Console don't remember exactly) and that will give you the output from TCADMIN after trying to start the .bat which can give you clues as to what the problem is.

 

Also you can change how many seconds between when TCA checks if the service is running since TCA doesn't recognize some services correctly and will keep trying to restart them even if its running properly, this is not a solution just would give you another test to see if that is the culprit.

Link to comment
Share on other sites

Hey thanks for the post!

 

I've gone away and done some testing. I set my TCAdmin to console mode, however nothing seems to be coming up about this service that I've made, or indeed any other servers or services I have running. When I launch the console I get the message "system monitoring has been disabled in your configuration". I'm not sure how important that it, but is that worth enabling? If so how do I go about doing that?

 

I altered the TCAdmin check time and removed the affinity from all the check boxes with still no success :(

 

Interestingly I gt this all the time in my game server report:

 

Resource Usage

Process Id: 	0
CPU Usage: 	0
Memory Usage: 	0 Bytes
Disk Usage: 	27.52 MB
Start Time: 	00:00:00
Times Crashed/Not Responding: 	0
Last Restart: 	00:00:00

Link to comment
Share on other sites

Not sure if this applies to windows, but if TCAdmin has its own user make sure it has access to the given folders. Also take a quick look at your antivirus/protection that you may have installed.

 

unsure if this may of helped, just a basic troubleshooting technique.

Link to comment
Share on other sites

Hey thanks for the post!

 

I've gone away and done some testing. I set my TCAdmin to console mode, however nothing seems to be coming up about this service that I've made, or indeed any other servers or services I have running. When I launch the console I get the message "system monitoring has been disabled in your configuration". I'm not sure how important that it, but is that worth enabling? If so how do I go about doing that?

 

I altered the TCAdmin check time and removed the affinity from all the check boxes with still no success :(

 

Interestingly I gt this all the time in my game server report:

 

Resource Usage

Process Id:     0
CPU Usage:     0
Memory Usage:     0 Bytes
Disk Usage:     27.52 MB
Start Time:     00:00:00
Times Crashed/Not Responding:     0
Last Restart:     00:00:00

 

Process ID: 0 means the program is not starting. I know that you can tell the program is not starting :D but I figured this is good information for some people.

 

Unless the PID is greater than 0 then something is preventing the program from running.

 

Also... looking at your config from above it is wrong. Application, start and game root directories are not definative paths like you entered. Rather they are based on the games directory structure. So remove the "C:" from the lines.

Link to comment
Share on other sites

Thanks for the replies. TCAdmin having it's own user shouldn't be the cause of this problem, as my other servers/services that are running under TCAdmin do not have permissions from any TCAdmin user :(

 

Also the "C:" has to be needed in this case as I'm actually referencing a place on my dedicated boxes hard drive. This is mainly down to me trying to run an existing resource through TCAdmin.

 

Kinda miffed as to why this isn't working now lol

 

If anyone has any ideas at all please let me know :(

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 39 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use