Thursday, May 23rd 2013, 6:47am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.

mannic01

Beginner

Posts: 3

Number of monitoring servers: 1

Nagios Version: latest

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 8

OS: centos

Plugin Version: latest

NDO Version: 1

1

Tuesday, June 9th 2009, 12:26am

Problem on install please help.

Hi.

Im getting this error code after an install, can someone help please?

Warning: fopen(/usr/local/nagios/share/nagvis/var/nagvis.ini.php-1.4-cache) [function.fopen]: failed to open stream: Permission denied in /usr/local/nagios/share/nagvis/nagvis/includes/classes/GlobalFileCache.php on line 79

error The cache file "/usr/local/nagios/share/nagvis/var/nagvis.ini.php-1.4-cache" is not writeable.


Thanks

Regards
Jay

This post has been edited 1 times, last edit by "mannic01" (Jun 15th 2009, 11:38pm)


avanti

Trainee

Posts: 149

Birthday: Apr 1st 1982 (31)

Gender: male

Location: Lörrach

Number of monitoring servers: 1

Nagios Version: 3.0.9

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 350

Number of services: 1000

OS: Debian

Plugin Version: 1.4.13

NagVis Version: 1.3.2

NDO Version: 1

Perfparse Version: -

Other Addons: PNP, Nagvis, NagTrap, NagLite, Nss

2

Tuesday, June 9th 2009, 9:47am

Did you do Step 5 in the Installation Guide?! I Don't think so....

mannic01

Beginner

Posts: 3

Number of monitoring servers: 1

Nagios Version: latest

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 8

OS: centos

Plugin Version: latest

NDO Version: 1

3

Tuesday, June 9th 2009, 10:13pm

I userd the "[b]NagVis Installer" does this not do those steps for you??[/b]

avanti

Trainee

Posts: 149

Birthday: Apr 1st 1982 (31)

Gender: male

Location: Lörrach

Number of monitoring servers: 1

Nagios Version: 3.0.9

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 350

Number of services: 1000

OS: Debian

Plugin Version: 1.4.13

NagVis Version: 1.3.2

NDO Version: 1

Perfparse Version: -

Other Addons: PNP, Nagvis, NagTrap, NagLite, Nss

4

Wednesday, June 10th 2009, 9:21am

I don`t know, beeing honest as the installer never worked for me.
But as I see you added "solved", so it seems not

mannic01

Beginner

Posts: 3

Number of monitoring servers: 1

Nagios Version: latest

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 1

Number of services: 8

OS: centos

Plugin Version: latest

NDO Version: 1

5

Monday, June 15th 2009, 11:37pm

no i never put solved...

I guess the installer dont work..

Posts: 7,238

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.2.1

Icinga Version: Icinga 1.7.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: >70

Number of services: >200

OS: SLES11

Plugin Version: 1.4.15

Other Addons: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6.18

6

Tuesday, June 16th 2009, 12:18pm

Quoted from "avanti"

I don`t know, beeing honest as the installer never worked for me.

did you report your problems?

Quoted from "mannic01"

I guess the installer dont work..
the cache file was introduced recently. It is created after the installation process so the installer will not be able to set the permissions appropriately.

LaMi

Geek

Posts: 3,822

Birthday: Sep 22nd

Gender: male

Location: München

Occupation: Berater / Entwickler

Number of monitoring servers: x

Nagios Version: 3.2.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: x

Number of services: x

OS: SLES,CentOS,Debian

Plugin Version: x

NagVis Version: Git

NDO Version: -

IDO-Version: -

Perfparse Version: -

Other Addons: PNP, Check_MK, Livestatus, Multisite

7

Saturday, June 20th 2009, 8:01pm

Quoted

Warning: fopen(/usr/local/nagios/share/nagvis/var/nagvis.ini.php-1.4-cache) [function.fopen]: failed to open stream: Permission denied in /usr/local/nagios/share/nagvis/nagvis/includes/classes/GlobalFileCache.php on line 79

error The cache file "/usr/local/nagios/share/nagvis/var/nagvis.ini.php-1.4-cache" is not writeable.


It seems the webservers user was not able to write to the nagvis/var directory to create new files there? It seems this permission was not checked by NagVis before trying to write some caching files. I just added a check to the NagVis caching mechanism for that.

Regards,
lars