The following are likely causes for the "connection refused" error:
- A network communication issue is preventing Release Automation from contacting ftp://ftp.ca.com.
- The /uploadactions folder is not empty.
- The Nolio Update service is not running.
- Release Automation cannot properly connect to and access the repository.
The following tests will help identify which cause is at play. First, to check for any possible network-related cause:
- Verify that the following URL is accessible: http://<YourNAC>:8080/datamanagement/a/actionpack/getActionPacks.
- Verify that port 8083 is both open and listening on the NAC. For example, the command "netstat -plnt" should return a result similar to the following:
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 81724/java
- From the NAC, manually connect to "ftp://ftp.ca.com/pub/dpm/ReleaseAutomationActions/ActionPacks/" (via a FTP client or web browser) and try to manually download the file.
- Similarly, from the NAC, try testing an FTP connection from the command line:
- From the NAC, test via telnet:
telnet ftp.ca.com 21
- (Linux/Unix only) From the NAC, test using the WGET command against the FTP address:
If any or all of the above tests fail, this likely means a network issue is preventing Release Automation from contacting the FTP site in order to retrieve action pack updates.
Next, check if the update service is running and if the "\uploadActions" folder is empty:
- Verify that the "nolio-update" service is running on the NAC. If it has been stopped for any reason, this will prevent ROC from retrieving action pack updates.
- If the service is running, try restarting the service, then retest if updates are possible afterward.
- On the NAC, go to "[Release Automation installationfolder]\uploadActions" and verify that the folder is empty. If it is not empty, this may mean something went awry in a previous update attempt that prevented the folder from being cleared out (as it is only a temporary folder for background use during the update process).
Lastly, verify the NAC can connect to the repository. The NAC updates the repository as a result of the update process, so if it cannot access the repository, it may throw a "connection refused error". To check if this is the case:
- Login to JMX (http://<Your NAC>:20203).
- Scroll down to the category "Domain: noliocenter".
- Click the "noliocenter:type=info" link.
- Invoke "syncWithRepository" with the radio button for "True" selected.
If the above test in JMX fails, the nolio_dm_all.log file will record two error messages: "sync action packages error" and "Failed to find the repository details. Please check nolio-repo.properties file and repository hostname." This indicates a failure connecting to the repository.