I ran the MSI, but can not get it to run #4

Closed
roughyear opened this Issue Jun 24, 2012 · 5 comments

Comments

Projects
None yet
2 participants
@roughyear

I ran the MSI as instructed and get the error "Error creating service!"

I'm running Windows Server 2003

The MSI files are in the folder C:\program files\Ts_block

here's what I typed on the command prompt

nssm install Ts_block c:\windows\system32\cscript32.exe C:\program files\ts_block\ts_block.vbs

@EvanAnderson

This comment has been minimized.

Show comment Hide comment
@EvanAnderson

EvanAnderson Jul 13, 2012

Owner

It is not necessary to create the service manually if you're installing the via the MSI. The MSI will create the service automatically during installation.

If you do elect to install manually you will need to enter the "nssm" command-line with the proper escaping or it will error out, as you're seeing. Per the README, the command-line, with escaping, is as follows:

nssm install ts_block %SystemRoot%\System32\cscript.exe "\"%ProgramFiles%\ts_block\ts_block.vbs\""

You must include the proper escaping or the CMD shell won't pass the command line to nssm.exe in a properly-formed manner.

Owner

EvanAnderson commented Jul 13, 2012

It is not necessary to create the service manually if you're installing the via the MSI. The MSI will create the service automatically during installation.

If you do elect to install manually you will need to enter the "nssm" command-line with the proper escaping or it will error out, as you're seeing. Per the README, the command-line, with escaping, is as follows:

nssm install ts_block %SystemRoot%\System32\cscript.exe "\"%ProgramFiles%\ts_block\ts_block.vbs\""

You must include the proper escaping or the CMD shell won't pass the command line to nssm.exe in a properly-formed manner.

@ghost ghost assigned EvanAnderson Jul 13, 2012

@roughyear

This comment has been minimized.

Show comment Hide comment
@roughyear

roughyear Jul 14, 2012

Hi...

Thanks for the reply.

So.. how do I "start over"??? because now I keep getting the following
error in the event log:

*Fatal Error - Could not obtain an IP address for an interface with no
default gateway specified.

Started C:\WINDOWS\System32\cscript.exe "C:\Program
Files\ts_block\ts_block.vbs" for service ts_block in C:\WINDOWS\System32.

Killing PID 15540 in process tree of PID 15540 because service ts_block is
stopping.

Service ts_block action for exit code 2 is Restart. Attempting to restart
C:\WINDOWS\System32\cscript.exe.

Service ts_block ran for less than 1500 milliseconds. Restart will be
delayed by 256000 milliseconds.*

On Fri, Jul 13, 2012 at 3:46 PM, Evan Anderson <
reply@reply.github.com

wrote:

It is not necessary to create the service manually if you're installing
the via the MSI. The MSI will create the service automatically during
installation.

If you do elect to install manually you will need to enter the "nssm"
command-line with the proper escaping or it will error out, as you're
seeing. Per the README, the command-line, with escaping, is as follows:

nssm install ts_block %SystemRoot%\System32\cscript.exe

""%ProgramFiles%\ts_block\ts_block.vbs""

You must include the proper escaping or the CMD shell won't pass the
command line to nssm.exe in a properly-formed manner.


Reply to this email directly or view it on GitHub:
#4 (comment)

Hi...

Thanks for the reply.

So.. how do I "start over"??? because now I keep getting the following
error in the event log:

*Fatal Error - Could not obtain an IP address for an interface with no
default gateway specified.

Started C:\WINDOWS\System32\cscript.exe "C:\Program
Files\ts_block\ts_block.vbs" for service ts_block in C:\WINDOWS\System32.

Killing PID 15540 in process tree of PID 15540 because service ts_block is
stopping.

Service ts_block action for exit code 2 is Restart. Attempting to restart
C:\WINDOWS\System32\cscript.exe.

Service ts_block ran for less than 1500 milliseconds. Restart will be
delayed by 256000 milliseconds.*

On Fri, Jul 13, 2012 at 3:46 PM, Evan Anderson <
reply@reply.github.com

wrote:

It is not necessary to create the service manually if you're installing
the via the MSI. The MSI will create the service automatically during
installation.

If you do elect to install manually you will need to enter the "nssm"
command-line with the proper escaping or it will error out, as you're
seeing. Per the README, the command-line, with escaping, is as follows:

nssm install ts_block %SystemRoot%\System32\cscript.exe

""%ProgramFiles%\ts_block\ts_block.vbs""

You must include the proper escaping or the CMD shell won't pass the
command line to nssm.exe in a properly-formed manner.


Reply to this email directly or view it on GitHub:
#4 (comment)

@roughyear

This comment has been minimized.

Show comment Hide comment
@roughyear

roughyear Jul 14, 2012

this repeats every 4mins

this repeats every 4mins

@EvanAnderson

This comment has been minimized.

Show comment Hide comment
@EvanAnderson

EvanAnderson Jul 26, 2012

Owner

What your seeing is normal behavior because you have no network interface that does not have a default gateway specified. You either need a network interface with no default gateway specified or you need to import the "TS_Block.ADM" file into a Group Policy Object or Local Group Policy and specify a black-hole IP address, per the README file.

Owner

EvanAnderson commented Jul 26, 2012

What your seeing is normal behavior because you have no network interface that does not have a default gateway specified. You either need a network interface with no default gateway specified or you need to import the "TS_Block.ADM" file into a Group Policy Object or Local Group Policy and specify a black-hole IP address, per the README file.

@EvanAnderson

This comment has been minimized.

Show comment Hide comment
@EvanAnderson

EvanAnderson Sep 24, 2014

Owner

I'm closing this due to inactivity. If you're still having problems and want to discuss open it back up.

Owner

EvanAnderson commented Sep 24, 2014

I'm closing this due to inactivity. If you're still having problems and want to discuss open it back up.

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