Results 1 to 2 of 2

Thread: Error in configuration of syslog-ng

  1. #1
    vulagio is offline Starter Member
    Join Date
    Mar 2010
    Rep Power

    Default Error in configuration of syslog-ng

    When I start syslog-ng, It show error:
    Error in configuration, unresolved source reference; source='src'

    This some content of /etc/init.d/syslog-ng

    log { source(src); filter(f_mail); destination(zmail); }; # zimbra
    destination local0 { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
    log { source(src); filter(f_local0); destination(local0); }; # zimbra
    log { source(src); filter(f_local1); destination(zmstats); }; # zimbra
    filter f_auth { facility(auth); }; # zimbra
    destination zmauth { file("/var/log/zimbra.log" owner("zimbra") ); }; # zimbra
    log { source(src); filter(f_auth); destination(zmauth); }; # zimbra

    If I comment all lines contain "source(src)", syslog-ng start OK. But log will not output to zimbra.log
    Help me resolve this issue.

    Thanks a lot
    Last edited by vulagio; 03-22-2010 at 11:29 AM.

  2. #2
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    477 Congress Street | Portland, ME 04101
    Rep Power


    I'm guessing you are hand editing your syslog-ng file?

    If so, you need to define the source called "src". You'll need a section in /etc/syslog-ng/syslog-ng.conf that looks like:

    source src {
    	# include internal syslog-ng messages
    	# note: the internal() soure is required!
    	# the following line will be replaced by the
    	# socket list generated by SuSEconfig using
    	# variables from /etc/sysconfig/syslog:
    	# uncomment to process log messages from network:
    	udp(ip("") port(514));

    Hope that helps,

    P.S. There are several open bugs in bugzilla relating to the various syslog engines, and in those bugs are examples of working syslog-ng.conf files.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ubuntu 8.04 Lts Zimbra 5.0.14 Ldap Problem
    By rkrojero in forum Installation
    Replies: 10
    Last Post: 04-20-2009, 11:58 PM
  2. Invert split domain configuration or stop it
    By fmodola in forum Administrators
    Replies: 0
    Last Post: 08-20-2008, 02:44 AM
  3. [SOLVED] Build Zimbra..a little problem...
    By Abdelmonam Kouka in forum Developers
    Replies: 33
    Last Post: 05-22-2008, 05:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts