• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Stop FTP Service

LloydD

Basic Pleskian
Hi guys,
how do I stop the FTP service, I have tried

/etc/init.d/proftpd stop
and
/etc/init.d/psa-proftpd stop

but neither worked.
I am using Ubuntu 10.04 LTS x64 and Plesk 10.0.1.
Thanks in advance for any help
Regards

Lloyd
 
In file /etc/xinetd.d/ftp_psa change

disable = no

to

disable = yes

and restart xinetd sevice.
 
How would I do this through SSH please, I have never edited a file through SSH. Or can I download the file edit it and upload it again without breaking anything?
Thanks in advance for your help
Kind regards

Lloyd
 
Login to server via ssh and edit file with vi editor, for example.
 
I need to start the proftp service again so I have change the above back but it's not running after a restart of xinetd.
How do I start it again.
This is urgent as I need to set up the ftp for a developer.
Thanks in advance for any help
Kind regards

Lloyd
 
Last edited:
Do you have following content of /etc/xinetd.d/ftp_psa ?

service ftp
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
instances = UNLIMITED
server = /usr/sbin/in.proftpd
server_args = -c /etc/proftpd.conf
}

Did you check

# lsof -i tcp:21

after

# /etc/init.d/xinetd restart
 
What sort of messages about xinetd service and restarting in /var/log/messages log file?
 
Hi again,
no there's absolutly nothing in the messages file just ..

Apr 6 07:24:40 host -- MARK --
Apr 6 07:44:40 host -- MARK --
Apr 6 08:04:40 host -- MARK --
Apr 6 08:24:40 host -- MARK --
Apr 6 08:44:40 host -- MARK --
Apr 6 09:04:40 host -- MARK --
Apr 6 09:24:40 host -- MARK --
Apr 6 09:44:40 host -- MARK --
Apr 6 10:04:40 host -- MARK --

Thanks in advance for any help
Kind regards

Lloyd
 
Sorted - when I had disabled it I had used PPP File Manager to edit the file so I had to run dos2unix on the psa_ftp file and restart xinetd and it was fine.

All together "D'OH"
 
To turn off (i.e. disable) ftp in Plesk, I just did:

Code:
chkconfig ftp_psa off

That made the above change in the config file and restarted xinetd for me, without having to do either manually.

Is there a reason why the chkconfig method is a bad idea?

TN
 
In file /etc/xinetd.d/ftp_psa change

disable = no

to

disable = yes

and restart xinetd sevice.

That file has a header that says this:

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST AFTER YOU UPGRADE PARALLELS PLESK PANEL.

So is there a new way to do this now?
 
You can try to use:

[root@ppu12-5 ~]# chkconfig --list | grep ftp_psa
ftp_psa: on

[root@ppu12-5 ~]# chkconfig ftp_psa off

[root@ppu12-5 ~]# chkconfig --list | grep ftp_psa
ftp_psa: off
 
Back
Top