01-22-2016 07:48 AM
Hi Everyone,
I upgraded our CSPC collector from 2.3.1 to 2.4. The check update -d and download commands are issuing the following error.
Downloading the requested package...
% Error occured while executing command Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: java.io.StringReader@19fa157c; line: 1, column: 2]
What is causing this error and how can I fix it?
Thank you
Nadim
Solved! Go to Solution.
01-25-2016 01:15 PM
There is a potential fix that you can apply to solve this issue.
If you haven’t already done so, please go ahead and enable the users collectorlogin and root as these will be very useful in any future troubleshooting.
Please execute the following commands and make sure to save the automatically generated passwords:
pwdreset collectorlogin 180
pwdreset root 180
Please follow the below instructions to apply the attached patch file:
su -
cd /home/collectorlogin
ls -larth
unzip LCM_fix_jan2015.zip
cd LCM_fix_jan2015
./install.sh
conf server-connection disable
conf server-connection enable
check update
If this does not solve the issue, then more than likely this would need to be looked at by a TAC engineer. If you have a valid NLS1/CSAS contract, please feel free to open a TAC case for further troubleshooting.
Regards,
Cesar
01-25-2016 01:15 PM
There is a potential fix that you can apply to solve this issue.
If you haven’t already done so, please go ahead and enable the users collectorlogin and root as these will be very useful in any future troubleshooting.
Please execute the following commands and make sure to save the automatically generated passwords:
pwdreset collectorlogin 180
pwdreset root 180
Please follow the below instructions to apply the attached patch file:
su -
cd /home/collectorlogin
ls -larth
unzip LCM_fix_jan2015.zip
cd LCM_fix_jan2015
./install.sh
conf server-connection disable
conf server-connection enable
check update
If this does not solve the issue, then more than likely this would need to be looked at by a TAC engineer. If you have a valid NLS1/CSAS contract, please feel free to open a TAC case for further troubleshooting.
Regards,
Cesar
01-25-2016 01:15 PM
Hi Cesar,
Thank you for replying back to me and for providing me with the patch and instructions.
One minor note.
To install the patch you need to issue the command:
cd LCM_fix_jan2015
./install.sh
since the copying of the jar file is relative to the LCM_fix_jan2015 directory.
The patch worked and I am in the process of downloading other patch files.
Once again, thank you very much.
Thank you
Nadim
01-25-2016 01:17 PM
Hi Nadim,
Good catch, I'll update the previous post.
Regards,
Cesar
01-19-2017 01:22 PM
I am currently at 2.4 and I am trying to upgrade to 2.6.1.
I get a similar message when running the check update command:
admin# check update
% Error occured while executing command Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: java.io.StringReader@6f41ea57; line: 1, column: 2]
Does the same patch apply to this error as well?
Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide