Symptoms
`
datetime [error] xyz: *29 FastCGI sent in stderr: "PHP message: PHP Warning: ob_start(): function "ob_gzhandler" not found or invalid function name in /usr/local/www/loganalyzer/include/functions_common.php on line 649; PHP message: PHP Notice: ob_start(): Failed to create buffer in /usr/local/www/loganalyzer/include/functions_common.php on line 649; PHP message: PHP Fatal error: Uncaught Error: Class "LogStreamLineParsersyslogng" not found in /usr/local/www/loganalyzer/classes/logstreamconfigdisk.class.php:77
Stack trace:
fix for parser when syslog-ng is selected.
syslog-ng: syslog-ng 4 (4.2.0) loganalyzer: commit: 18c40e1af541768a8a59ef0c88f475232b2e3ba5
loganalyzer config.php
$CFG['DefaultSourceID'] = 'Source1'; $CFG['Sources']['Source1']['ID'] = 'Source1'; $CFG['Sources']['Source1']['Name'] = 'whatever'; $CFG['Sources']['Source1']['ViewID'] = 'SYSLOG'; $CFG['Sources']['Source1']['SourceType'] = SOURCE_DISK; $CFG['Sources']['Source1']['LogLineType'] = 'syslogng'; $CFG['Sources']['Source1']['DiskFile'] = '/var/log/syslogng.log';
Symptoms ` datetime [error] xyz: *29 FastCGI sent in stderr: "PHP message: PHP Warning: ob_start(): function "ob_gzhandler" not found or invalid function name in /usr/local/www/loganalyzer/include/functions_common.php on line 649; PHP message: PHP Notice: ob_start(): Failed to create buffer in /usr/local/www/loganalyzer/include/functions_common.php on line 649; PHP message: PHP Fatal error: Uncaught Error: Class "LogStreamLineParsersyslogng" not found in /usr/local/www/loganalyzer/classes/logstreamconfigdisk.class.php:77 Stack trace:
0 /usr/local/www/loganalyzer/classes/logstreamconfigdisk.class.php(54): LogStreamConfigDisk->CreateLineParser()
1 /usr/local/www/loganalyzer/index.php(234): LogStreamConfigDisk->LogStreamFactory()
2 {main}
thrown in /usr/local/www/loganalyzer/classes/logstreamconfigdisk.class.php on line 77" while reading response header from upstream, client:, server: log.krabica.local, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "", referrer: "http:///install.php?step=8"
`
`