[op5-users] How to Geomap ?

Jean-Marc LE FEVRE eos at etatcritik.dyndns.org
Fri Nov 27 11:42:29 CET 2009


I don't have this error. My memory limit is set to 128m in php.ini




Le 27 nov. 09 à 09:43, Patrik Båt a écrit :

> Goodmorning, i tried that to, now the error is gone, but is a have  
> 512M mem in php.ini, this must be a mem leak....
>
>
>
> [Fri Nov 27 09:42:53 2009] [error] [client ] PHP Fatal error:   
> Allowed memory size of 536870912 bytes exhausted (tried to allocate  
> 523800 bytes) in /monitor/nagvis/share/server/core/classes/ 
> GlobalMainCfg.php on line 47, referer: https://<host>/nagvis/netmap/ 
> shell.swf
>
> -
> Sincerely,
>
> Patrik Båt
> UNIX System Administrator
> _____________________________________________
> Cypoint IT Services AB
> Sehlstedtsgatan 9
> SE-100 52 Stockholm
> http://www.cypoint.se
>
> Phone: +46 (0)8 545 87 300
> Direct: +46 (0)8 545 87 326
> Mobile: +46 (0)73 32 07 326
> E-mail: patrik.bat at cypoint.se
> ________________________________________
> Från: op5-users-bounces at lists.op5.com [op5-users- 
> bounces at lists.op5.com] f&#246;r Jean-Marc LE FEVRE [eos at etatcritik.dyndns.org 
> ]
> Skickat: den 26 november 2009 20:31
> Till: Mailinglist for op5's products
> Ämne: Re: [op5-users] How to Geomap ?
>
> I've convertered __construct on my server to a public function as for
> now security doesn't matter for me.
>
>
>
>
> Le 26 nov. 09 à 19:45, Patrik Båt a écrit :
>
>> PHP Fatal error:  Call to private GlobalCore::__construct() from
>> context 'SettingsService' in /monitor/nagvis/share/netmap/
>> SettingsService.php on line 47, referer: https://<dont flood me
>> plix>/nagvis/netmap/shell.swf
>>
>> im still getting this tho, in httpd_error log
>> -
>> Sincerely,
>>
>> Patrik Båt
>> UNIX System Administrator
>> _____________________________________________
>> Cypoint IT Services AB
>> Sehlstedtsgatan 9
>> SE-100 52 Stockholm
>> http://www.cypoint.se
>>
>> Phone: +46 (0)8 545 87 300
>> Direct: +46 (0)8 545 87 326
>> Mobile: +46 (0)73 32 07 326
>> E-mail: patrik.bat at cypoint.se
>> ________________________________________
>> Från: op5-users-bounces at lists.op5.com [op5-users-
>> bounces at lists.op5.com] f&#246;r Patrik Båt [Patrik.Bat at cypoint.se]
>> Skickat: den 26 november 2009 19:41
>> Till: Mailinglist for op5's products
>> Ämne: Re: [op5-users] How to Geomap ?
>>
>> i have it working at the widget in ninja, but i get a error message
>> "ERROR" clicking it 5 times, and then i can access the tabs, but i
>> cant save the google geomap key, i click apply and nothing happening.
>>
>> try my path tho, in the last mail....
>> -
>> Sincerely,
>>
>> Patrik Båt
>> UNIX System Administrator
>> _____________________________________________
>> Cypoint IT Services AB
>> Sehlstedtsgatan 9
>> SE-100 52 Stockholm
>> http://www.cypoint.se
>>
>> Phone: +46 (0)8 545 87 300
>> Direct: +46 (0)8 545 87 326
>> Mobile: +46 (0)73 32 07 326
>> E-mail: patrik.bat at cypoint.se
>> ________________________________________
>> Från: op5-users-bounces at lists.op5.com [op5-users-
>> bounces at lists.op5.com] f&#246;r Jean-Marc LE FEVRE [eos at etatcritik.dyndns.org
>> ]
>> Skickat: den 26 november 2009 19:28
>> Till: Mailinglist for op5's products
>> Ämne: Re: [op5-users] How to Geomap ?
>>
>> Hello,
>>
>> I checked different PATH tried different path (full, relative) with  
>> no
>> success
>>
>> I've also tried with latest form git Nagvis aka 1.5. Directory
>> structure is not the same as 1.4 version and I did some ln -s to make
>> the test environment work.
>> I didn't have any success with 1.5 too. I'm also not sure their was  
>> an
>> evolution on netmap in this release.
>>
>>
>>
>>
>>
>>
>> Le 26 nov. 09 à 11:56, Roman Kyrylych a écrit :
>>
>>> Jean-Marc LE FEVRE wrote:
>>>> Hello,
>>>>
>>>>
>>>> I've correct php file, make a little patch to force a ending / on
>>>> path
>>>> in getValue function.
>>>> Now I've corrected this I've got a new error !
>>>>
>>>>
>>>> Call to undefined method GlobalCore::getMainCfg() in /usr/share/
>>>> nagios/
>>>> addons/nagvis/netmap/SettingsService.php on line 49
>>>>
>>>> The GlobalCore object seems ok to me (I've dump its content into a
>>>> file) and I checked that getMainCfg() function exists using grep.
>>>>
>>>> On the browser I get Error : Error as the amf-server.php is
>>>> returning
>>>> an internal server error.
>>>>
>>>> Any idea on this error ?
>>>
>>> Check if the following lines in amf-server.php produce correct  
>>> paths:
>>> define('NAGVIS_PATH',  
>>> realpath(dirname($_SERVER['SCRIPT_FILENAME']) .
>>> '/../..') . '/');
>>> define('INCLUDE_PATH', NAGVIS_PATH . 'share/nagvis/includes/');
>>> define('CONFIG_PATH', NAGVIS_PATH . 'etc/geomap/');
>>>
>>> I suspect that NAGVIS_PATH is not detected correctly.
>>>
>>> --
>>> Roman Kyrylych
>>> Software engineer
>>> N-iX LLC
>>> Solutions for Your success
>>> http://www.n-ix.com
>>> _______________________________________________
>>> op5-users mailing list
>>> op5-users at lists.op5.com
>>> http://lists.op5.com/mailman/listinfo/op5-users
>>
>> _______________________________________________
>> op5-users mailing list
>> op5-users at lists.op5.com
>> http://lists.op5.com/mailman/listinfo/op5-users
>>
>>
>> _______________________________________________
>> op5-users mailing list
>> op5-users at lists.op5.com
>> http://lists.op5.com/mailman/listinfo/op5-users
>>
>>
>> _______________________________________________
>> op5-users mailing list
>> op5-users at lists.op5.com
>> http://lists.op5.com/mailman/listinfo/op5-users
>
> _______________________________________________
> op5-users mailing list
> op5-users at lists.op5.com
> http://lists.op5.com/mailman/listinfo/op5-users
>
>
> _______________________________________________
> op5-users mailing list
> op5-users at lists.op5.com
> http://lists.op5.com/mailman/listinfo/op5-users



More information about the op5-users mailing list