Syslog2ODBC works very well when run from a console however i cannot run it as a service as it immediatly exits, the event log says "The Syslog2ODBC has reported an invalid current state 0." .
Now I already tried to run it as the local admin instead of LocalSystem, but that doesn't change anything...
I'm logging the data to a MsSQL 2005 server.
Any ideas are welcome :)
Bye
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having the same issue. I can run the application in console mode and everything seems to work, but when I run it as a service, it automatically stops after a few seconds and the event log reads:
"The Syslog2ODBC has reported an invalid current state 0."
Please let me know if anyone has a fix for this.
Best regards
Blake
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We never resolved this issue, so we created a service out of the console mode, with srvany in the Microsoft Resource Kit. It basically just transform any program into a service.
open cmd.exe and run C:\PROGRA~1\WINDOW~4\Tools\instsrv Syslog_Server C:\PROGRA~1\WINDOW~\Tools\srvany.exe
open regedit go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Syslog_server
Right clock on syslog_server and select new->key. right click on the new key and choose rename, rename it to "Paramters".
Under Parameters, create a "string value" with the name Application and value "C:\PROGRA~1\Syslog2ODBC-0.4\Syslog2ODBC.exe" (depends where you installed it)
Create another "string value", named AppParamters and with the values "-c"
You now have a new service :)
</HOW TO>
Hope this helps
Ugly, but it works like a charm ever since :P well not exactly but i'll post that in a new thread
thank you for your attention :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Syslog2ODBC works very well when run from a console however i cannot run it as a service as it immediatly exits, the event log says "The Syslog2ODBC has reported an invalid current state 0." .
Now I already tried to run it as the local admin instead of LocalSystem, but that doesn't change anything...
I'm logging the data to a MsSQL 2005 server.
Any ideas are welcome :)
Bye
I am having the same issue. I can run the application in console mode and everything seems to work, but when I run it as a service, it automatically stops after a few seconds and the event log reads:
"The Syslog2ODBC has reported an invalid current state 0."
Please let me know if anyone has a fix for this.
Best regards
Blake
Hi,
can you tell me what OS are you using?
Can you try to enable verbose logging to file and then send me te logs?
You can do this by editing syslog2odbc.ini file:
[Logging]
LogToFile=1
LogFilePath=C:\SysLog2ODBC.log
MinSeverity=7
Regards,
Pierky
hi i am exjobb2007, i forgot my old passwd...
OS is Microsoft Windows Server 2003.
We never resolved this issue, so we created a service out of the console mode, with srvany in the Microsoft Resource Kit. It basically just transform any program into a service.
Here's a short howto...
<HOW TO>
download and install http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en
open cmd.exe and run C:\PROGRA~1\WINDOW~4\Tools\instsrv Syslog_Server C:\PROGRA~1\WINDOW~\Tools\srvany.exe
open regedit go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Syslog_server
Right clock on syslog_server and select new->key. right click on the new key and choose rename, rename it to "Paramters".
Under Parameters, create a "string value" with the name Application and value "C:\PROGRA~1\Syslog2ODBC-0.4\Syslog2ODBC.exe" (depends where you installed it)
Create another "string value", named AppParamters and with the values "-c"
You now have a new service :)
</HOW TO>
Hope this helps
Ugly, but it works like a charm ever since :P well not exactly but i'll post that in a new thread
thank you for your attention :)