Well I did that more or less. However I now tried just doing httpd -u and still no luck.
I'm not clear if the issue is with syslog-ng not logging the data, or if the web interface is failing to capture the data.
I don't mind running out of a chroot for now at least to get this working.
However I suspect the problem is with the php web interface. When I run this script that came with it which is supposed to "send test syslogs" I get errors which are beyond me.
Code:
Can't locate Net/MySQL.pm in @INC (@INC contains: /usr/libdata/perl5/i386-openbsd/5.10.0 /usr/local/libdata/perl5/i386-openbsd/5.10.0 /usr/libdata/perl5 /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl .) at scripts/dbgen.pl line 22.
BEGIN failed--compilation aborted at scripts/dbgen.pl line 22.
Note: "MySQL.pm" is also located in the same folder which came with the script
Line 22: use Net::MySQL;
To confirm I am running MySQL
Code:
pkg_info | grep mysql
mysql-client-5.0.83 multithreaded SQL database (client)
mysql-server-5.0.83 multithreaded SQL database (server)
p5-DBD-mysql-4.010 MySQL drivers for the Perl DBI
php5-mysql-5.2.10 mysql database access extensions for php5
Any help would be appreciated.
Thanks