[syslog-ng] error in logrotate.php

Hari Sekhon hpsekhon at googlemail.com
Fri Jan 5 11:38:57 CET 2007


you need to configure the php scripts for phpsyslog-ng. Set the path in 
them to the common funcs.

second, you need to read the syslog-ng docs. They're decent and until 
you've read them you should be trying to do this.


Hari Sekhon



max makli wrote:
> Hi
> I'm new in php, so my problem when i excute logrotate.php & i have 
> this message :
>
> Starting logrotate
> 2007-01-04 10:38:22PHP Warning:  
> include_once(/var/www/phpsyslogng/includes/common_funcs.php): failed 
> to open stream: No such file or directory in 
> /var/www/html/phpsyslogng/scripts/logrotate.php on line 8
> PHP Warning:  include_once(): Failed opening 
> '/var/www/phpsyslogng/includes/common_funcs.php' for inclusion 
> (include_path='.:/usr/share/pear') in 
> /var/www/html/phpsyslogng/scripts/logrotate.php on line 8
> PHP Warning:  include_once(/var/www/phpsyslogng/config/config.php): 
> failed to open stream: No such file or directory in 
> /var/www/html/phpsyslogng/scripts/logrotate.php on line 9
> PHP Warning:  include_once(): Failed opening 
> '/var/www/phpsyslogng/config/config.php' for inclusion 
> (include_path='.:/usr/share/pear') in 
> /var/www/html/phpsyslogng/scripts/logrotate.php on line 9
> PHP Fatal error:  Call to undefined function db_connect_syslog() in 
> /var/www/html/phpsyslogng/scripts/logrotate.php on line 11
>
> I didn't what i do, my second problem i have a log in localhost but 
> how i transfer this in my base mysql + phpsyslogng
>
> THANKS
>
> _________________________________________________________________
> Découvrez le Blog heroic Fantaisy d'Eragon! 
> http://eragon-heroic-fantasy.spaces.live.com/
>
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>


More information about the syslog-ng mailing list