Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SESE as a Service don't really start #140

Open
remygrandin opened this issue Sep 5, 2014 · 1 comment
Open

SESE as a Service don't really start #140

remygrandin opened this issue Sep 5, 2014 · 1 comment

Comments

@remygrandin
Copy link

Hi,

I was creating an SESE instance as a service but it don't seam to really start.

I registred it with this command:

sc create SESM_1_SESM_Beautiful_Server start= auto binPath= "C:\SpaceEngineer\DedicatedServer64\SEServerExtender.exe nogui noconsole wcfport=26016 instance=SESM_1_SESM_Beautiful_Server gamepath=C:\SpaceEngineer\ "

the service register well and start without any problem but it don't create any logs, exept an entry in the event viewer "Service started successfully."

Any thought on that ?

@chessmaster42
Copy link
Contributor

That means that it's not getting the args. With service args you have to feed them in a particular way for this to work. You need to put the parameters into the "Start Parameters" box in the service properties window and then click Start. For the time being you can't just put the args into the binpath of the service. This will probably be improved in the future for now please try this and let us know what it did.

If it says the service started successful then it must have created some log content. Check in your install folder where SEServerExtender.exe is and go into the Logs folder. There should be some API logs there.

Also, don't use the gamepath arg unless SESE won't run otherwise. It's pretty good at autodetecting and sometimes forcing this arg can make things worse.

Something else to consider is that SEServerExtender has a built in service installer. So all you have to do is run the .NET util, "installutil" on the exe and it will setup the service for you. You will still need to pass in the arguments via the start parameters box but it simplifies the service creation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants