Page 1 of 1

Couldn't create temporary file. Check that the directory per

Posted: Tue May 21, 2019 3:26 am
by s.wiki
host Performance Graph cannot download CSV files but only for Disk Usage as error below

Couldn't create temporary file. Check that the directory permissions for the /tmp directory are set to 777.

Already do command
chown -R nagios.nagios /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
chmod -R ug+rwx /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp

Any other solution can try?

Re: Couldn't create temporary file. Check that the directory

Posted: Tue May 21, 2019 2:32 pm
by scottwilkerson
Lets make sure apache is part of the nagios group
grep nag /etc/groups

Also, can you show the permissions of these commands

Code: Select all

ls -ld /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
ls -ld /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server
ls -ld /usr/local/nagiosxi/html/includes/components/highcharts
ls -ld /usr/local/nagiosxi/html/includes/components
ls -ld /usr/local/nagiosxi/html/includes
ls -ld /usr/local/nagiosxi/html
Finally lets make sure selinux is disabled

Code: Select all

getenforce