Operational Defect Database

BugZero updated this defect 58 days ago.

VMware | 446876

VoyenceControl: When third-party agents are running on the server voyence service reports "Address already in use"

Last update date:

3/22/2024

Affected products:

Smart Assurance - NCM

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Symptoms

How do I change the default mutex seed port?ERROR: Starting Device Server Service: Device Service is already started, stop the other process first before starting the services: Address already in useWhen third-party agents are running on the server voyence service reports "Address already in use"When the voyence service is not running, one or more of ports 9991-9998 are in use.

Cause

By default, the voyence service uses ports 9991-9998 for singleton mutex. Some third-party agents overlap on these ports, preventing the voyence service from starting.

Resolution

To allow the voyence service and the third-party agents to coexist, you can change the mutex seed port that the voyence service uses: On the Application server, change to the voyence cgi-bin directory as follows: cd $voyence_HOME/cgi-bin Source the /etc/voyence.conf file: source /etc/voyence.conf Output the infrastructure database to a temp file: ./cflist.cgi > tmpfile Open the file for editing and locate the end of the POP line for the device server you need to change the mutex seed port on. POP 1000 "server.domain.com" NetList= RsrcList= DevList=1002,1003 EmsList= : ADDR="127.0.0.1" AGE_DAYS=730 CLEANUP_DAYS=90 AD_ENABLE=0 AD_ARPCACHE=0 AD_DFLTROUTE=0 AD_AUTO_RESOURCE=0 AD_DEFAULT_POLL=0 SNMP_TIMEOUT=500 SNMP_RETRY=3 CM_DEBUGSESSION=0 SORTCONFIG=1 CM_MAXMAINTASKS=20 CM_PULLTIMER=1200 CUTTHRU_PULLTIMER=10 MAX_COMM_ATTEMPTS="5" CM_SMGR_CACHING_ENABLED=1 CM_SMGR_SESSION_TIMEOUT=60 CM_SMGR_SESSIONS_PER_DEVICE=4 AD_BATCHSIZE=1000 AD_NUMHOP=10 AD_TIMEOUT=10 AD_LOOPCNT=2 CM_NATTEDIP_LOOKUP=1 RECORDVER="1.0" Append the CM_MUTEXPORT variable to this line and set its value to a open seed port range (the below example uses seed port 10000, which provides the range 10001-10008). POP 1000 "server.domain.com" NetList= RsrcList= DevList=1002,1003 EmsList= : ADDR="127.0.0.1" AGE_DAYS=730 CLEANUP_DAYS=90 AD_ENABLE=0 AD_ARPCACHE=0 AD_DFLTROUTE=0 AD_AUTO_RESOURCE=0 AD_DEFAULT_POLL=0 SNMP_TIMEOUT=500 SNMP_RETRY=3 CM_DEBUGSESSION=0 SORTCONFIG=1 CM_MAXMAINTASKS=20 CM_PULLTIMER=1200 CUTTHRU_PULLTIMER=10 MAX_COMM_ATTEMPTS="5" CM_SMGR_CACHING_ENABLED=1 CM_SMGR_SESSION_TIMEOUT=60 CM_SMGR_SESSIONS_PER_DEVICE=4 AD_BATCHSIZE=1000 AD_NUMHOP=10 AD_TIMEOUT=10 AD_LOOPCNT=2 CM_NATTEDIP_LOOKUP=1 RECORDVER="1.0" CM_MUTEXPORT=10000 Save your changes and close the file. Write the changes back into the infrastructure database: ./cfwrite.cgi < tmpfile Restart the voyence service on the affected device server. /etc/init.d/voyence restart

Related Information

You can verify what ports are in use by using netstat. Example on Red Hat Enterprise Linux 4: # netstat -anp | grep 999tcp 0 0 127.0.0.1:9991 0.0.0.0:* LISTEN 19301/voyencedtcp 0 0 127.0.0.1:9992 0.0.0.0:* LISTEN 19302/voyencedtcp 0 0 127.0.0.1:9995 0.0.0.0:* LISTEN 19307/commmgrdtcp 0 0 127.0.0.1:9996 0.0.0.0:* LISTEN 19306/autodiscdtcp 0 0 127.0.0.1:9997 0.0.0.0:* LISTEN 19312/syssyncdtcp 0 0 127.0.0.1:9998 0.0.0.0:* LISTEN 19304/syssyncd Example on Solaris 10: $ netstat -anv | grep 999127.0.0.1.9991127.0.0.1.9992127.0.0.1.9995127.0.0.1.9996127.0.0.1.9997127.0.0.1.9998

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...