Jump to content

Error starting Daminion Server 9


Frank

Recommended Posts

Please note I already have Postgres installed on the PC. 

 

The Admin Tool crashes if the postgres server is already running when I try to use Administration -> Start Daminon Server.  One of those glorious .Net crash windows.

If I stop Postgres then do Administration -> Start Daminon Server, I get the below output.

 

 

1. Check License
-----------------------------------
2. Trying to start Daminion Server... SYSTEM
-----------------------------------
3. Request an additional time...
-----------------------------------
4. Error Connection to PostgreSQL: Cannot found running PostgreSQL  at 04/22/2024 16:11:03
-----------------------------------
5. InitializeException of type 'System.Exception' was thrown.
   at Service.WCF.ServerService.DaminionService.Initialize(ServiceBase service, EventLog eventlog, String serviceName, String configPath, Boolean consoleMode) in C:\Daminion\code\ServerSideComponents\Service.WCF.ServerService\DaminionService.cs:line 923
   at Service.Management.DaminionManagementService.OnStart(String[] args) in C:\Daminion\code\ServerSideComponents\Service.Management\DaminionManagementService.cs:line 2062
-----------------------------------
6. Service cannot be started. System.Exception: Exception of type 'System.Exception' was thrown.
   at Service.Management.DaminionManagementService.OnStart(String[] args) in C:\Daminion\code\ServerSideComponents\Service.Management\DaminionManagementService.cs:line 2067
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
-----------------------------------
 

 

... and the trial has started.  Time is ticking to get this fixed so I can complete the trial.

Link to comment
Share on other sites

Hi Frank, 

 

Please let me know what PostgreSQL version is installed on your PC? 

 

Daminion v 9 only works with PostgreSQL 12. Please download it from here: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

 

If you've got a higher version running, the default port 5432 is most likely already taken, When installing v 12, please pay attention to what port is being used to run it, perhaps it will be 5433 be default. 

Once PostgreSQL 12 is installed, please open catalogs.config as administrator:  located in C:\Program Files\Daminion Software\Daminion Server" is the default path or a custom Daminion server installation directory.

 

 <Catalog catalogName="NetCatalog" webUserCreatorId="" fileShareUser=""
            ......
            disableVideoPreview="false" databasePort="5432" transportPort="8082"
            restApiPort="0" fileTransportPort="8084" databaseUser="postgres"
            databasePassword="postgres" ignoringACForSharedCollections="false" />

 

update the parameter databasePort and databasePassword if you used the non-default value here. 

Save changes and try to start Daminion server. 

 

Let me know if it helps. 

 

Kind regards, 

Daria
 

 

Link to comment
Share on other sites

  • 3 months later...

Trying to run DAM 9.5 (couldn't get 9.0 to work).  Saw the above about Postgresql 12.  Went to the link, downloaded for WIN 64.  Got to install and get an error "unknown tag <setinstallerVariable> at line 322 in the file."  I've downloaded and tried to install numerous times to no avail.  Ultimately I get an error citing a debug file has been created (installbuilder_debug_28612.xml).

Not only is the installation not working, but it would seem the Daminion won't work without it.  Suggestions?

Link to comment
Share on other sites

It appears as though I was just able to reinstall Postgres 12 with no issues.  That's a relief.  I didn't do anything different (been trying it all day), so no sure why it installed with no errors all of a sudden.  Installed Daminion Server/client 9.5 again.  Gave me an error quick (could see what it was) but then continued to install anyway.  Launched the Server and updated my license info (no issues).  I'm logged on as: "localsystem."  I can change that later.  However, it seems I'm back to square one.  When I try to "start" the server, I received the following Daminion Server Error message:

 

1. Check License
-----------------------------------
2. Trying to start Daminion Server... SYSTEM
-----------------------------------
3. Request an additional time...
-----------------------------------
4. Error Connection to PostgreSQL: Cannot found running PostgreSQL  at 07/28/2024 18:08:56
-----------------------------------
5. InitializeException of type 'System.Exception' was thrown.
   at Service.WCF.ServerService.DaminionService.Initialize(ServiceBase service, EventLog eventlog, String serviceName, String configPath, Boolean consoleMode) in C:\Daminion\code

 

I'm at a total loss.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...