The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

proftpd logging

Discussion in 'General Discussion' started by Daniz, Apr 23, 2005.

  1. Daniz

    Daniz Member

    Joined:
    Apr 1, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hi all, I've tried searching but couldn't find my answer anywhere so I hope that someone here could help me out.
    Basicly it's the annoying messages that a script in 'probably' WHM checks to see if the ftpd is alive. The output is something like this:

    Apr 23 12:38:13 proftpd[13964]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP login timed out, disconnected
    Apr 23 12:38:13 proftpd[13964]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP session closed.
    Apr 23 12:46:43 proftpd[30657]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP login timed out, disconnected
    Apr 23 12:46:43 proftpd[30657]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP session closed.
    FTP login timed out, disconnected
    Apr 23 12:55:13 proftpd[22816]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP login timed out, disconnected
    Apr 23 12:55:13 proftpd[22816]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP session closed.
    Apr 23 12:58:40 proftpd[18648]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP session opened.
    Apr 23 12:58:40 proftpd[18648]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP session closed.
    Apr 23 13:07:00 proftpd[5731]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP session opened.
    Apr 23 13:07:00 proftpd[5731]: xxx.xxx.net (127.0.0.1[127.0.0.1]) - FTP session closed.


    I removed the checks from the chkservd so it's not there.. Hope someone knows what script calls these functions...


    Thanks in advance
     
    #1 Daniz, Apr 23, 2005
    Last edited: Apr 23, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That is indeed chkservd. You probably have not removed it fully. If you're happy to have ftp fall over and not restart, then you could try:

    rm -f /etc/chkserv.d/proftpd
    rm -f /var/run/chkservd/ftpd
    service chkservd restart
     
  3. Daniz

    Daniz Member

    Joined:
    Apr 1, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the help chirpy. Just found a way to direct the ftp-logs to an external file which made it more effective...
     
Loading...

Share This Page