Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Pure-FTPd Couldn't load the DH parameters file

Discussion in 'General Discussion' started by Spirogg, Feb 21, 2018.

  1. Spirogg

    Spirogg Member

    Joined:
    Feb 21, 2018
    Messages:
    23
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    chicago
    cPanel Access Level:
    Root Administrator
    hi, I just installed WHM/Cpanel on my server : Centos 7

    when I go to Home >> Service Configuration >> FTP Server Selection

    I selected Pure-FTPD and hit Save

    then I got these errors in the logs below.

    I get 2 errors I am not sure how to fix these issues?

    Feb 21 03:02:14 server.xxxxx.com systemd[1]: tailwatchd.service: Supervising process 11108 which is not our child. We'll most likely not notice when it exits.

    Feb 21 03:02:16 server.xxxxx.com pure-ftpd[11312]: (?@?) [DEBUG] Couldn't load the DH parameters file /etc/ssl/private/pure-ftpd-dhparams.pem

    here is log
    Code:
    
    FTP Configuration
    Installing new FTP server.
    Disabling Chksrvd monitoring
    Waiting for “tailwatchd” to restart ………waiting for “tailwatchd” to initialize ………finished.
    
    Service Status
    tailwatchd (tailwatchd) is running as root with PID 11108 (systemd+/proc check method).
    tailwatchd (tailwatchd) running as root with PID 11108 (process table check method)
    tailwatchd (tailwatchd) running as root with PID 11108 (process table check method)
    
    Startup Log
    Feb 21 03:02:14 server.xxxxx.com systemd[1]: Starting tailwatchd...
    Feb 21 03:02:14 server.xxxxx.com restartsrv_tailwatchd[11101]: [Wed Feb 21 03:02:14 2018] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
    Feb 21 03:02:14 server.xxxxx.com restartsrv_tailwatchd[11101]: Log is at /usr/local/cpanel/logs/tailwatchd_log
    Feb 21 03:02:14 server.xxxxx.com systemd[1]: tailwatchd.service: Supervising process 11108 which is not our child. We'll most likely not notice when it exits.
    Feb 21 03:02:14 server.xxxxx.com systemd[1]: Started tailwatchd.
    
    Startup Log
    Feb 21 03:02:14 server.xxxxx.com systemd[1]: Starting tailwatchd...
    Feb 21 03:02:14 server.xxxxx.com restartsrv_tailwatchd[11101]: [Wed Feb 21 03:02:14 2018] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
    Feb 21 03:02:14 server.xxxxx.com restartsrv_tailwatchd[11101]: Log is at /usr/local/cpanel/logs/tailwatchd_log
    Feb 21 03:02:14 server.xxxxx.com systemd[1]: tailwatchd.service: Supervising process 11108 which is not our child. We'll most likely not notice when it exits.
    Feb 21 03:02:14 server.xxxxx.com systemd[1]: Started tailwatchd.
    
    tailwatchd restarted successfully.
    
    Halting pure-ftpd
    
    Disabling pure-ftpd in init system
    
    Switching FTP server to pure-ftpd
    
    Updating FTP related RPMs
    
    Enabling pure-ftpd in init system
    Waiting for “pureftpd” to start ……waiting for “pureftpd” to initialize ………finished.
    
    Service Status
    pure-ftpd (pure-ftpd (SERVER)) is running as root with PID 11312 (systemd+/proc check method).
    
    Startup Log
    Feb 21 03:02:16 server.xxxxx.com systemd[1]: Started Pure-FTPd.
    Feb 21 03:02:16 server.xxxxx.com systemd[1]: Starting Pure-FTPd...
    Feb 21 03:02:16 server.xxxxx.com pure-ftpd[11312]: (?@?) [DEBUG] Couldn't load the DH parameters file /etc/ssl/private/pure-ftpd-dhparams.pem
    
    pureftpd started successfully.
    Startup Log
    Feb 21 03:02:16 server.xxxxx.com systemd[1]: Started Pure-FTPd.
    Feb 21 03:02:16 server.xxxxx.com systemd[1]: Starting Pure-FTPd...
    Feb 21 03:02:16 server.xxxxx.com pure-ftpd[11312]: (?@?) [DEBUG] Couldn't load the DH parameters file /etc/ssl/private/pure-ftpd-dhparams.pem
    
    pureftpd started successfully.
    1
    Enabling chksrvd monitoring
    Waiting for “tailwatchd” to restart ………waiting for “tailwatchd” to initialize ………finished.
    
    Service Status
    tailwatchd (tailwatchd) is running as root with PID 11337 (systemd+/proc check method).
    tailwatchd (tailwatchd) running as root with PID 11337 (process table check method)
    tailwatchd (tailwatchd) running as root with PID 11337 (process table check method)
    
    Startup Log
    Feb 21 03:02:17 server.xxxxx.com systemd[1]: Starting tailwatchd...
    Feb 21 03:02:18 server.xxxxx.com restartsrv_tailwatchd[11332]: [Wed Feb 21 03:02:18 2018] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
    Feb 21 03:02:18 server.xxxxx.com restartsrv_tailwatchd[11332]: Log is at /usr/local/cpanel/logs/tailwatchd_log
    Feb 21 03:02:18 server.xxxxx.com systemd[1]: tailwatchd.service: Supervising process 11337 which is not our child. We'll most likely not notice when it exits.
    Feb 21 03:02:18 server.xxxxx.com systemd[1]: Started tailwatchd.
    
    Startup Log
    Feb 21 03:02:17 server.xxxxx.com systemd[1]: Starting tailwatchd...
    Feb 21 03:02:18 server.xxxxx.com restartsrv_tailwatchd[11332]: [Wed Feb 21 03:02:18 2018] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
    Feb 21 03:02:18 server.xxxxx.com restartsrv_tailwatchd[11332]: Log is at /usr/local/cpanel/logs/tailwatchd_log
    Feb 21 03:02:18 server.xxxxx.com systemd[1]: tailwatchd.service: Supervising process 11337 which is not our child. We'll most likely not notice when it exits.
    Feb 21 03:02:18 server.xxxxx.com systemd[1]: Started tailwatchd.
    
    tailwatchd restarted successfully.
    
    FTP server conversion complete
    
    
    Thanks if anyone can explain why its throwing these errors and how to fix them

    Spiro
     
    #1 Spirogg, Feb 21, 2018
    Last edited by a moderator: Feb 21, 2018
  2. Spirogg

    Spirogg Member

    Joined:
    Feb 21, 2018
    Messages:
    23
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    chicago
    cPanel Access Level:
    Root Administrator
    Also when restarting FTP i get this error

    Restarting FTP Server

    Waiting for “pureftpd” to restart ………waiting for “pureftpd” to initialize ………finished.

    Service Status
    pure-ftpd (pure-ftpd (SERVER)) is running as root with PID 19769 (systemd+/proc check method).

    Startup Log
    Feb 21 03:29:51 server.xxxx.com systemd[1]: Started Pure-FTPd.
    Feb 21 03:29:51 server.xxxx.com systemd[1]: Starting Pure-FTPd...
    Feb 21 03:29:51 server.xxxx.com pure-ftpd[19769]: (?@?) [DEBUG] Couldn't load the DH parameters file /etc/ssl/private/pure-ftpd-dhparams.pem

    Startup Log
    Feb 21 03:29:51 server.xxxx.com systemd[1]: Started Pure-FTPd.
    Feb 21 03:29:51 server.xxxx.com systemd[1]: Starting Pure-FTPd...
    Feb 21 03:29:51 server.xxxx.com pure-ftpd[19769]: (?@?) [DEBUG] Couldn't load the DH parameters file /etc/ssl/private/pure-ftpd-dhparams.pem

    pureftpd restarted successfully.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    1. Try running the following commands to see if it solves this issue:

    Code:
    openssl dhparam -out /etc/ssl/private/pure-ftpd-dhparams.pem 2048
    /scripts/restartsrv_pureftpd
    2. As far as tailwatchd, the restart should have solved that issue. If not, please open a separate forums thread and include the output from the following command:

    Code:
    ps aux|grep tailwatch
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Spirogg

    Spirogg Member

    Joined:
    Feb 21, 2018
    Messages:
    23
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    chicago
    cPanel Access Level:
    Root Administrator
    hi ok thanks for this code

    it solved the one issue
    openssl dhparam -out /etc/ssl/private/pure-ftpd-dhparams.pem 2048
    /scripts/restartsrv_pureftpd

    i posted another thread for the other issue here

    just incase someone else has this issue

    Spiro
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice