Nagios Looking Glass Permissions
andy.shellam-lists at mailnetwork.co.uk
andy.shellam-lists at mailnetwork.co.uk
Thu Jun 21 12:12:19 CEST 2007
Hi Don,
NLG needs the following permissions set for the web-server user:
In /server:
- read access to the whole directory
- write access to ./index
In /client:
- read access to the whole directory
- write access to the root (./) of this directory
- write access to ./sync-files
- write access to ./cache
These permissions should be set for the user your web-server runs as. If
you're using Apache, you can search your httpd.conf file for the "User xxx"
directive.
Regards
Andy.
"Don Munyak" <don.munyak at gmail.com> wrote:
> Nagios Looking Glass Permissions
>
> Need help understanding what to do next.
> Thanks
>
> --------------------------------
> RESULTS FROM: IExplorer http://web.pmg.local/nagios/client/index.php
>
> Nagios Looking Glass Error Report
> Sorry for the inconvenience, but Nagios Looking Glass could not retrieve the
> page you asked for.
> The error message below might hold more clues for the site administrator:
>
> Could not sync all required files with the server.
>
> Generated by Nagios Looking Glass at 20/Jun/2007 18:52:07
>
> --------------------------------
> LOGGED ERRORS FROM HTTPD-ERROR.LOG
> [Wed Jun 20 18:22:33 2007] [error] [client 192.168.222.61] PHP Warning:
> file_put_contents(sync-files/s3_config.inc.php)[<a href='
> function.file-put-contents'>function.file-put-contents</a>]: failed to open
> stream: Permission denied in
> /usr/local/nagios/share/client/s3_download_stub.inc.php on line 131
> [Wed Jun 20 18:22:33 2007] [error] [client 192.168.222.61] PHP Warning:
> file_put_contents(sync-files/s3_filter.inc.php)[<a href='
> function.file-put-contents'>function.file-put-contents</a>]: failed to open
> stream: Permission denied in
> /usr/local/nagios/share/client/s3_download_stub.inc.php on line 131
> [Wed Jun 20 18:22:33 2007] [error] [client 192.168.222.61] PHP Warning:
> file_put_contents(sync-files/s3_functions.inc.php)[<a href='
> function.file-put-contents'>function.file-put-contents</a>]: failed to open
> stream: Permission denied in
> /usr/local/nagios/share/client/s3_download_stub.inc.php on line 131
> [Wed Jun 20 18:22:33 2007] [error] [client 192.168.222.61] PHP Warning:
> file_put_contents(sync-files/s3_lang_en.inc.php)[<a href='
> function.file-put-contents'>function.file-put-contents</a>]: failed to open
> stream: Permission denied in
> /usr/local/nagios/share/client/s3_download_stub.inc.php on line 131
>
> --------------------------------
> RESULTS FROM: DEBUG http://web.pmg.local/nagios/client/index.php?debug=yes
>
> *** Download Stub -> DownloadFiles() running ***
>
> Attempting to download files from
> http://web.pmg.local/nagios/server/s3_download.php
>
> Downloading s3_class.inc.php from server ... 0 bytes written
> Downloading s3_config.inc.php from server ... 0 bytes written
> Downloading s3_filter.inc.php from server ... 0 bytes written
> Downloading s3_functions.inc.php from server ... 0 bytes written
> Downloading s3_lang_en.inc.php from server ... 0 bytes written
>
> *** Download Stub -> DownloadFiles() finished ***
>
> *** S3 Client -> CheckSyncFiles() running ***
> Checking s3_class.inc.php ... FILE NOT FOUND or FILE IS EMPTY
> Checking s3_config.inc.php ... FILE NOT FOUND or FILE IS EMPTY
> Checking s3_filter.inc.php ... FILE NOT FOUND or FILE IS EMPTY
> Checking s3_functions.inc.php ... FILE NOT FOUND or FILE IS EMPTY
> Checking s3_lang_en.inc.php ... FILE NOT FOUND or FILE IS EMPTY
> *** S3 Client -> CheckSyncFiles() finished ***
>
>
http://web.pmg.local/nagios/server/s3_download.php?filename=s3_class.inc.php&action=check
>
http://web.pmg.local/nagios/server/s3_download.php?filename=s3_config.inc.php&action=check
>
http://web.pmg.local/nagios/server/s3_download.php?filename=s3_filter.inc.php&action=check
>
http://web.pmg.local/nagios/server/s3_download.php?filename=s3_functions.inc.php&action=check
>
http://web.pmg.local/nagios/server/s3_download.php?filename=s3_lang_en.inc.php&action=check
>
>
> !DSPAM:37,467978ac343943904212080!
>
_________________________________________________________
DISCLAIMER
This e-mail was sent through a Mail Network server.
The Mail Network accepts no liability for it's content.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list