Wednesday, June 8, 2011

vxlicinst ERROR V-21-1-19 Duplicate License key detected

I was working on Symantec SmartTier and multi-volumed file systems when I got the message that my license has expired and that I need a new one.



[root@isvx7 ~]# fsppadm query /oracle_mvfs
UX:vxfs fsppadm: ERROR: V-3-26550: The command failed with message - à<
UX:vxfs fsppadm: ERROR: V-3-26550: The command failed with message - /sbin/vxlictest -n "VERITAS File System" -sup -f "Quality of Storage Service"
UX:vxfs fsppadm: ERROR: V-3-26540: Valid license is not found


I got a new license, and tried to add it when I got the message "Duplicate License key detected"


[root@isvx7 ~]# cd /sbin
[root@isvx7 sbin]# ls vxlic*
vxlicinst  vxlicrep  vxlictest
[root@isvx7 sbin]# /sbin/vxlicinst



Symantec License Manager vxlicinst utility version 3.02.51.010
Copyright (C) 1996-2010 Symantec Corporation. All rights reserved.

Enter your license key : MMMM-NNNN-OOOO-PPPP-QQQQ-RRRR-SSSS-T12

vxlicinst ERROR V-21-1-19 Duplicate License key detected
[root@isvx7 sbin]#




The workaround for this is move all the files under /etc/vx/license/lic to some other directory, and then try to apply the license again.



[root@isvx7 sbin]# cd /etc/vx/licenses/lic
[root@isvx7 lic]# ls
AAAA-BBB-CCCC-DDDD-EEEE-FFFF-GGGG-HHHH-III.vxlic
JJJJ-KKKK-LLLL-MMMM-NNNN-OOOO-PPPP-QQQQ-RRR.vxlic
SSSS-TTTT-UUUU-VVVV-WWWW-XXXX-YYYY-ZZZZ-AAA.vxlic
BBBB-CCCC-DDDD-EEEE-FFFF-GGGG-HHHH-III.vxlic
[root@isvx7 lic]# mv *.* /root/vxlicenses


[root@isvx7 ~]# /sbin/vxlicinst

Symantec License Manager vxlicinst utility version 3.02.51.010
Copyright (C) 1996-2010 Symantec Corporation. All rights reserved.

Enter your license key : MMMM-NNNN-OOOO-PPPP-QQQQ-RRRR-SSSS-T12

Number of days left for Demo = 364

License key successfully installed for VERITAS Storage Foundation Enterprise HA
License key successfully installed for VERITAS Volume Manager
License key successfully installed for VERITAS Cluster Server
License key successfully installed for VERITAS File System
[root@isvx7 ~]#

No comments: