[BlueOnyx:01628] Re: FTP default directory

Jeff Folk jefffolk at mac.com
Fri Jul 10 12:34:25 -05 2009


On Jul 10, 2009, at 10:59 AM, Michael Stauber wrote:

> Hi Tjerk,
>
>>> port already in use?
>>
>> If that's the original configuration and you say that should work,  
>> any idea
>> why it doesn’t work for me? And.. is FTP not a socket ip-to-ip..  
>> does the
>> ftp client send the hostname in the request?
>>
>> Is this problem related to the warnings I have in my messages log:
>> Jun 29 21:34:28 server3 proftpd[15958]: warning: "ProFTPD" address/ 
>> port
>> (:21) already in use by "ProFTPD server"
>
> There are two ways how one can use ProFTPd:
>
> 1.) Through XINETd (default for BlueOnyx)
>
> 2.) Stand alone deamon.
>
> I guess you may somehow managed to enable both medthods, which now  
> cause those
> error messages.
>
> Check your /etc/proftpd.conf
>
> Make sure the line "ServerType" looks like this:
>
> ServerType                      inetd
>
> It should *NOT* read:
>
> ServerType                     standalone
>
> Then - for good measure - run:
>
> /sbin/chkconfig --level 2345 proftpd off
> /etc/init.d/proftpd stop
> /etc/init.d/xinetd restart
>
> If (and only if!) your FTP service is not running afterwards, go to  
> the
> BlueOnyx GUI, disable FTP services, save the changes and then enable  
> it and
> save the changes again. That should fix it.
>
> -- 
> With best regards
>
> Michael Stauber

Something else has to be going on... I've gone through everything  
again and my proftpd IS running in xinetd:

> # This is the ProFTPD configuration file
> # $Id: proftpd.conf,v 1.1 2004/02/26 17:54:30 thias Exp $
>
> ServerName                      "ProFTPD server"
> ServerIdent                     on "FTP Server ready."
> ServerAdmin                     root at localhost
> #ServerType                     standalone
> ServerType                      inetd

Did the other stuff in shell:

> [root at box1 ~]# /sbin/chkconfig --level 2345 proftpd off
> [root at box1 ~]# /etc/init.d/proftpd stop
> Shutting down proftpd:                                     [FAILED]
> [root at box1 ~]# /etc/init.d/xinetd restart
> Stopping xinetd:                                           [  OK  ]
> Starting xinetd:                                           [  OK  ]

I take it that stopping the standalone server failed because it wasn't  
running. Still I have these lines in my logwatch mailing every day:

> --------------------- proftpd-messages Begin ------------------------
>
>
> **Unmatched Entries**
> warning: "ProFTPD" address/port (75.14.24.114:21) already in use by  
> "ProFTPD server"
> warning: "ProFTPD" address/port (75.14.24.114:21) already in use by  
> "ProFTPD server"
> warning: "ProFTPD" address/port (75.14.24.114:21) already in use by  
> "ProFTPD server"
> warning: "ProFTPD" address/port (75.14.24.114:21) already in use by  
> "ProFTPD server"
> warning: "ProFTPD" address/port (75.14.24.114:21) already in use by  
> "ProFTPD server"
> warning: "ProFTPD" address/port (75.14.24.114:21) already in use by  
> "ProFTPD server"

Around 100 of them EVERY day.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20090710/812957fa/attachment.html>


More information about the Blueonyx mailing list