[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cacti-user
Subject:    Re: [cacti-user] PHP Error - No Data in Graphs
From:       Larry Adams <larryjadams () comcast ! net>
Date:       2007-07-05 17:11:21
Message-ID: 468D2639.3000202 () comcast ! net
[Download RAW message or body]

Marc-Étienne Boulay wrote:
> Hi,
>
> I'm actually experiencing problem with my poller.php.
> I look into lot of forums but no final fix or anything to fix that PHP problem.
> Does anybody know solution for:
>
> PHP Warning:  mime_magic: type regex            BEGIN[[:space:]]*[{]
>  application/x-awk invalid in Unknown on line 0
>
> I'm not getting any data in graphs but still polling devices.
>
> I'm running
> Ubuntu 6.10 Server
> PHP4 (PHP 4.4.2-1.1 (cli) (built: Jun 20 2006 02:33:21))
> Mysql 5
> Apache2
> Cacti Version 0.8.6h
>
> I already try few hints I found in Debian Forums:
>
> commenting line 273 in /usr/share/file/magic.mime...
> #0 regex BEGIN[[:space:]]*[{] application/x-awk
>
> Or
>
> One workaround is to add the following lines to php.ini:
> [mime_magic]
> mime_magic.magicfile = "/etc/apache2/magic"
>
> Still not working.
>
> Thank you very much.
> Marc-Etienne Boulay
>
> -------------------------------------------------------------------------
> 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/
> _______________________________________________
> cacti-user mailing list
> cacti-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cacti-user
>
>   
How are you running the poller?  Is it "php -q poller.php" or something 
else?

TheWitness

-------------------------------------------------------------------------
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/
_______________________________________________
cacti-user mailing list
cacti-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cacti-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic