Find the answer to your Linux question:
Results 1 to 8 of 8
I want to setup my Ubuntu 8.04 box as a syslog server. First I need it to listen for "remote" syslogs. I edited /etc/init.d/sysklogd to accomplish this purpose. I changed ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    May 2007
    Posts
    106

    Syslog Server Setup


    I want to setup my Ubuntu 8.04 box as a syslog server. First I need it to listen for "remote" syslogs. I edited /etc/init.d/sysklogd to accomplish this purpose. I changed

    SYSLOGD=""
    to
    SYSLOGD="-r -m0"

    Then I did a netstat -tulp but I don't see anything on 514. In fact, I don't see anything different from earlier at all. What gives?

    By editing the file /etc/syslog.conf I was able to change the location of my local system's logs, but I want this system to listen for remote logs.

    Any ideas?

  2. #2
    Just Joined! wildpossum's Avatar
    Join Date
    Apr 2008
    Location
    Sydney/Australia
    Posts
    92
    Have you tried "telenet localhost 514" to see if you systems port service responds (it may be running and your missed it with netstat) ?

  3. #3
    Linux Newbie
    Join Date
    May 2007
    Posts
    106
    It looks like it's not running

    telnet localhost 514

    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused


    I restarted the service also. I forgot to mention that earlier.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    May 2007
    Posts
    106
    Can anyone offer any help???

    Everything I read online says this process should be a snap. I don't get what I'm missing.

  6. #5
    Linux Newbie
    Join Date
    May 2007
    Posts
    106
    I'm not going to give up on this thread. Somebody throw me a bone...at least give me a hint!

  7. #6
    Linux Newbie
    Join Date
    May 2007
    Posts
    106
    hmmm... I guess I am going to give up on this thread, since nobody is replying...
    Last edited by charlie205; 07-02-2008 at 01:19 PM. Reason: typo

  8. #7
    Just Joined!
    Join Date
    Sep 2007
    Location
    Lafayette, IN
    Posts
    83
    It looks like your firewall doesn't allow connections to that port. Can you post the output of
    Code:
    sudo iptables -L

  9. #8
    Linux Newbie
    Join Date
    May 2007
    Posts
    106
    sudo iptables -L

    outputs:

    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

Posting Permissions

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