Hi Guys,
I've been having the following issue-> When I try to install the GeoMap Dashlet
1) First it failed and from the logs I've seen this errors:
[Tue Nov 01 17:21:16.920612 2016] [:error] [pid 20378] [client 10.20.186.126:54375] PHP Warning: move_uploaded_file(/usr/local/nagiosxi/tmp/dashlet-googlemap.zip): failed to open stream: Permission denied in /usr/local/nagiosxi/html/admin/dashlets.php on line 245, referer: http://10.20.234.166/nagiosxi/admin/dashlets.php?&=
[Tue Nov 01 17:21:16.920688 2016] [:error] [pid 20378] [client 10.20.186.126:54375] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phptYV5Fr' to '/usr/local/nagiosxi/tmp/dashlet-googlemap.zip' in /usr/local/nagiosxi/html/admin/dashlets.php on line 245, referer: http://10.20.234.166/nagiosxi/admin/dashlets.php?&=
[Tue Nov 01 17:21:27.025508 2016] [:error] [pid 25922] [client 10.20.186.126:54382] PHP Warning: move_uploaded_file(/usr/local/nagiosxi/tmp/dashlet-googlemap.zip): failed to open stream: Permission denied in /usr/local/nagiosxi/html/admin/dashlets.php on line 245, referer: http://10.20.234.166/nagiosxi/admin/dashlets.php
[Tue Nov 01 17:21:27.025574 2016] [:error] [pid 25922] [client 10.20.186.126:54382] PHP Warning: move_uploaded_file(): Unable to move '/tmp/php5FKM0U' to '/usr/local/nagiosxi/tmp/dashlet-googlemap.zip' in /usr/local/nagiosxi/html/admin/dashlets.php on line 245, referer: http://10.20.234.166/nagiosxi/admin/dashlets.php
2) I try to correct the permissions by hand as you can see on the attached files and then I received the message 'dashlet scheduled for installation' and nothing happend.
I tried to restart httpd and Nagios but the error still persist. I also tied to follow this kb doc -> https://support.nagios.com/kb/article.php?id=174
Any help will be fine,
Regards
Dashlet Installation Error
-
maartin.pii
- Posts: 84
- Joined: Wed May 18, 2016 1:39 pm
Dashlet Installation Error
You do not have the required permissions to view the files attached to this post.
Last edited by dwhitfield on Tue Jan 03, 2017 10:38 am, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Dashlet Installation Error
What version of XI are you using? The dashlet installs fine for me on 5.3.2.
Previous Nagios employee
-
maartin.pii
- Posts: 84
- Joined: Wed May 18, 2016 1:39 pm
Re: Dashlet Installation Error
I have Nagios 5.2.9! I am kinf of confused about the error:
[Mon Nov 07 15:29:31.871650 2016] [:error] [pid 27080] [client :49734] PHP Warning: move_uploaded_file(/usr/local/nagiosxi/tmp/dashlet-googlemap.zip): failed to open stream: Permission denied in /usr/local/nagiosxi/html/admin/dashlets.php on line 245, referer: http:///nagiosxi/admin/dashlets.php?&=
[Mon Nov 07 15:29:31.871763 2016] [:error] [pid 27080] [client :49734] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phprSAH9W' to '/usr/local/nagiosxi/tmp/dashlet-googlemap.zip' in /usr/local/nagiosxi/html/admin/dashlets.php on line 245, referer: http:///nagiosxi/admin/dashlets.php?&=
[Mon Nov 07 15:29:31.871650 2016] [:error] [pid 27080] [client :49734] PHP Warning: move_uploaded_file(/usr/local/nagiosxi/tmp/dashlet-googlemap.zip): failed to open stream: Permission denied in /usr/local/nagiosxi/html/admin/dashlets.php on line 245, referer: http:///nagiosxi/admin/dashlets.php?&=
[Mon Nov 07 15:29:31.871763 2016] [:error] [pid 27080] [client :49734] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phprSAH9W' to '/usr/local/nagiosxi/tmp/dashlet-googlemap.zip' in /usr/local/nagiosxi/html/admin/dashlets.php on line 245, referer: http:///nagiosxi/admin/dashlets.php?&=
-
maartin.pii
- Posts: 84
- Joined: Wed May 18, 2016 1:39 pm
Re: Dashlet Installation Error
I am also kind of confused with the message that I get 'Dashlet Installation scheduled' and then nothing happens... Is there any way to install it by hand? or by cli ?
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Dashlet Installation Error
While 5.2.9 isn't ancient by any means, it's definitely not current. There have be some permission and other issues resolved between then and 5.3.2. If you aren't opposed to an upgrade, I would do that first.
It also seems we have different permissions:
It also seems we have different permissions:
Code: Select all
ls -la /usr/local/nagiosxi/tmp/
total 0
drwsrwsr-x. 2 nagios nagios 6 Oct 31 11:37 .
drwxr-xr-x. 10 nagios nagios 94 Oct 31 11:35 ..
Previous Nagios employee
-
maartin.pii
- Posts: 84
- Joined: Wed May 18, 2016 1:39 pm
Re: Dashlet Installation Error
That's ok guys I will upgrade it and let you know how it goes.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Dashlet Installation Error
I'll leave the thread open in case the upgrade doesn't work for you. Please let us know if it does.
Previous Nagios employee
-
maartin.pii
- Posts: 84
- Joined: Wed May 18, 2016 1:39 pm
Re: Dashlet Installation Error
This thread could be closed.
Regards,
Regards,