LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-29-2012, 12:05 PM   #1
njh@bandsman.co.uk
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
syslog-ng not listening


For some reason syslog-ng isn't listening on the port I tell it to. I must have done something wrong but I can't work it out. This is to be a central syslog server collecting logs from clients. I need to get the server working before I can try clients. This is Debian 7.0.

Any help would be appreciated:

compaq:/etc/syslog-ng# fgrep 127 syslog-ng.conf
source s_net { tcp(ip(127.0.0.1) port(1000)); udp(); };
compaq:/etc/syslog-ng#

compaq:/etc/syslog-ng# nmap localhost

Starting Nmap 6.00 ( http://nmap.org ) at 2012-12-29 13:00 EST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000010s latency).
Not shown: 983 closed ports
PORT STATE SERVICE
7/tcp open echo
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
111/tcp open rpcbind
139/tcp open netbios-ssn
143/tcp open imap
445/tcp open microsoft-ds
631/tcp open ipp
901/tcp open samba-swat
993/tcp open imaps
2049/tcp open nfs
3128/tcp open squid-http
8080/tcp open http-proxy
32778/tcp open sometimes-rpc19

22/tcp open ssh
25/tcp open smtp
 
Old 12-31-2012, 11:59 AM   #2
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 308

Rep: Reputation: 50
Looks like you haven't configured syslog-ng to listen to anything other than the loopback adapter. You will want to configure it to listen on an interface on the machine.

The makers of syslog-ng have a pretty extensive of online documentation, but here is a link to a more directly related section of the documentation:

http://www.balabit.com/sites/default...l/sources.htmlhttp://www.balabit.com/sites/default...l/sources.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syslog-ng -> syslog-ng logging, how to troubleshoot sir-lancealot Linux - Server 1 01-24-2009 06:07 AM
I need help getting syslog to log remotely, this is just the regular syslog. abefroman Linux - Software 2 06-05-2008 11:36 AM
syslog client to log to syslog-ng and itself noir911 Linux - Server 1 02-08-2008 09:51 AM
LXer: Centralized Syslog Server Using syslog-NG LXer Syndicated Linux News 0 04-28-2006 06:21 PM
is syslog listening? cuss Linux - Security 4 12-19-2002 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration