1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PrpFTPD problem

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by EleftheriosN, Jul 21, 2011.

  1. EleftheriosN

    EleftheriosN Guest

    0
     
    Until recently I was using mozilla to FTP via proftpd files to site.
    I am on Plesk 9.2.3

    Recently i read that proftpd 1.3.1 that is installed on the server had security problems and as i was
    unsure to upgrade to plesk, everytime i wanted to upload files i went to ssh and used the commands
    service proftpd start or stop to start or stop the proftpd service

    today when i went to do the same i took the reply from server: proftpd: unrecognized service
    The strange is that even with this reply the proftpd service works as i get from filezilla the reply:

    Status: Resolving address of www.******
    Status: Connecting to **.**.***.** :21
    Status: Connection established, waiting for welcome message...
    Response: 220 ProFTPD 1.3.1 Server (ProFTPD)

    I used top command and when i upload something i see a service in.proftpd running

    I run the command: netstat -tnlp and i saw
    tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 16945/xinetd

    so my proftpd is controlled from xined.

    but why the service proftpd does not work anymore?


    what has happened? can you help me please ?

    I restart xined service but with no results

    Thanks in advance
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Sorry, but what is the problem? Do you have open 21 ftp port? Do you have any problems with uploading files via ftp? What sort of problem? Could you please clarify? Problem in that you can't restart proftpd service by xinetd? Or what?
     
  3. EleftheriosN

    EleftheriosN Guest

    0
     
    Hi Igor,

    The problem is that with no reason the command service proftpd start/stop/status does not work anymore.

    Actually there is no problem uploading files, but i wanted to disable the FTP service manually via SSH when I was not using the FTP

    and i was curious to learn the reason of this change (for learning purposes)
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,547
    Likes Received:
    1,240
    Location:
    Novosibirsk, Russia
    Set

    disable = yes

    in /etc/xinetd.d/ftp_psa
     
  5. EleftheriosN

    EleftheriosN Guest

    0
     
    I did it, i restart xinetd , but again the FTP works but no proftpd service works.
    Again when i upload the in.proftpd is the program that works


    Please click one of the Quick Reply icons in the posts above to activate Quick Reply
    .disable = yes
    socket_type = stream
    protocol = tcp
    wait = no
    user = root
    instances = UNLIMITED
    server = /usr/sbin/in.proftpd
    server_args = -c /etc/proftpd.conf
    }
     
  6. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    proftpd is controlled through xinetd, which means that xinetd spawns it as an on demand service - whenever a connection attempt comes in xinetd starts up the proftpd stuff and allows the connection in.

    There is no need to have it setup as a dedicated service now.
     
Loading...