Problem Note 46765: Copy fails because of "nc: Address already in use" error
During SAS® High Performance Markdown Optimization batch processing, the %tkmi_job_ro est_start_service task or copyDataToCaptains_service task might fail with the following error in the HiPerfMerchIntelGridSv.log file:
2012-05-27 16:08:50,089 [pool-9-thread-1] ERROR - Copy failed for
<your_grid_node_name>
using <sashome>/SASHighPerformanceMerchandiseIntelligenceServer/4.3/Scripts/Captain/cp2captain.sh
1/<partitoin_id> <data_mart_path> <miuser>/all-common-files.tar.gz /home/<miuser>/dm nocache
b nc <data_mart_path> <grid_server_name>
<port> pigz2
<sashome>/SASHighPerformanceMerchandiseIntelligenceServer/4.3/Scripts/Captain
java.lang.Exception: nc: Address already in use
This error occurs because the port that is used for copying files is in use. Log on to the server that is identified as the <your_grid_node_name> in the error message, and issue this command:
"font-family:monospace;">netstat -tcp -an | grep <port>
This output provides you with the process ID of the process that is using the port. You can then use the ps command to determine the command using the port. Once you know about the conflicting process, you can determine whether it is a legitimate process that needs to complete, or it is something that you can terminate.
Operating System and Release Information
SAS System | SAS High-Performance Markdown Optimization | Linux for x64 | 4.3_M2 | | 9.2 TS2M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-06-19 10:58:49 |
Date Created: | 2012-06-07 16:45:04 |