Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Run time issue with the Otter Web Service
-
the issue at hand is this: the "Otter Web Service" will not run. When I attempt to start it manually, it states "Error 1067: The process terminated unexpectedly."
Log info
Log Name: Application
Source: Application Error
Date: 2/15/2018 9:23:49 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Faulting application name: Otter.Service.exe, version: 2.0.5.4, time stamp: 0x5a70c0e2 Faulting module name: KERNELBASE.dll, version: 10.0.14393.1770, time stamp: 0x59bf2ba6 Exception code: 0xe0434352 Fault offset: 0x0000000000033c58 Faulting process id: 0x189c Faulting application start time: 0x01d3a670fa0608a8 Faulting application path: C:\Program Files\Otter\Service\Otter.Service.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: f7a5955f-69a0-4882-9ea9-533da43ae15c
Faulting package full name:
Faulting package-relative application ID:Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-02-15T15:23:49.155122900Z" />
<EventRecordID>1423</EventRecordID>
<Channel>Application</Channel>
<Computer>WIN-05FSE3SF2FQ</Computer>
<Security />
</System>
<EventData>
<Data>Otter.Service.exe</Data>
<Data>2.0.5.4</Data>
<Data>5a70c0e2</Data>
<Data>KERNELBASE.dll</Data>
<Data>10.0.14393.1770</Data>
<Data>59bf2ba6</Data>
<Data>e0434352</Data>
<Data>0000000000033c58</Data>
<Data>189c</Data>
<Data>01d3a670fa0608a8</Data>
<Data>C:\Program Files\Otter\Service\Otter.Service.exe</Data>
<Data>C:\Windows\System32\KERNELBASE.dll</Data>
<Data>f7a5955f-69a0-4882-9ea9-533da43ae15c</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>Product: Otter
Version: 2.0.5
-
Hello Brad,
Is there any error message if you run this from an elevated shell?
cd "C:\Program Files\Otter\Service" .\Otter.Service.exe run --mode=serviceonly
-
Yes, here is the output:
C:\Windows\system32>cd "C:\Program Files\Otter\Service"C:\Program Files\Otter\Service>.\Otter.Service.exe run --mode=serviceonly
Unhandled exception: System.ServiceModel.AddressAlreadyInUseException: Cannot listen on pipe name 'net.pipe://localhost/otter-ctrl/' because another pipe endpoint is already listening on that name. ---> System.IO.PipeException: Cannot listen on pipe name 'net.pipe://localhost/otter-ctrl/' because another pipe endpoint is already listening on that name.
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.PipeConnectionListener.Listen()
at System.ServiceModel.Channels.ExclusiveNamedPipeTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.NamedPipeChannelListener`2.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at Inedo.Messaging.ServiceMessenger.ServiceMessengerService.Start()
at Inedo.Otter.Service.OtterService.OnStart()
at Inedo.WindowsServices.InedoService.Start()
at Inedo.Otter.Service.Program.run(WebServerMode mode, Boolean runAsService)C:\Program Files\Otter\Service>
-
Ah, sorry, I misread. The web service is what's having problems starting, so this would be the command instead:
cd "C:\Program Files\Otter\Service" .\Otter.Service.exe run --mode=webonly
-
Attempting to execute - it is taking a while and only showing me a blinking cursor...
-
Are you able to access the Otter web UI while it's running?
-
No I am not. I am shown this page:
This page can’t be displayed
Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to https://localhost:8626 again. If this error persists, it is possible that this site uses an unsupported protocol or cipher suite such as RC4 (link for the details), which is not considered secure. Please contact your site administrator.
-
Does it work with
http://localhost:8626
? I don't think the standalone web server does its own TLS.
-
Yes! That worked. However, the Otter Web Server service still is not running.
-
Ok, that means that the web service is able to run with the permissions you have when you elevate.
If the web service is running with restricted permissions, it might not be able to access something it needs to start up.
As far as I know, it needs read/write access to
C:\ProgramData\Otter
, read access toC:\Program Files\Otter
, and the ability to communicate over the named pipeotter-ctrl
.
-
Thanks. I would have thought Local System would have all of those. I will double check.
-
Ok, I have to punt here. I am not able to check the permissions on the otter-ctrl named pipe as I am not able to find it. Perhaps it is just ignorance on my part. I have attempted to run it as Network Service as well as creating a new local Admin account. No joy there either. I feel like there is a solution but it is eluding me. If there is anything else I can try, I am all ears.
-
Are you saying, that you can access the Otter Web UI, but the Otter Web service isn't working?
In this case, I think you must have Otter Web running through IIS. Which, is ok, so you don't need to worry about the web Service.
-
Alana - appreciate it. I am going to verify that. It would make sense I supposed, I just was expecting it run since it was present. I guess I missed that in the documentation. Anyhow, thanks again and I will let you know what I find out (may be next week though).
-
Ok, when I install IIS and run Otter in this manner, this is what I receive:
HTTP Error 403.14 - Forbidden. The Web server is configured to not list the contents of this directory.
Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server.I can enable directory browsing and browse, however, I do not see the GUI.
This is the case on both Windows 2012 R2 as well as Windows 2016. I also upgraded from Otter 2.0.5 to 2.0.6. Working on uninstalling everything and making sure to reinstall everything as administrator (even though I am logged in as an admin) to see if that makes a difference.
-
It sounds like you don't have ASP.NET enabled as a role on your Windows server. The installer should detect it, but that checkmay have failed. Hard to say.
In the Server Manager feature of Windows, make sure to select ASP.NET 4.5 (or whatever the latest version is), by expanding the Application Development node.
-
Doubled checked and verified that ASP.NET 4.5 (or later) is already installed.