LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   perl error (https://www.linuxquestions.org/questions/linux-software-2/perl-error-829876/)

packets 09-02-2010 12:45 AM

perl error
 
I'm installing qgreylist . It uses perl and uses Sys::Syslog. However, it's not working and I notice the ff on syslog:

Sep 2 01:30:05 li164-183 kernel: greylist[345]: segfault at 10 ip b776692e sp bf856f60 error 4 in libperl.so[b773d000+161000]
Sep 2 01:37:11 li164-183 kernel: greylist[348]: segfault at 10 ip b75d492e sp bfbf5f70 error 4 in libperl.so[b75ab000+161000]

Anyone who could suggest to fix this? I can't contact anymore the author of the script.

kbp 09-02-2010 01:46 AM

Try running a test prog to see if Sys::Syslog is functioning at all -

Code:

#!/usr/bin/perl -w
use strict;

use Sys::Syslog;

openlog "testapp", "pid", "mail";

syslog "info", "test 1";

Examples of usage: http://perldoc.perl.org/Sys/Syslog.html#FUNCTIONS


All times are GMT -5. The time now is 10:42 AM.