Scheduled Backups not working after Upgrade
Posted: Fri May 08, 2020 4:36 am
Hi
I have just upgraded some of my systems from 5.2.7 to 5.6.14
When the schedule gets to the time where is has to start a local Backup I see this message in the following file
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
PROCESSED 0 COMMANDS
.PROCESSING COMMAND ID 7706...
PROCESS COMMAND: CMD=1117, DATA=a:2:{i:0;s:19:"nagiosxi.1588929722";i:1;s:24:"/store/backups/nagiosxi/";}
CMDLINE=sudo /usr/local/nagiosxi/scripts/backup_xi.sh -n nagiosxi.1588929722 -d /store/backups/nagiosxi
sudo: no tty present and no askpass program specified
OUTPUT=
RETURNCODE=1
..........................................................
PROCESSED 1 COMMANDS
............................................................
The servers that have been upgraded have the same sudoers file as the systems that have not been upgraded
So is there an extra line that needs to be added
Thanks
I have just upgraded some of my systems from 5.2.7 to 5.6.14
When the schedule gets to the time where is has to start a local Backup I see this message in the following file
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
PROCESSED 0 COMMANDS
.PROCESSING COMMAND ID 7706...
PROCESS COMMAND: CMD=1117, DATA=a:2:{i:0;s:19:"nagiosxi.1588929722";i:1;s:24:"/store/backups/nagiosxi/";}
CMDLINE=sudo /usr/local/nagiosxi/scripts/backup_xi.sh -n nagiosxi.1588929722 -d /store/backups/nagiosxi
sudo: no tty present and no askpass program specified
OUTPUT=
RETURNCODE=1
..........................................................
PROCESSED 1 COMMANDS
............................................................
The servers that have been upgraded have the same sudoers file as the systems that have not been upgraded
So is there an extra line that needs to be added
Thanks