• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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