[syslog-ng]Error message: No source refers to internal messages,

Nate Campi syslog-ng@lists.balabit.hu
Mon, 30 Jun 2003 00:59:37 -0700


On Fri, Jun 27, 2003 at 12:36:31PM -0400, R Saroukhanian wrote:
> 
> I made changes which both of you pointed out.
> However, my error message persists.
> 
> That is I am still getting 
> " No source refers to internal messages, they will go to /dev/null
>  unresolved reference:src
>  Error initializing configuration, exiting." error message
> 
> Now, after the recommended changes, my syslog-ng.conf file looks like this:
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> options {sync(0); };
> source src {
>             udp(10.101.54.2) port(514); 
> 	      internal();
> };
> 
> destination telnet_d {file ("/var/log/telnetlog"); } ;
> log {source (src);  destination (telnet_d); };
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I think it's the bad udp source, you're missing parentheses:

	udp(10.101.54.2) port(514); 

It needs to be:

	udp(ip("10.0.5.8") port(514));
-- 
Nate Campi    http://www.campin.net