Mibtools script failed during upgrade.
********** Started: Tue Sep 7 19:47:38 2021 **********
running Custom Script Install-Tools/CUS/mibtools.cus
mysqladmin: DROP DATABASE mibtools failed;
error: 'Error dropping database (can't rmdir './mibtools/', errno: 17)'
Error(s) occurred. Please see /opt/CA/spectrum/Install-
Files exist in the mibtools directory other than database files.
Release : 21.2
Files are in the $SPECROOT/mysql/data/mibtools
If the steps to setup TrapInsight, its possible the YAML file is still there.
Either way, do a listing of the above directory and remove any files that should not be there.
rw-rw-r-- 1 spectrum ca 1550569 Sep 1 09:29 TrapNameList.yaml
-rw-r----- 1 spectrum ca 8614 Sep 8 10:28 mibs.frm
-rw-r----- 1 spectrum ca 4096 Sep 8 10:28 mibs.MYI
-rw-r----- 1 spectrum ca 0 Sep 8 10:28 mibs.MYD
-rw-r----- 1 spectrum ca 8654 Sep 8 10:28 mibObjectDescr.frm
-rw-r----- 1 spectrum ca 4096 Sep 8 10:28 mibObjectDescr.MYI
-rw-r----- 1 spectrum ca 0 Sep 8 10:28 mibObjectDescr.MYD
-rw-r----- 1 spectrum ca 8680 Sep 8 10:28 mibTraps.frm
-rw-r----- 1 spectrum ca 4096 Sep 8 10:28 mibTraps.MYI
-rw-r----- 1 spectrum ca 0 Sep 8 10:28 mibTraps.MYD
drwxr-x--- 2 spectrum ca 4096 Sep 8 10:28 .
drwxr-x--- 11 spectrum ca 4096 Sep 12 01:23 ..
In the above the yaml file should be removed.
Run the installation again and it should succeed.