[syslog-ng] Error in FreeBSD jail

Peter Fraser petros.fraser at gmail.com
Thu Dec 17 18:24:56 CET 2009


Made that change but I still get the same error.

Error binding socket; addr='AF_UNIX(/var/run/log)', error='Permission
denied (13)'
Error initializing source driver; source='src', id='src#0'
Error initializing message pipeline;
/usr/local/etc/rc.d/syslog-ng: WARNING: failed to start syslog_ng

I am starting the jail out of the rc.d directory. I do /etc/rc.d/jail
start logging


On Thu, Dec 17, 2009 at 12:06 PM, Sean McAfee
<smcafee at collaborativefusion.com> wrote:
> Peter Fraser wrote:
>> Yes, thanks for replying, here it is.
>>
>> #
>> source src { unix-dgram("/var/run/log");
>>              unix-dgram("/var/run/logpriv" perm(0600));
>>              udp(); internal(); file("/dev/klog"); };
>>
>>
>
> I know this doesn't match the error message you're seeing, but /dev/klog
> doesn't exist in jails.
>
> This is my src config for a 6.3-based jail:
>
> source src { unix-dgram("/var/run/log");
>              unix-dgram("/var/run/logpriv" perm(0600));
>              internal(); };
>
> If that doesn't get it, are you using ezjail to start and stop the jails?
>
> --
> Sean McAfee
> Senior Systems Engineer
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>


More information about the syslog-ng mailing list