ASL-ERROR_INVOKE-While attempting to invoke operation 'start' of object
'SNMP_TrapManager::SNMP-Trap-Manager'
<SYS>-EADDRINUSE-Address already in use
SMARTS - 10.1.x
To configure two IP domains from a single install area to use different trap listening ports, follow the instructions below:
A.Create a directory called icf2 (or any name you choose) under the below directory.
<basedir>/IP/smarts/local/conf/
Example: <basedir>/IP/smarts/local/conf/icf2
B.Copy the TRAP.import file from icf directory to icf2 directory as below:
<basedir>/IP/smarts/conf/icf/TRAP.import
to
<basedir>/IP/smarts/local/conf/icf2/TRAP.import
C.Go to the below directory
<basedir>/IP/smarts/local/conf/icf2
directory and open the TRAP.import file:
D.Change the following entry
fileName = "SM_HOME/conf/trapd/trapd.conf"
to
fileName = "SM_HOME/conf/trapd/trapd2.conf"
E.Copy as below:
<basedir>/IP/smarts/conf/trapd/trapd.conf
to<basedir>/IP/smarts/conf/trapd/trapd2.conf
F. Edit as below:
<basedir>/IP/smarts/conf/trapd/trapd2.conf
and change the PORT entry to an unused port number.
G.By default,The trap listener is on port 9000. Many users will choose port 9001 for the second domain.
H.Configure sm_service
to start the second AM domain using the following startup option:
--config=icf2
This will allow you to startup two IP domains listening on different ports.
Please follow the above steps inorder to configure two IP domains.