Problem
tpconfig and tpautoconf command reports another device configuration is already in progress
Error Message
When running tpconfig/tpautoconf command to add devices, the following error message is shown:
Another device configuration is already in progress
On the media server, the tpcommand log (under <install_path>/volmgr/debug/tpcommand), shows the following error message:
12:47:52.402 [14048] <4> tpconfig: emmserver_name = <EMMSERVERNAME>
12:47:52.402 [14048] <4> tpconfig:main(): /usr/openv/volmgr/bin/tpconfig -add -robot 4 -robtype acs -cntlhost <cntlhost> -vdbhost <EMMSERVERNAME> -noverbose
12:47:52.402 [14048] <2> mm_getnodename: cached_hostname <mediaserver1>, cached_method 3
12:47:52.429 [14048] <2> mm_ncbp_gethostname: GetNBUName <mediaserver1>
12:47:52.429 [14048] <2> mm_getnodename: (5) hostname mediaserver1 (from mm_ncbp_gethostname)
12:47:52.429 [14048] <4> InitThisHostName: ThisHost is mediaserver1
12:47:52.429 [14048] <4> tpconfig: emmserver_port = 1556
12:47:52.447 [14048] <2> Orb::init: initializing ORB Default_CLIENT_Orb with: tpconfig -ORBSvcConfDirective "-ORBDottedDecimal
Addresses 0" -ORBSvcConfDirective "static PBXIOP_Factory '-enable_keepalive'" -ORBSvcConfDirective "static EndpointSelectorFac
tory ''" -ORBSvcConfDirective "static Resource_Factory '-ORBProtocolFactory PBXIOP_Factory'" -ORBSvcConfDirective "static Reso
urce_Factory '-ORBProtocolFactory IIOP_Factory'" -ORBSvcConfDirective "static PBXIOP_Evaluator_Factory '-orb Default_CLIENT_Or
b'" -ORBSvcConfDirective "static Resource_Factory '-ORBConnectionCacheMax 1024 '" -ORBSvcConf /dev/null -ORBSvcConfDirective "
static Server_Strategy_Factory '-ORBMaxRecvGIOPPayloadSize 268435456'"(Orb.cpp:714)
12:47:52.481 [14048] <4> tpconfig:main(): User specified vmhost <EMMSERVERNAME>, overriding with <EMMSERVERNAME>
12:47:52.481 [14048] <4> tpautoconf_main: generated robot name ROBOT4
12:47:52.560 [14048] <16> emmlib_AddNewRobot: (0) AddLibrary failed, emmError = 2009010, nbError = 0
12:47:52.560 [14048] <16> NewAddRobot: (-) Translating EMM_ERROR_DeviceConfigCacheAlreadyReserved(2009010) to 90 in the Device
Config contcontext
Solution
Run the following command on the media server:
<install_path>/netbackup/bin/admincmd/nbemmcmd -releasecache -machinename <mediaservername>