[syslog-ng] Two instances of syslog-ng on the same host?

John R. Dunning jrd at jrd.org
Tue Jun 29 03:25:46 CEST 2010


    From: "John R. Dunning" <jrd at jrd.org>
    Date: Sat, 26 Jun 2010 22:42:05 -0400
    
        From: "Patrick H." <syslogng at feystorm.net>
        Date: Sat, 26 Jun 2010 20:27:41 -0600
        
        The second instance youre trying to launch is using the first instance's 
        config.
        Error initializing source driver; source='src', id='src#0'
         From that message you can see its trying to initialize the source 
        callced 'src'. In your second config, your source is called 's_node', 
        the first instance is called 'src'. Make sure youre passing the proper 
        '-f' option to syslog-ng when you start it.
        
    Pretty sure I am. 
        
    It's the second config (the one for the "main" instance) which has a
    source called "src".  It's the proxy one (the first one) which has a
    source called "s_node".
    
    The start for the proxy uses -f <special-proxy-conf> whereas the start
    for the main one just lets it default to syslog-ng.conf.

Anybody got any further ideas on this?  I fear my next step is to
start running the thing under gdb and try to work out why the proxy
instance still wants to open /dev/log.  Would like to avoid that if
possible... 


More information about the syslog-ng mailing list