ajc80, Sunday, January 29, 2006, 3:30:27 PM, you wrote:
Hello,
I'm a newbie to syslog-ng, I have followed the instructions and used and altered the necessary examples to suit my directory structures, so my syslog messages are dumped in to mysql database.
When starting syslog-ng I get the following messages:
# /etc/init.d/syslog-ng start Starting MySQL pipe... Starting syslog-ng... Warning: No source refers to internal messages, they'll go to /dev/null unresolved reference: inputs Error initializing configuration, exiting.
The "No source refers to internal messages...." message I understand.
The "unresolved reference: inputs" I don't and can't seem to find anything in the archives.
Looking through your conf file I don't see an inputs source - except the commented out Solaris one.
I've included the syslog-ng.conf file and the mysql.pipe file below.
Any help would be appreciated.
Thanks,
Adrian.
##################################################################### # Define syslog input stream # This is specific to Solaris 9
# source inputs { internal(); # sun-streams("/dev/log" door("/var/run/syslog_door")); # tcp(max_connections(1000)); };
# For newer versions of Linux (Debian GNU/Linux woody, # and RedHat Linux post 7.0) # source stdlog { unix-dgram("/dev/log"); };
As above. I am a newbie myself so I am probably talking through my hat anyway ;) -- Best regards, David mailto:dma@pern.co.uk