SCV 4.8 upgrade shows curl error: malformed JSON string
Applies to
- SnapCenter Plug-in for VMware vSphere (SCV) 4.8
- SCV is upgraded from 4.4 or earlier
Issue
- Upon logging into the maintenance console after an upgrade to SCV 4.8, the user is prompted again to enter the password for the 'maint' user:
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for maint:
- After providing the password for the 'maint' user, the following error is returned:
sudo: curl: command not found
malformed JSON string, neither array, object, number, string or atom, at
character offset 0 (before “(end of string)”) at /home/maint/scripts/get-token.pl line 11.
- The same "
curl: command not found malformed JSON string
" error is returned when attempting to access other menus in the maintenance console - Command
curl -V
indicates curl is not installed
$ sudo curl -V
sudo: curl: command not found