[syslog-ng] connecting to mongodb

Peter Czanik czanik at balabit.hu
Thu Feb 3 09:38:52 CET 2011


Hello,

On 02/02/2011 03:45 PM, Peter Czanik wrote:
> Hello,
>
> When I try to use mongodb, I receive the following error message:
>
> Feb  2 15:33:54 linux-8k4b syslog-ng[9403]: syslog-ng starting up;
> version='3.3.0alpha0'
> Feb  2 15:33:54 linux-8k4b syslog-ng[9403]: Error connecting to MongoDB;
> Feb  2 15:33:54 linux-8k4b syslog-ng[9403]: Error connecting to MongoDB;
> Feb  2 15:33:54 linux-8k4b syslog-ng[9403]: Network error while
> inserting into MongoDB; time_reopen='60'
>   
Workaround: when I use IP address (127.0.0.1) instead of hostname
(localhost) in the config, it works.
Bye,

-- 
Peter Czanik (CzP) <czanik at balabit.hu>
BalaBit IT Security / syslog-ng upstream
http://czanik.blogs.balabit.com/




More information about the syslog-ng mailing list