Syracuse V7.1 Won't Install

SOLVED

When installing Syracuse 7.1 on a new installation of Windows Server 2012 R2, it wont finish the installation, erroring out on the certificate installation steps. Other responses to this issue have been to check file permissions (full access/control to the license file), MongoDB (have confirmed that MongoDB is accessable, have tried installation from no DB, to an existing DB, an existing DB, with the license collection copied from an existing working server), elevated privileges (logged on as the user in question, who has administrator access to the server, act as part of the operating system and log on as a service rights, starting the installation from an elevated administrator command prompt).

Monitoring the installation process with Process Monitor, I can't see any problems jumping out, there's no access denied results, or similar issues accessing the license file. Yet the only problem indicated in the installation log suggest it has no license. I can get rid of that error, by copying the "license" collection from an existing working syracuse MongoDB database, but Syracuse still doesn't start, nor does the installation complete successfully.

Here's a copy of the log file generated from this installation, not very helpful, but all that's provided.

Prepare folders ...
Grant rights on bin directory ...
Successfully processed 12136 files; Failed processing 0 files
Create rel directory ...
10685 File(s) copied
Create temp directory ...
10685 File(s) copied
1 dir(s) moved.
Grant rights on temp directory ...
Successfully processed 12136 files; Failed processing 0 files
Creating logpath and certificate directory ...
Successfully processed 1 files; Failed processing 0 files
Successfully processed 2 files; Failed processing 0 files
C:\Sage\Syracuse\syracuse\bin\cert_gen\.checksums
C:\Sage\Syracuse\syracuse\bin\cert_gen\bcpkix-jdk15on-150.jar
C:\Sage\Syracuse\syracuse\bin\cert_gen\bcprov-jdk15on-150.jar
C:\Sage\Syracuse\syracuse\bin\cert_gen\BouncyCastle_License
C:\Sage\Syracuse\syracuse\bin\cert_gen\certgen.bat
C:\Sage\Syracuse\syracuse\bin\cert_gen\certgen.jar
6 file(s) copied.
The system cannot find the file specified.
The system cannot find the path specified.
Copy agent files ...
1 file(s) copied.
1 file(s) copied.
Successfully processed 1 files; Failed processing 0 files
Syracuse inits ...
Streamline from version file
Server name WHATEVER
Host inserted WHATEVER
Service creation ...
C:\Sage\Syracuse\syracuse\bin\cert_gen\.checksums
C:\Sage\Syracuse\syracuse\bin\cert_gen\bcpkix-jdk15on-150.jar
C:\Sage\Syracuse\syracuse\bin\cert_gen\bcprov-jdk15on-150.jar
C:\Sage\Syracuse\syracuse\bin\cert_gen\BouncyCastle_License
C:\Sage\Syracuse\syracuse\bin\cert_gen\certgen.bat
C:\Sage\Syracuse\syracuse\bin\cert_gen\certgen.jar
6 file(s) copied.

Task: Create new certificate and private key
Generate key pair ...
Generate certificate ...
Write private key private/ca.cakey ...
Write certificate output/ca.cacrt ...
Finished
1 file(s) copied.

loading database ...
Streamline config from version.json
No license
starting syracuse ...
Service start ...
generating server certificate ...
Read certificate output/ca.cacrt

Task: Create new certificate and private key
Read private key private/ca.cakey ...
Generate key pair ...
Generate certificate ...
Write private key output/whatever.key ...
Write certificate output/whatever.crt ...
Write public key output/whatever.pem ...
Transfer data to whatever:8124 ...
Try to connect to server ...
Try to connect to server ...
Try to connect to server ...
Try to connect to server ...
Try to connect to server ...
Try to connect to server ...
Try to connect to server ...
Try to connect to server ...
Try to connect to server ...
Try to connect to server ...
Cannot connect to server: java.net.ConnectException: Connection refused: connect

 

And in the various procrun logs, not much in the way of errors - 

 

