ok, i have everything set up, and syslog-ng is working very nicely. Problem is that the script that runs to move logs from named pipe in /tmp to the mysql server does not work from cron. It works succesfully from a putty window, but that defeats the purpose. Does anyone have a working shell script for php-syslog-ng? My OS is Solaris 9 (SPARC). If anyone has this, could you please email me as soon as possible? Thanks in advance. Sincerely, Robert Perriero PS. Please don't send me the existing MySQL script that's currently on vermeer.org as that's the one I'm using. I need an updated script, or I need advice on how to get this to work correctly.
Don't use a pipe. Write the data to date stamped temp files and process them that way. Pipes do not seem to be very reliable. Richard
-----Original Message----- From: syslog-ng-admin@lists.balabit.hu [mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of Perriero, Robert A. Sent: Monday, July 07, 2003 9:38 AM To: syslog-ng@lists.balabit.hu Subject: [syslog-ng]Regarding Php-Syslog-NG
ok, i have everything set up, and syslog-ng is working very nicely. Problem is that the script that runs to move logs from named pipe in /tmp to the mysql server does not work from cron. It works succesfully from a putty window, but that defeats the purpose. Does anyone have a working shell script for php-syslog-ng? My OS is Solaris 9 (SPARC). If anyone has this, could you please email me as soon as possible? Thanks in advance. Sincerely, Robert Perriero
PS. Please don't send me the existing MySQL script that's currently on vermeer.org as that's the one I'm using. I need an updated script, or I need advice on how to get this to work correctly.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/sysl> og-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
participants (2)
-
Perriero, Robert A.
-
Richard E. Perlotto II