NOT ABLE TO DOWNLOAD FILE
-
- Posts: 69
- Joined: Mon May 01, 2017 1:23 am
NOT ABLE TO DOWNLOAD FILE
HI NOT ABLE DOWNLOAD ANY REPORTS FORM MY NAGIOS XI SERVER.
You do not have the required permissions to view the files attached to this post.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: NOT ABLE TO DOWNLOAD FILE
you have a sticky bit on the t folder, which could be cause issues depending what Nagios is trying to do.
Re: NOT ABLE TO DOWNLOAD FILE
Another folder to check if the permissions are correct is this folder
Code: Select all
/usr/local/nagiosxi/tmp/
Code: Select all
drwsrwsr-x 3 nagios nagios 12288 Jul 21 12:57 tmp
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 69
- Joined: Mon May 01, 2017 1:23 am
Re: NOT ABLE TO DOWNLOAD FILE
i have tried that permission also
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: NOT ABLE TO DOWNLOAD FILE
can the user running your web server write to /tmp/?
-
- Posts: 69
- Joined: Mon May 01, 2017 1:23 am
Re: NOT ABLE TO DOWNLOAD FILE
yes it can .. al reports are able to download only pnp graph is not downloading in .CSV format
Re: NOT ABLE TO DOWNLOAD FILE
Run this in a root shell on the Nagios server.
Then try and download a report that causes the error and then post the output of the tail command.
Also, run the following as root and post the output.
Code: Select all
tail -f /var/log/httpd/*_log
Also, run the following as root and post the output.
Code: Select all
chage -l nagios
grep nag /etc/passwd
grep nag /etc/group
cat /etc/sudoers
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 69
- Joined: Mon May 01, 2017 1:23 am
Re: NOT ABLE TO DOWNLOAD FILE
hi plz find alll the required data.
You do not have the required permissions to view the files attached to this post.
Re: NOT ABLE TO DOWNLOAD FILE
You will need to add the following line to the sudoers file:
Also, I know it says "tmp" in the error message, not "temp", but I've seen similar issues in the past when permissions of the "temp" directory were wrong. Please, verify that you have the same permissions on your system as the ones below:
Code: Select all
Defaults:nagios !requiretty
Code: Select all
ls -lad /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
drwxrwx--- 2 nagios nagios 18 Jan 12 2017 /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 69
- Joined: Mon May 01, 2017 1:23 am
Re: NOT ABLE TO DOWNLOAD FILE
i have done the entry and check the permission all is OK but still same problem.
Please help...
Please help...