PDA

View Full Version : server_windows_service.exe ? updates ?


tarokdk
05-05-2007, 13:29
Hi out there.

Well i have a small question.
The dev's are good at updating our dear teamspeak server, well the server_windows.exe file.

My question is, now that im running TS-server on a windoes 2003 server as an service by the server_windows_service.exe, i dosent get anything out of downloading the new updates ?

So running TS as an service you wont be able to get the use of the updates to the .exe file unless they starts updating the server_windows_service.exe ?

Thomas
05-05-2007, 13:59
Sorry, there is no update of the service binary.

But you can use Firedaemon (http://www.firedaemon.com/) to create your own service binary.

ANR Daemon
05-05-2007, 22:41
Why not use
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386/srvany_x86.exe
?

Thomas
07-05-2007, 04:08
Because I didn't know this tool. :p

BHKai
07-05-2007, 04:52
nice find!

Reedy Boy
07-05-2007, 11:39
Because I didn't know this tool. :p

:P

Its a good tool that works rather simply

tarokdk
14-05-2007, 09:41
the srvany_x86.exe seems to be a win 2000 server only thing, correct me if im wrong here.
what i have found out, is that you need an instsrv.exe (a 2000 server program) to install the srvany_x86.exe.

I have searched the microsoft homepage to find a sulotion to win 2003, but didten find any..

Anyone know what to do on a 2003 ?

I would prefere not to download a "not microsoft program" / buy just to be able to run the newest edition of TS-Server as an service.

Reedy Boy
14-05-2007, 10:24
the srvany_x86.exe seems to be a win 2000 server only thing, correct me if im wrong here.
what i have found out, is that you need an instsrv.exe (a 2000 server program) to install the srvany_x86.exe.

I have searched the microsoft homepage to find a sulotion to win 2003, but didten find any..

Anyone know what to do on a 2003 ?

I would prefere not to download a "not microsoft program" / buy just to be able to run the newest edition of TS-Server as an service.

The srvany works on XP, and 2000 - So it should work on 2003 fine

tarokdk
14-05-2007, 13:35
Reedy, you scouldent by any chance know how to install the srvany_x86.exe as an service on 2003 ?

The instsrv.exe whitch the guide referes to, is a 2000 file, and not a part of 2003.

Well until then the binary TS-server file worls fine,, just a shame its not updated as the TS-server is.

Reedy Boy
14-05-2007, 17:17
Reedy, you scouldent by any chance know how to install the srvany_x86.exe as an service on 2003 ?

The instsrv.exe whitch the guide referes to, is a 2000 file, and not a part of 2003.

Well until then the binary TS-server file worls fine,, just a shame its not updated as the TS-server is.

http://www.tacktech.com/display.cfm?ttid=197


You're probably missing the INSTSRV

http://www.tacktech.com/pub/microsoft/service/srvany.zip

Includes them both



I used it before for HL2 servers and such, but it doesnt seem to want to actually run the teamspeak exe...

Will carry on playing

Reedy Boy
14-05-2007, 18:18
http://forum.goteamspeak.com/showpost.php?p=111105&postcount=2

Found the Answer there

In the newly-created Parameters key, right-click and choose NEW -> STRING VALUE
Name the value AppDirectory

AppDirectory to
C:\Program Files\Teamspeak2_RC2



This wasnt mentioned in the other

Added the registry file that includes my working one



Not sure if you need to still do the INSTSRV bit, but you will need the srvany.exe



Also attached the version including the INSTSRV and srvany.exe :)



Now running my TS as a service, rather than from a shortcut in startup

BHKai
14-05-2007, 21:32
Now just need to figure out how to make the perlmod work as a service.

EDIT:

GOT IT!!

You would do the same for the perl mod as you did for TS. Instead put the srvany.exe file in your perl directory. Perform the same step giving the service a different name and put the directory of perl instead.


Make sure to got to the registery and create the parameters key and like the TS server the two string values.
Then for Appdirectory put
C:\www\perl\bin
Application put
C:\www\perl\bin\perl.exe ts2perlmod.pl

