Windows Service Startup Failure Log

73 views
Skip to first unread message

Kyle Levien

unread,
Apr 27, 2021, 1:58:41 PM4/27/21
to RavenDB - an awesome database
Is there a way to read what specific error is causing ravendb running as a windows service to fail? The alert only reports generic "fail" text and I can't find any documentation on if the full stack trace for an error is logged anywhere. If run directly in powershell I can see the error, but was hoping that the service would register itself in the event log viewer or something similar.

Thanks,
Kyle

Oren Eini (Ayende Rahien)

unread,
Apr 27, 2021, 4:30:33 PM4/27/21
to ravendb
That is usually in the event log, yes. 
Otherwise, look at the debug logs

--
You received this message because you are subscribed to the Google Groups "RavenDB - an awesome database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ravendb/b11798fa-109a-4be5-b286-75be81affb88n%40googlegroups.com.

Kyle Levien

unread,
Apr 27, 2021, 4:41:25 PM4/27/21
to RavenDB - an awesome database
I see a System error on service failure, though the error message doesn't match the underlying error I can see in powershell.
system event log:
The resource loader failed to find MUI file

powershell:
System.InvalidOperationException: Unable to start the server due to invalid certificate configuration!

Additionally, if run as a windows service the exception is not logged to the Server\Logs\***.log file, but when run in powershell it is.
Would it be possible to bubble up the underlying exception to the event log (maybe even in an 'Applications and Service Logs' subject) or at least up to the ravendb log itself?

Thanks,
Kyle

Egor Shamanaev

unread,
Apr 29, 2021, 10:23:03 AM4/29/21
to rav...@googlegroups.com
Hi 

Thanks for reporting, I have opened an issue to fix that
https://issues.hibernatingrhinos.com/issue/RavenDB-16605



--
Egor
Developer   /   Hibernating Rhinos LTD
Support:  sup...@ravendb.net
  
Reply all
Reply to author
Forward
0 new messages