Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Redirecting a log file to a TCP port

    Hi Guys,

    I have hopefully an easy question for you all. I am in the final stages of setting up a slackware server, and I am in the need of a little help.

    I would like to do is set up some sort of process to have the the /var/log/messages file redirect to a tcp network port. What I would like to be able to do is telnet to a non-standard port and have the log show up.

    Is this even possible, and if so how should I go about going about this?

    Thanks in advance for all the help!

  2. #2
    Well, i'm not sure it'll be possible.

    But there are several ways to check your logs:

    SSH to your server and look them
    use special programs, such as Webmin
    and so on..

    But well, I need much precision about what you want to do. And one tip: use SSH instead of telnet. :P


  3. #3
    Sounds like you need to write some sort of script. Or you can use ssh as someone mentioned aboved.

  4. $spacer_open

Posting Permissions

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