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
Scheduled Backups not working after Upgrade
Re: Scheduled Backups not working after Upgrade
Hi
Sorry about this but I go this sorted.
I have found the file that I need to update
Once I updated that with the correct command the backups worked
Thanks
Sorry about this but I go this sorted.
I have found the file that I need to update
Once I updated that with the correct command the backups worked
Thanks
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Scheduled Backups not working after Upgrade
No worries, glad to hear it is sorted!mccrakem wrote:Hi
Sorry about this but I go this sorted.
I have found the file that I need to update
Once I updated that with the correct command the backups worked
Thanks
Locking thread