I modified one of the scripts to be <?php instead of <?, run ran php -q <file> and it spat out the source again.

Interestingly, if I put 'echo "foo";' at the top, 'foo' it output before the source of the file.

I have also discovered that msyslog doesn't want to log to mysql at all. Completely blank. And with syslog-ng (which is actually debian's preferred method, there is no 'pipe' output, hence the mysql collector process won't ever pick anything up.

At this time I cannot see any way of getting syslog into mysql. Which of course presents usage of jffnms.

James


Javier Szyszlican wrote:

Hi James,

1. The Relative path should be ./ in your case, or empty. But its not a problem, as long as you see images, its working. Are you sure that allow_fopen is activated (in php.ini) ?

2. This is a problem, if you see the source of the scripts it means that php is not able to understand that they are PHP scripts, check your php.ini (for the CLI) against the php.ini I provide in docs/unix/php.ini (its from RH, but it the values should be mostly the same).

I think that it maybe is the "short open tag" thats not enabled.

Javier

James Green wrote:

Hi all


I was installating jffnms on a box last night, and have two problems, either one of which is probably causing the 'The RRDTool files for Interface ID 11 (from Host ID 2), has not been created by the Poller Process yet' message


1. I get error by the Webserver relative path and WebServer Temp Images Relative Path options. I have no idea what these are meant to be - there's no apparent documentation. The absolute path is /www/sites/jffnms/[htdocs|engine|...] and it runs on a subdomain if anyone can help me.

2. I put in the cronjobs, running as www-data (debian stable, jffnms installed from source), and can execute consolidate.php and poller.php manually as root. But nothing appears in the logs or rrd directorys. In fact, when running them, the output is the source code of the scripts!

Clearly, something is pretty broken. Can someone give me an idea?

Thanks,




--
James Green
Systems Administrator, StealthNET Ltd, www.stealthnet.co.uk
Tel: 0870 800 1777 Intl: +44 1493 660066 Fax: 0870 135 1069


-- Use of the StealthNET mail server is subject to terms and conditions that can be found at: http://www.stealthnet.co.uk/terms_web_email.pdf



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to