*In my case my directory for perl is "C:\www\perl\bin" but you can easy subsitute the path for yours.

Then put the line below into cmd to create a dependency for the perlmod service so that the server starts before perl does.

sc config <Name of TSPerlMod Service> depend= <Name of Teamspeak service>

Does not matter what you have the quoted text before it as windows recognizes sc.exe in any location.

ANR Daemon
15-05-2007, 00:57
Reedy, you scouldent by any chance know how to install the srvany_x86.exe as an service on 2003 ?

The instsrv.exe whitch the guide referes to, is a 2000 file, and not a part of 2003.

Well until then the binary TS-server file worls fine,, just a shame its not updated as the TS-server is.

srvany is a part of Windows NT 4 resourse kit.. What You mean under "2000" or "XP" ?

And to install service You can use many tools. I prefer FAR manager with ServiceList plugin.

BHKai
15-05-2007, 04:48
Reedy, you scouldent by any chance know how to install the srvany_x86.exe as an service on 2003 ?

The instsrv.exe whitch the guide referes to, is a 2000 file, and not a part of 2003.

Well until then the binary TS-server file worls fine,, just a shame its not updated as the TS-server is.

I download this one and it works. I have XP. Should work on 2003, if it is not 64 bit. There are a couple different resource kits. Search functions work on other sites also. :D

Windows Server 2003 Resource Kit Tools (http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en)

System Requirements

* Supported Operating Systems: Windows Server 2003; Windows XP

* 30 MB of free disk space
* Windows XP
* Windows XP SP1
* Windows Server 2003 family

Note: The Windows Server 2003 Resource Kit Tools are not supported on 64-bit platforms.

tarokdk
16-05-2007, 22:43
works perfect whit the srvany.exe.

thanks to all how have helped whit this problem. :)

Darrell
19-05-2007, 08:38
http://forum.goteamspeak.com/showpost.php?p=111105&postcount=2

<...>
Not sure if you need to still do the INSTSRV bit, but you will need the srvany.exe

instsrv.exe is needed. As the name implies, it installs services, in this case the "service" is svrany.exe
<...>
Also attached the version including the INSTSRV and srvany.exe :)

Now running my TS as a service, rather than from a shortcut in startup

Thanks, and FYI I have this running perfectly on Vista Home Premium 32bit.

Darrell

Reedy Boy
19-05-2007, 10:03
instsrv.exe is needed. As the name implies, it installs services, in this case the "service" is svrany.exe
<...>


Thanks, and FYI I have this running perfectly on Vista Home Premium 32bit.

Darrell

Cheers for clarifying

I wasnt sure if you used the registry key if you'd still need instsrv

:)

ANR Daemon
19-05-2007, 10:33
InstSrv is one of many programs which can ask WinAPI to create proper entry for service.
Nothing wrong with it and with regedit which is used to configure srvany by adding required keys to start appropriate application.

Darrell
20-05-2007, 01:26
Correct, and just to clarify if you open the properties for the service created the "path to executable" is the path to srvany, not the TS executable. Tools other than svrany may operate differently, i.e. "path to executable" may be the TS executable, but I wouldn't know. I have only use svrany to creates services, and since I have yet to break it I have yet to fix it. :)

bob3865
16-08-2007, 04:23
To begin I am running Teamspeak as a clan server on a windows 2003 machine. It is running behind a firewall and is port forwarded correctly...in fact I do not have any problems with my teamspeak service....my friends and children enjoy the hell out of it, my query is with the Perlmod application.
I installed my download of Active Perl onto my "C:" drive and all went well. I then installed PerlMod onto my "I:" drive which also contains my TeamSpeak Folder.
I created a service with instsrv (instsrv TeamPerl I:\PerlMod\srvany.exe) and the service was created. I then went into regedit and add the "key" "Parameters" and then the 2 string values "AppDirectory" and "Application" under the "Parameters" Key. I then set the value of "AppDirectory" to "C:\Perl\bin" and "Application" to "C:\Perl\bin\perl.exe ts2perlmod.pl".
I then went into services and started the service which it said "Started". But when I connect to my teamspeak server it starts a normal connection as if PerlMod was not running.
IF I go directly into my folder I:\PerlMod and double click on ts2perlmod.pl I get a small window which shows that it is configuring and starting perlmod, then when I connect to my Teamspeak server I do get the welcome message from Perlmod.
My question is what step did I mess up on so that perlmod does not start as a service, even though it show it as started in the "services" app.
I do appreciate any assistance you can give me, thanks ahead of time.
Bob

BHKai
16-08-2007, 11:22
To begin I am running Teamspeak as a clan server on a windows 2003 machine. It is running behind a firewall and is port forwarded correctly...in fact I do not have any problems with my teamspeak service....my friends and children enjoy the hell out of it, my query is with the Perlmod application.
I installed my download of Active Perl onto my "C:" drive and all went well. I then installed PerlMod onto my "I:" drive which also contains my TeamSpeak Folder.
I created a service with instsrv (instsrv TeamPerl I:\PerlMod\srvany.exe) and the service was created. I then went into regedit and add the "key" "Parameters" and then the 2 string values "AppDirectory" and "Application" under the "Parameters" Key. I then set the value of "AppDirectory" to "C:\Perl\bin" and "Application" to "C:\Perl\bin\perl.exe ts2perlmod.pl".
I then went into services and started the service which it said "Started". But when I connect to my teamspeak server it starts a normal connection as if PerlMod was not running.
IF I go directly into my folder I:\PerlMod and double click on ts2perlmod.pl I get a small window which shows that it is configuring and starting perlmod, then when I connect to my Teamspeak server I do get the welcome message from Perlmod.
My question is what step did I mess up on so that perlmod does not start as a service, even though it show it as started in the "services" app.
I do appreciate any assistance you can give me, thanks ahead of time.
Bob
I bolded some text. Did you remember to update that text when you transfered it to I drive?

bob3865
16-08-2007, 13:58
I did not transfer my Active Perl to "I:" drive, it still resides on "C:". When I do the application start, double click on ts2perlmod.pl, the DOS window that opens and shows the running of the configuration and start of perlmod, at the top of that windows it shows "C:\Perl\bin". So are you saing that if I change the registration string values in the "AppDirectory" and "Application" to the "I:" Drive that should work properly? I will try that this evening and post the results.
thanks

BHKai
16-08-2007, 18:56
I did not transfer my Active Perl to "I:" drive, it still resides on "C:". When I do the application start, double click on ts2perlmod.pl, the DOS window that opens and shows the running of the configuration and start of perlmod, at the top of that windows it shows "C:\Perl\bin". So are you saing that if I change the registration string values in the "AppDirectory" and "Application" to the "I:" Drive that should work properly? I will try that this evening and post the results.
thanks

I see now. You need to put something like this. "C:\Perl\bin\perl.exe I:\PerlMod\ts2perlmod.pl"

bob3865
10-11-2007, 18:04
I am once again attempting to get PerlMod to run as a service on a windows 2003 server. I had previously made an error when installing the service, I had not put the srvany.exe in the "Perl\bin" folder, it was in the "PerlMod" folder, and putting the correct data in the "AppDirectory" (C:\Perl\bin) and "Application" (C:\Perl\bin\perl.exe I:\PerlMod\ts2perlmod.pl) I get the following DOS window and error message.
1290
The PerlMod program does not work and the welcome message does not initate when you log onto the teamspeak server.

If I go into the PerlMod drectory and double click on the file ts2perlmod.pl I get another DOS window that looks like this.
1291
and the wlecome message shows when one logs onto the teamspeak server.
Any assistance is appreciated, I have seen the same error on the planet teamspeak web site while doing a forums search there and there was no reply to that message. I hope that does not indicate an unsolveable problem.:rolleyes::rolleyes:

BHKai
11-11-2007, 00:16
Change your app directory to I:\PerlMod

bob3865
14-11-2007, 01:02
That was the ticket...so simple but yet alluded me
Thanks for you assistance.:D:D:D