Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2019-10-20, 08:50:31

Author Topic: Pure-FTPd doesn't start after update  (Read 563 times)

0 Members and 1 Guest are viewing this topic.

Offline idove

  • Valuable Member
  • *
  • Posts: 139
  • Karma: +0/-0
    • View Profile
Pure-FTPd doesn't start after update
« on: 2019-07-04, 18:43:27 »
After server update/upgrade I noticed also that pureftpd also doesn't startup.

Code: [Select]
systemctl status pure-ftpd
? pure-ftpd.service - Pure-FTPd FTP server
   Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; enabled; vendor preset: disabled)
   Active: activating (start) since Thu 2019-07-04 18:41:38 CEST; 3s ago
  Process: 25685 ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf --daemonize (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/pure-ftpd.service
           ??25686 /usr/sbin/pure-ftpd --daemonize -A -c5000 -B -C8 -D -fftp -H -I15 -lpuredb:/etc/pure-ftpd/pureftpd.pdb -lpam -L1...

Srp 04 18:41:38 server.mo**er.info systemd[1]: Starting Pure-FTPd FTP server...
Srp 04 18:41:38 server.mo**er.info systemd[1]: Failed to read PID from file /var/run/pure-ftpd.pid: Invalid argument


Offline idove

  • Valuable Member
  • *
  • Posts: 139
  • Karma: +0/-0
    • View Profile
Re: Pure-FTPd doesn't start after update
« Reply #1 on: 2019-07-04, 18:53:20 »
Solved with:

# /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/pure-ftpd.conf

and then

# systemctl start pure-ftpd


Found "similar" solution here, just different folder for pure-ftpd.conf
https://forums.cpanel.net/threads/ftp-failed-to-restart.542941/#post-2192141
« Last Edit: 2019-07-04, 18:59:24 by idove »

Offline dfreddie

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Pure-FTPd doesn't start after update
« Reply #2 on: 2019-07-08, 15:45:40 »
Solved with:

#

and then

# systemctl start pure-ftpd


Found "similar" solution here, just different folder for pure-ftpd.conf
https://forums.cpanel.net/threads/ftp-failed-to-restart.542941/#post-2192141

I've had problems with pureFTP for more then a year. After every server restart or "sh /script/cleanup" I've had to run manually "/usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/pure-ftpd.conf".

Offline idove

  • Valuable Member
  • *
  • Posts: 139
  • Karma: +0/-0
    • View Profile
Re: Pure-FTPd doesn't start after update
« Reply #3 on: 2019-07-08, 16:00:59 »
Yes,
this is now must do, after cleanup :).
I forget to do it again after update/cleanup and pure-ftpd doesn't work, anyway tnx for response.

Maybe mratwork can analyze and add this line to cleanup script or similar, tnx.
« Last Edit: 2019-07-08, 19:28:46 by idove »

Offline dfreddie

  • Valuable Member
  • *
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: Pure-FTPd doesn't start after update
« Reply #4 on: 2019-07-12, 21:12:44 »
Right now is not even starting with "/usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/pure-ftpd.conf" trick!!! >:( >:(

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,767
  • Karma: +119/-10
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Pure-FTPd doesn't start after update
« Reply #5 on: 2019-07-13, 01:15:44 »
Try to go to 'FTP configure' and then click 'update'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline idove

  • Valuable Member
  • *
  • Posts: 139
  • Karma: +0/-0
    • View Profile
Re: Pure-FTPd doesn't start after update
« Reply #6 on: 2019-09-20, 10:50:27 »
Ok, I noticed that after server reboot I still need to do:

# /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/pure-ftpd.conf
# systemctl restart pure-ftpd

Anyway, it is not big problem, but it will be good if it will be solved somehow soon.
tnx.
« Last Edit: 2019-10-18, 10:31:19 by idove »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.043 seconds with 21 queries.

web stats analysis