Error while opening /tmp/

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
alexferro74
Posts: 3
Joined: Wed Jan 29, 2020 6:56 am

Error while opening /tmp/

Post by alexferro74 »

Cacti 1.2.8

Hi!

I have a problem when sending report by mail within some JPG graph.

I receive blank report by mail with 4 image in attach, showing "Error while opening /tmp/..."

Thanks, Alessandro
idle
Cacti User
Posts: 77
Joined: Wed May 26, 2004 10:49 am
Location: Barcelona
Contact:

Re: Error while opening /tmp/

Post by idle »

Try to disable open_basedir in php settings.
What is output of:

Code: Select all

php -i | egrep 'tmp_dir|open_basedir'
alexferro74
Posts: 3
Joined: Wed Jan 29, 2020 6:56 am

Re: Error while opening /tmp/

Post by alexferro74 »

Hi Idle,

this is output:

[cacti]# php -i | egrep 'tmp_dir|open_basedir'
open_basedir => no value => no value
upload_tmp_dir => no value => no value

Ale
alexferro74
Posts: 3
Joined: Wed Jan 29, 2020 6:56 am

[SOLVED] Error while opening /tmp/

Post by alexferro74 »

I modified /etc/php.ini and apply this:

upload_tmp_dir = /tmp/

Alessandro
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests