Server Management - Systems Insight Manager
1753634 Members
5909 Online
108798 Solutions
New Discussion

The agent installation has not completed since one of the port's 1125 - 1126 are in use.

 
thingy
New Member

The agent installation has not completed since one of the port's 1125 - 1126 are in use.

If you recieve the following message when trying to install the Linux VMM Agent onto a VMware ESX Host:

"The agent installation has not completed since one of the port's 1125 - 1126 are in use. Try installing the agents after freeing the ports."

1. Run "service hpvmmcntsvc status" and ensure the agent isn't running.

2. Look at the output of the netstat command...if the agent service is not running then there should be nothing listening on ports 1125 and 1126. If there is find out what it is and stop the service.

3. Lastly, due to the way the ports are checked for in the Linux "hpvmmagent.sh" script, you can sometimes gets false positives. i.e. the script uses the following to test for the ports:

port=`netstat -a | grep -E '1125|1126' |wc -l`

if [ $port -gt 0 ];then
echo "The agent installation has not completed since one of the port's 1125 - 11
26 are in use. Try installing the agents after freeing the ports."
exit 2
fi


As you can see, the grep command will return any 1125 and 1126 lines it finds. In my case, it returned the following lines which stop the agent from installing itself:

[root@bglvm03 d]# netstat -a | grep -E '1125|1126'
unix 2 [ ACC ] STREAM LISTENING 138559 /var/run/vmware/root_0/1203472157197603_101126/testAutomation-fd
unix 2 [ ACC ] STREAM LISTENING 138561 /var/run/vmware/root_0/1203472157197603_101126/servercontrol-fd
unix 2 [ ACC ] STREAM LISTENING 138563 /var/run/vmware/root_0/1203472157197603_101126/control-fd
unix 2 [ ACC ] STREAM LISTENING 138565 /var/run/vmware/root_0/1203472157197603_101126/ui-fd
unix 2 [ ACC ] STREAM LISTENING 138567 /var/run/vmware/root_0/1203472157197603_101126/mks-fd
unix 2 [ ACC ] STREAM LISTENING 138573 /var/run/vmware/root_0/1203472157197603_101126/vmx-vmdb-fd
unix 2 [ ACC ] STREAM LISTENING 140150 /var/run/vmware/root_0/1203472157197603_101126/remoteDevice-fd

To get around it, I simply commented out the exit 2 line in the script and ignored its warning. HP need to fix that script but I don't know what the process is to submit a bug report.