Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 18 total
Thread Having trouble starting EWB Server v3 as a service
Tue, Apr 27 2021 6:30 AMPermanent Link

Paul Coshott

Avatar

Hi All,

Could someone take a look at my EWB v3 server ini file and see if you can spot any problems. The EWB server has installed as a service successfully, but I can't start it. The error I get says:

"The Roster Me On Web Service service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."

My EWB web app does not use the elevate back end server stuff. I have my own rest services app, so the EWB server is only serving up the web app. I have an SSL certificate installed into the "Web Hosting" local computer certificate store.

I have used the mmc utility with the certificate snap-in to view the certificate. I have used the "Friendly Name" column value as the "Certificate Name" setting value in the server ini below.

The EWB server has been renamed to RosterServer.exe

Any ideas why the service won't start?

Thanks,
Paul



[Server_rmoWebService]
Server Description=Roster Me On web app server.
Database Directory=C:\RosterMeOn
Max Database Write Delay=5
Domain=rostermeon.pcapps.one
Default Document=C:\RosterMeOn\roster.html
Content Directory=C:\RosterMeOn
Application Directory=C:\RosterMeOn
Module Directory=C:\RosterMeOn\modules
Log Directory=C:\RosterMeOn\Log
Logging=0
Request Logging=0
Enable Cross Origin Resources=0
Keep-Alive Resource Name=keepalive
Authentication Resource Name=authentication
Administration Resource Name=administration
Databases Resource Name=databases
Modules Resource Name=modules
Applications Resource Name=applications
Debugger Resource Name=debugger
IP Address=173.249.22.66
Port=80
Secure Port=446
Redirect to Secure=0
Timeout=30
Max Request Size=16777216
Authorized Addresses=*
Blocked Addresses=
Thread Cache Size=128
Max Num Threads=2048
Max Authentication Attempts=10
Authentication Lockout Time=300
Session ID Length=32
Session Expiration=1800
Password Salt Length=16
Password Hash Type=0
Certificate Name=[Manual] mrostermeon.pcapps.one @ 2021/4/3 9:30:05
Certificate Store Name=Web Hosting
Certificate Store Type=1
Tue, Apr 27 2021 1:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Paul,

Answered via email.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Apr 27 2021 1:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

The issue was with the certificate name/store.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Apr 28 2021 6:39 AMPermanent Link

Paul Coshott

Avatar

Tim Young [Elevate Software] wrote:

>> The issue was with the certificate name/store.

Hi Tim,

I tried what you suggested, but the service still won't start. I moved the certificate to the Personal store (still under Local Computer), but can't get the service to start.

I have attached a screen shot of the mmc utility with the certificate snap in.

Could it be something else?

Cheers,
Paul



Attachments: mmc certificates.jpg
Fri, Apr 30 2021 11:55 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Paul,

<< I tried what you suggested, but the service still won't start. I moved the certificate to the Personal store (still under Local Computer), but can't get the service to start. >>

Per what you sent me via email, you are referring to the "Personal" store as "Personal", when it should be "".  

This is mentioned in the manual here:

https://www.elevatesoft.com/manual?action=viewtopic&id=ewb3&topic=Configuring_Server

under "Certificates".

Certificate Store Name
===================

Specifies the name of the certificate store where the certificate is installed. The default value is blank (""), which indicates the "My" certificate store (designated as the "Personal" store in Microsoft Management Console).

So just setting the store name to "" should fix the problem.  Don't ask me why MMC uses a different nomenclature - I don't know. Smile

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Apr 30 2021 6:23 PMPermanent Link

Paul Coshott

Avatar

Tim,

>>Per what you sent me via email, you are referring to the "Personal" store as "Personal", when it should be "".  

I tried the following:

Certificate Store Name=
Certificate Store Name=""
Certificate Store Name=My
Certificate Store Name="My"

And I still have the same issue. Service starts and then stops immediately.

Any more ideas? Something I've done wrong with the setup (outside the ini file), or maybe something I should have done that I haven't?

Cheers,
Paul
Tue, May 4 2021 8:14 AMPermanent Link

Richard Harding

Wise Nutrition Coaching

Paul,

This is the result of the EWB service trying to start when an existing service already has the port opened.

I use NirSoft's Current Ports utility to check what ports are opened.

Check your INI files for EWB2 and EWB3 and ensure that the ports are unique.

EWB2
----
%localappdata%\Elevate Software\Elevate Web Builder 2\ewbide.ini
%allusersprofile%\Elevate Software\Elevate Web Builder 2 Web Server\ewbsrvr.ini

EWB3
----
%localappdata%\Elevate Software\Elevate Web Builder 3\ewbide.ini
%allusersprofile%\Elevate Software\Elevate Web Builder 3 Web Server\ewbsrvr.ini

I changed the name of the EWB3 services (described in the EWB3 manual on page 51) so there is no confusion with the EWB2 services.

For example,
ewbsrvr.exe /install /name=EWBSRVR3 /desc="Elevate Web Builder 3 Web Server"
ewbsrvr.exe /install /name=EWBSRVR3Number2 /desc="Elevate Web Builder 3 Web Server 2"
ewbsrvr.exe /install /name=EWBSRVR3Number3 /desc="Elevate Web Builder 3 Web Server 3"

Raul suggested using "EWB3SRVR" instead of "EWBSRVR3" which makes more sense.

Richard
Tue, May 4 2021 3:56 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Paul,

The correct entry is:

Certificate Store Name=""

<< And I still have the same issue. Service starts and then stops immediately. >>

Under the Windows Administrative Tools, select the Event Viewer and check out the "Summary of Adminstrative Events" in the main window.  You should see an Application event for the "EWBSRVR" service.  Double-click on it and on the Details tab view you should see the error that prevented the service from starting.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, May 4 2021 4:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Paul,

BTW, you should also be able to see the server start error in the system logs:

C:\ProgramData\Elevate Software\Elevate Web Builder 3 Web Server\logs\System

However, there appears to be a bug in how the server start errors are being logged and they aren't being written out properly.  A fix will be in 3.01 B2.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, May 6 2021 2:17 AMPermanent Link

Paul Coshott

Avatar

>> Tim Young [Elevate Software] wrote:

>> Under the Windows Administrative Tools, select the Event Viewer

Hi Tim,

In the Event Viewer, I can see the following:

The description for Event ID 0 from source rmoWebService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Service failed on start: The web server cannot be started (Socket error: An attempt was made to access a socket in a way forbidden by its access permissions.
(10013), on API 'bind')


Does this provide any more info?

Cheers,
Paul
Page 1 of 2Next Page
Jump to Page:  1 2
Image