Re: Backups not listed
Posted: Fri Apr 10, 2015 12:15 pm
Code: Select all
[root@iss-chi-nag05 ~]# getenforce
Disabled
[root@iss-chi-nag05 ~]# cat /etc/group|grep nagios
nagios:x:500:nagios,apache
nagcmd:x:501:nagios,apache
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
[root@iss-chi-nag05 ~]# getenforce
Disabled
[root@iss-chi-nag05 ~]# cat /etc/group|grep nagios
nagios:x:500:nagios,apache
nagcmd:x:501:nagios,apache
Code: Select all
ls -ld /store/backups/nagiosxi/Code: Select all
[root@iss-chi-nag05 ~]# ls -ld /store/backups/nagiosxi/
drwxrw-rw-. 2 nagios nagios 4096 Apr 10 01:12 /store/backups/nagiosxi/
jomann wrote:We are using a php function to read the directory - what version of Linux is this running on and what version of PHP is it running?
Code: Select all
[root@iss-chi-nag05 ~]# php -v
PHP 5.3.3 (cli) (built: Oct 23 2014 06:58:46)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
[root@iss-chi-nag05 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Code: Select all
tail -f /var/log/httpd/error_log /var/log/httpd/access_logBut as jomann said, just using a php function to read the directory, so should have nothing to do with DB to list whats in there.BanditBBS wrote:It didn't complete due to a crashed table. That has been resolved and I deleted the folder that was never finished from that last night run.
Code: Select all
touch /store/backups/nagiosxi/1427999999.tar.gz
touch /store/backups/nagiosxi/1427999999.tar.gzCode: Select all
[root@nagiosd1 nagiosxi]# ls -l
total 387136
-rw-r--r-- 1 nagios nagios 42384161 Oct 24 12:14 1414170882.tar.gz
-rw-r--r-- 1 nagios nagios 88521339 Mar 31 13:58 1427828211.tar.gz
-rw-r--r-- 1 nagios nagios 88520281 Mar 31 13:59 1427828264.tar.gz
-rw-r--r-- 1 nagios nagios 88520230 Mar 31 14:01 1427828413.tar.gz
-rw-r--r-- 1 nagios nagios 88469244 Apr 2 12:28 1427995657.tar.gz
-rw-r--r-- 1 nagios nagios 0 Apr 10 14:50 1427999999.tar.gz
-rw-r--r-- 1 nagios nagios 0 Apr 10 14:50 1428000000.tar.gz