agent_sage_syracuse_-_node0-stderr.2016-07-28.log

2016-07-28 10:17:20 Commons Daemon procrun stderr initialized

 

agent_sage_syracuse_-_node0-stdout.2016-07-28.log

2016-07-28T00:35:38.761Z Service "Sage Syracuse - NODE0" is down !
2016-07-28T00:35:38.761Z Checking for patch integration before starting the service ...
2016-07-28T00:35:38.762Z Base version: 2.10.32.0
2016-07-28T00:35:38.762Z Patch version: 2.10.32.0
2016-07-28T00:35:38.762Z No need to patch!
2016-07-28T00:35:38.762Z Starting service "Sage Syracuse - NODE0" ...
2016-07-28T00:35:40.854Z Could not start service "Sage Syracuse - NODE0" !
exec error: Error: Command failed: The Sage Syracuse - NODE0 service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

stdout:
The Sage Syracuse - NODE0 service is starting.

stderr:
The Sage Syracuse - NODE0 service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

 

sage_syracuse_-_node0-stderr.2016-07-28.log

2016-07-28 10:36:30 Commons Daemon procrun stderr initialized

 

sage_syracuse_-_node0-stdout.2016-07-28.log

2016-07-28 10:37:04 Commons Daemon procrun stdout initialized
Streamline from version file
Server name WHATEVER
Certificate directory C:\Sage\Syracuse\syracuse\certs/whatever/
Error: undefined undefined

 

syracuse-agent-WHATEVER.2016-07-28.log

[2016-07-28 10:17:14] [info] [ 3220] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-07-28 10:17:14] [info] [ 3220] Service Agent_Sage_Syracuse_-_NODE0 name Agent Sage Syracuse - NODE0
[2016-07-28 10:17:14] [info] [ 3220] Service 'Agent_Sage_Syracuse_-_NODE0' installed
[2016-07-28 10:17:14] [info] [ 3220] Commons Daemon procrun finished
[2016-07-28 10:17:20] [info] [ 3484] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-07-28 10:17:20] [info] [ 3484] Starting service 'Agent_Sage_Syracuse_-_NODE0' ...
[2016-07-28 10:17:20] [info] [ 3272] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-07-28 10:17:20] [info] [ 3272] Running 'Agent_Sage_Syracuse_-_NODE0' Service...
[2016-07-28 10:17:20] [info] [ 3828] Starting service...
[2016-07-28 10:17:20] [info] [ 3828] Service started in 2 ms.
[2016-07-28 10:17:21] [info] [ 3484] Service 'Agent_Sage_Syracuse_-_NODE0' started
[2016-07-28 10:17:21] [info] [ 3484] Start service finished.
[2016-07-28 10:17:21] [info] [ 3484] Commons Daemon procrun finished

 

syracuse-service-WHATEVER.2016-07-28.log

[2016-07-28 10:38:13] [info] [ 3496] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-07-28 10:38:13] [info] [ 3496] Running 'Sage_Syracuse_-_NODE0' Service...
[2016-07-28 10:38:13] [info] [ 3152] Starting service...
[2016-07-28 10:38:13] [info] [ 3152] Service started in 1 ms.
[2016-07-28 10:38:13] [info] [ 3496] Run service finished.
[2016-07-28 10:38:13] [info] [ 3496] Commons Daemon procrun finished

 

Some of those log files repeat the same messages over and over, but overall not helpful.

 

Is there any further logging that can be turned on? (I've tried setting DEBUG logging in the Apache Procrun settings as well, with no real improvements in logging).

 

How can I get Syracuse installed here?

  • 0
    verified answer
    For what it's worth, if anyone else is encountering this issue. My problem was related to the validity dates set for the certificate. It looks like the node library in use, to process these certificates (jsx509), seems to have a bug handling some "larger" dates. My certificate validity was set to expire some time in the year 2071, and it couldn't handle that, setting it to the default 2000 days (so around 2022 right now), and syracuse managed to start just fine.