"mh_driver.pl: Discovery Run failed for VCS: malformed JSON string, neither array, object, number, string or atom, at character offset %d" is received during VCS discovery when a manual rescan is perform for VOM client
book
Article ID: 100032792
calendar_today
Updated On:
Description
Error Message
C:\Program Files\Veritas\VRTSsfmh\bin>perl mh_ctl.pl --rescan
[Fri Feb 12 09:40:12 2016] mh_driver.pl: Discovery Run failed for VCS: malformed
JSON string, neither array, object, number, string or atom, at character offset
0 (before "\x{0}\x{0}\x{0}\x{0}...") at (eval 14) line 163.
[Fri Feb 12 09:40:12 2016] mh_driver.pl: (C:\Program Files\Veritas\VRTSsfmh\/ag
entlet/VRTS/VCS/S1Vcs.pm JSON::jsonToObj line=5604)
[Fri Feb 12 09:40:12 2016] mh_driver.pl: (C:\Program Files\Veritas\VRTSsfmh\/ag
entlet/VRTS/VCS/S1Vcs.pm VRTS::VCS::S1Vcs::get_same_name_obj_from_file line=318)
[Fri Feb 12 09:40:12 2016] mh_driver.pl: (C:\Program Files\Veritas\VRTSsfmh\lib
\modules/VRTS/Agent.pm VRTS::VCS::S1Vcs::discover line=878)
[Fri Feb 12 09:40:12 2016] mh_driver.pl: (C:\Program Files\Veritas\VRTSsfmh\lib
\modules/VRTS/Agent.pm VRTS::Agent::_discover line=1796)
[Fri Feb 12 09:40:12 2016] mh_driver.pl: (C:\Program Files\Veritas\VRTSsfmh\\bi
n\mh_driver.pl VRTS::Agent::run line=489)
[Fri Feb 12 09:40:12 2016] mh_driver.pl: (C:\Program Files\Veritas\VRTSsfmh\\bi
n\mh_driver.pl (eval) line=489)
Cause
The samename_vcsobj.dat file is corrupt, or has some invalid characters.
Resolution
1. Delete the
samename_vcsobj.dat file.
- Windows path: C:\ProgramData\veritas\VRTSsfmh\VCS\samename_vcsobj.dat
- Unix path: /var/opt/VRTSsfmh/VCS/samename_vcsobj.dat
2. Initiate a manual rescan.
For Windows:
# cd "C:\Program Files\Veritas\VRTSsfmh\bin"
# perl mh_ctl.pl --rescan
For Unix:
# /opt/VRTSsfmh/bin/mh_ctl.pl --rescan
Issue/Introduction
The details for a Veritas Cluster Server (VCS) may be out-of-date when viewed from a Veritas Operations Manager (VOM) console. Additionally, an error is received during the VCS discovery, when a manual rescan is perform for the VOM client.
Was this article helpful?
thumb_up
Yes
thumb_down
No