In this case, qpid-server process is started successfully but it has not yet opened the port 8083 for listening. That is, even though the qpid-server process has started successfully, due to some reasons, there is a delay in opening the HTTP port 8083 and start listening. This delay could be more than 60 seconds which is the default maximum time period for the installation process to wait for the qpid process to be available at the port 8083. If this does not happen then the installation process fails with the above error.
To avoid this problem, we can increase the maximum wait time period value from 60 seconds to say 300 seconds (5 minutes) and rerun the setup.
To increase the delay, perform the following actions
1. vi /opt/apigee/edge-qpid-server-4.16.09-0.0.1040/lib/actions/wait_for_ready
2. change the value of PORT_TIMEOUT=${PORT_TIMEOUT:-60} to PORT_TIMEOUT=${PORT_TIMEOUT:-300} and save the file.
3.rerun the setup.
Similar errors might occur during the installation of the postgres-server server as below.
Checking for postgres-server on 127.0.0.1 port 8084 .............................................................
postgres-server failed to answer on 127.0.0.1 port 8084.
[2017-02-28 05:49:39 PM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
[2017-02-28 06:12:27 PM] Using defaults from /tmp/config-aio.txt
To increase the delay, perform the following actions
1. vi /opt/apigee/edge-postgres-server-4.16.09-0.0.1040/lib/actions/wait_for_ready
2. change the value of PORT_TIMEOUT=${PORT_TIMEOUT:-60} to PORT_TIMEOUT=${PORT_TIMEOUT:-300} and save the file.
3.rerun the setup.
Similar errors might occur during the installation of the edge-management-server server as below.
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-02-28 06:23:23 PM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
[2017-02-28 06:25:12 PM] Using defaults from /tmp/config-aio.txt
To increase the delay, perform the following actions
1. vi /opt/apigee/edge-management-server-4.16.09-0.0.1040/lib/actions/wait_for_ready
2. change the value of PORT_TIMEOUT=${PORT_TIMEOUT:-60} to PORT_TIMEOUT=${PORT_TIMEOUT:-300} and save the file.
3.rerun the setup.
Similar errors might occur during the installation of the edge-router server as below.
apigee-service: edge-router: edge-router is running
Checking for router on 127.0.0.1 port 8081 .............................................................
router failed to answer on 127.0.0.1 port 8081.
[2017-02-28 06:46:42 PM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
[2017-02-28 06:49:14 PM] Using defaults from /tmp/config-aio.txt
To increase the delay, perform the following actions
1. vi /opt/apigee/edge-router-4.16.09-0.0.1040/lib/actions/wait_for_ready
2. change the value of PORT_TIMEOUT=${PORT_TIMEOUT:-60} to PORT_TIMEOUT=${PORT_TIMEOUT:-300} and save the file.
3.rerun the setup.
Similar errors might occur during the installation of the message-processor server as below.
Checking for message-processor on 127.0.0.1 port 8082 .............................................................
message-processor failed to answer on 127.0.0.1 port 8082.
[2017-03-01 02:25:03 AM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
[2017-03-01 02:26:52 AM] Using defaults from /tmp/config-aio.txt
To increase the delay, perform the following actions
1. vi /opt/apigee/edge-message-processor-4.16.09-0.0.1040/lib/actions/wait_for_ready
2. change the value of PORT_TIMEOUT=${PORT_TIMEOUT:-60} to PORT_TIMEOUT=${PORT_TIMEOUT:-300} and save the file.
3.rerun the setup.