Page 1 of 2
Log Server does not create backups (Split topic)
Posted: Tue Aug 23, 2016 9:02 pm
by tohan41
Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 38&t=39929
In the future, please create a new thread and link to the old one instead of adding on.
I am having the same issue. when running curator in debug mode I get
http://localhost:9200/_snapshot/<reposi ... e>/_verify {status: 500} Failed to verify all nodes have repository access
Permissions are fine as I can write to the cifs share from Servers using nagios account.
Re: Log Server does not create backups (Split topic)
Posted: Wed Aug 24, 2016 9:10 am
by mcapra
This error message can almost exclusively be traced back to issues with the mount point (permissions or otherwise).
Can you share the output of an ls -al of the repository?
Re: Log Server does not create backups (Split topic)
Posted: Wed Aug 24, 2016 9:45 pm
by tohan41
ls -la
drwxrwxrwx 3 nagios users 0 Aug 25 08:38 .
drwxr-xr-x. 5 root root 4096 Aug 25 12:45 ..
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:52 tests-alB6FxxwT3KU50a7zpidQw-master
-rw-r--r-- 1 nagios nagios 0 Aug 25 08:38 tests-Pwo3MbxET8q9X5EJY9-Fpw-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:56 tests-q8sMfcq-QBeG8lbf9vLdtA-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:52 tests-rjcg7HxORNy9KrpNRw5sCg-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:55 tests--rYjQl4xRY-FXqSRM56WRA-master
Re: Log Server does not create backups (Split topic)
Posted: Thu Aug 25, 2016 9:22 am
by mcapra
Can I also see an ls -al of the next path up? Specifically I would like to make sure the users group also has write permissions on this path.
Re: Log Server does not create backups (Split topic)
Posted: Thu Aug 25, 2016 6:37 pm
by tohan41
[root@cfslx01 Archive]# ls -la
total 514689
drwxrwxrwx 3 root root 1024 Aug 12 11:08 .
drwxr-xr-x. 9 root root 4096 Aug 12 15:49 ..
drwxrwxrwx 3 nagios nagios 0 Aug 26 08:41 NagiosLSBackups
Re: Log Server does not create backups (Split topic)
Posted: Fri Aug 26, 2016 9:24 am
by mcapra
See if adding the users group changes things. Run the same curator command afterwards and share the output.
Re: Log Server does not create backups (Split topic)
Posted: Mon Aug 29, 2016 10:22 pm
by tohan41
Failed to verify all nodes have repository access
Re: Log Server does not create backups (Split topic)
Posted: Tue Aug 30, 2016 9:05 am
by mcapra
Here's the fstab entry for a CIFS mount i've been using for a bit now:
Code: Select all
\\192.168.1.1\NLSBackup /mnt/bkk cifs user,uid=nagios,gid=nagios,rw,suid,file_mode=0770,dir_mode=0770,credentials=/root/cifspass.txt 0 0
See if replicating that, specifically the
uid=nagios,gid=nagios,rw,suid,file_mode=0770,dir_mode=0770 directives, and remounting solves the issue.
Re: Log Server does not create backups (Split topic)
Posted: Thu Sep 01, 2016 8:28 pm
by tohan41
The CIFS share is not mounted via fstab. It is a Caringo Swarm Cluster using Caringo Content File Server. I'll have to check with them to see if I can change the mount process/settings
Re: Log Server does not create backups (Split topic)
Posted: Thu Sep 01, 2016 8:45 pm
by tohan41
I have tested your mount settings by creating a new separate cifs mount point and it still gives the same failed to verify all nodes have repository access.