Error Installing management-server, management-server failed to answer on 127.0.0.1 port 8080

Not applicable

Hello,

I am installing a

edge-management-server-4.17.01-0.0.967

using

/opt/apigee/apigee-setup/bin/setup.sh -p ms -f config

However, the install fails here

update KEYSPACE user_settings WITH placement_strategy = 'NetworkTopologyStrategy' AND strategy_options={dc-1:3};
apigee-service: edge-management-server: edge-management-server is not running
apigee-configutil: edge-management-server: # OK
apigee-service: edge-management-server: Not running (NO_LOCKFILE)
apigee-service: edge-management-server: status=2, continuing
apigee-service: edge-management-server: OK
apigee-service: edge-management-server: edge-management-server is running
Checking for management-server on 127.0.0.1 port 8080 .............................................................
management-server failed to answer on 127.0.0.1 port 8080.

[2017-03-22 12:23:41 PM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

I have a three node Cassandra and Zookeeper cluster installed and connectivity is verified for ports 2181,9042,9160,7199

The last lines in /opt/apigee/var/log/edge-management-server/edge-management-server.log

Attempting to load validation.properties via the classpath.
SUCCESSFULLY LOADED validation.properties via the CLASSPATH from '/ (root)' using current thread context class loader!
SecurityConfiguration for Encryptor.CipherTransformation not found in ESAPI.properties. Using default: AES/CBC/PKCS5Padding

How can I debug this?

0 2 1,220
2 REPLIES 2

@John Bertrand , Do you still see above issue ?

Not applicable

Check the system entropy. Lack of system entropy can generate latency during components start-up.

Execute the following command, if the command doesn't return immediately this could be an indication of lack of entropy:

cat /dev/random

SOLUTION

Install and enable rng-tools:

yum install rng-tools

Configure rngd.service:

vi /usr/lib/systemd/system/rngd.service 

replace this line: 

ExecStart=/sbin/rngd -f 

by: 

ExecStart=/sbin/rngd -f -r /dev/urandom

After the file change, execute:

systemctl daemon-reload 
systemctl start rngd 
systemctl status rngd