update_security_db.sh fails on landscape 23.03 with Expecting value: line 1 colu

Started by mahesh, Oct 20, 2023, 06:44 AM

Previous topic - Next topic

mahesh

Our Landscape on prem setup reports that the update_security_db.sh fails consistently.

Running the command manually
Code:
sudo -u landscape bash -x /opt/canonical/landscape/scripts/update_security_db.shResults in the following error

Code:
+ . /opt/canonical/landscape/scripts/landscape-env.sh
++ ROOTDIR=/opt/canonical
++ export PYTHONPATH
++ export STORM_CEXTENSIONS=1
++ STORM_CEXTENSIONS=1
++ export LANDSCAPE_CONFIG=standalone
++ LANDSCAPE_CONFIG=standalone
++ export LANG=C
++ LANG=C
++ export TZ=UTC
++ TZ=UTC
++ PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
++ PYTHON=/usr/bin/python3
++ LSROOT=/opt/canonical/landscape
++ LSUSER=landscape
++ DESC='Landscape standalone'
++ DEFAULTS_FILE=/etc/default/landscape-server
++ ENVIRONMENT_FILE=/etc/environment
++ '[' -f /etc/environment ']'
++ . /etc/environment
+++ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
++ export http_proxy https_proxy no_proxy
++ export HTTP_PROXY HTTPS_PROXY NO_PROXY
++ SERVICE_CONF_FILE=/etc/landscape/service.conf
++ '[' -r /etc/landscape/service.conf ']'
+++ awk -F '[\t ]*=[\t ]*' '/^syslog-address/ { print $2; };' /etc/landscape/service.conf
++ SYSLOG_ADDRESS=/dev/log
++ PIDDIR=/var/run/landscape