PDA

View Full Version : Running Autokick as a service?


PrOnG
11-21-2003, 09:47 AM
I just fired up my 32 player COD server last night, and added Autokick to my list of utilities that help me run my server. I use Firedaemon to run COD and TeamSpeak2 as services which works great! The problem is when I run Autokick as a service using Firedaemon...

I understand that the use of the -a switch on autokick allows AK to start scanning upon startup, but it will not run as a service. I have to leave my terminal services session active on my Windows 2000 Advanced Server to keep AK active, and not run it as a service.

I use AK for high ping kicks and server announcements, so it would be great if this could run as a service, and allow me to close my terminal services session once and for all. Leaving a TS session open to run one utility is kind of silly, when everything else runs great as a service.

Since AK is such a great utility, I find it hard to live without...

Does anyone have any suggestions? I registered on the forums at www.autokick.com, but every time I try to post, it says I do not have permission to post in that forum.

Kudos to the author of AK! Keep up the great work!

Irksome
11-21-2003, 01:05 PM
Same prob here if anyone has a solution?

Tighten
11-22-2003, 01:00 AM
You can try this, although I never used AK before.

Computer management/ users / add new user.

Set the permissions and add that user to the Aministrators.

Now open up "services" and right click on the service, clikc the "log on" tab, check this account, then switch user from "local system" to that user and put in the users password. click apply.

Then start the service. The service should think that the user you made is starting it, and stay running when you (the other user) log's off.

Let me know if this helps.

AADiC
11-22-2003, 08:53 AM
I have to leave my terminal services session active on my Windows 2000 Advanced Server to keep AK active, and not run it as a service.

I can run it as it is intended, a program, and just disconnect from the term session. Our servers are not running as services either and I Disconnect from the Term serv and they continue to run.

PrOnG
11-25-2003, 10:57 PM
Tighten,

Maybe I didn't clarify a few things....

AutoKick runs as a service, or at least appears to. It just doesn't query the server, or print console messages when running as a service. The only time it works properly is when it is run as an application, not as a service.

AADIC,

I know that the program runs as an application, and I know how to disconnect my Terminal Services session to keep it alive. The point is, why doesn't this run as a service?

FireDaemon is a server ops best friend because of it allows you to logoff from the server entirely, and NOT have to leave a session open...

It is best practice to have everything running as services so IF the server looses power, everything comes back up without intervention....

Tighten
11-25-2003, 11:14 PM
send me the link to the program and I will get it configured as a service, then send you the parameters.

I have run many applications - as a service. 27 different games I have hosted and all ran as services. Not to mention a few dozen other programs I have installed as a service. This one shouldn't be any different.

So post up the link I will configure it tomorrow and send you the parameters.

PrOnG
11-26-2003, 02:27 AM
www.firedaemon.com for the service host
www.autokick.com for the autokick program

Notes:

When AK is run as a service through firedaemon, even though it shows running as a service, it will not run auto announcements or interact with the server. All features of AutoKick will not work when running as a service. I even disabled the tray icon to rule out the systray presence messing up the the program.

Thanks for looking at this for me as well. It would be great to get this running as a service full time.

On a side note, one suggestion would be to have multiple instances of AK running to monitor multiple servers.

Tighten
11-26-2003, 01:57 PM
I Found the problem with this application, and it is not the service. It will run AK via a service.

The problem is this, after launching the program it needs to be started via (Start button). It does not simply launch when the exe. is started.

I am going to e-mail CK and see if there is a way to configure it so I can place a comand that auto initiates the program once the exe is started.

example +start or somthing like that. Since you cant use a short cut for a service, it would have to be something integrated.

PrOnG
11-27-2003, 03:19 AM
Been there, done that Tighten...

Set up the service with the -a parameter. That starts the scan without having to hit the start button. Even if you set it up with that parameter, the service fails to talk to the console and spit out announcements etc....

I am sorry I failed to mention the -a parameter. I even tested it myself by modifying the shortcut to the exe and starting the application. It WILL autoatically start scanning if setup with the -a parameter.

Hope we can resolve this soon, or at least get an answer why this fails to function properly as a service....

BTW, I am very good with PC's, hardware and software inclusive. I just want to dispell any thoughts of being a noobe at this :)

Tighten
11-27-2003, 09:13 AM
I never would call anyone a "NOOB". There is always someone that knows more then you, and someone that knows less.

That is the entire reason for a community - to work together to get problems resolved, not stick your nose up when someone does not know something.

There are guys that can build mods or extreme web sites -for example, that do not know what a service is.

I posted this questin in AK's forums, I am awaiting a reply.

I think with a little creative thinking we will get this going.

Tighten
11-27-2003, 10:05 AM
From CK -

yup - just launch it with an "-a" or "/a" argument and it will start scanning.

ck

I will try this tonight after I stuff myself with anything my fat fingers can grab.

We have our own in house proggy that installs programs as services. It is much more flexible then Firedaemon and allows for unlimited command varibales.

12-29-2003, 07:38 PM
Did you get any resuts after further experimentation?

Tighten
12-29-2003, 07:46 PM
Sorry, I have been super busy- I have not had much time to play with it. Possibly tomorrow night I can play around with it.

12-29-2003, 07:49 PM
That is understandable. Thank you.

PrOnG
12-30-2003, 09:16 AM
I actually gave up on auto-kick and moved over to Server Watch :)

Irksome
01-05-2004, 06:04 PM
Sorry lads been away. Seems like no one has made any progress - and all I can add is that I too have tried every which way to get AK working as a Firedaemon service and cannot get it to function ...