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!

pure-ftpd.pid: No such file or directory error

Discussion in 'General Discussion' started by Fireminds Ltd., Sep 11, 2017.

Tags:
  1. Fireminds Ltd.

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hamilton, Bermuda
    cPanel Access Level:
    Root Administrator
    Hi there,

    I keep getting these alerts everyday multiple times a day! I have confirmed that the file IS indeed there:


    ALERT:
    ====================================
    cat: /var/run/pure-ftpd.pid: No such file or directory

    kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]


    [root@servername run]# ls -lat pure*
    -rw-r--r-- 1 root root 6 Sep 11 06:50 pure-ftpd.pid
    -rw-r--r-- 1 root root 6 Sep 11 06:50 pure-authd.pid

    What to do to stop these? The email comes from Cron and the title is:

    /usr/local/cpanel/3rdparty/bin/php /usr/share/ilabs_antimalware/cron/cronjobs.php

    ilabs_antimalware is Pyxsoft AntiMalware.
     
  2. sysdop

    sysdop Member

    Joined:
    Sep 10, 2017
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    International
    cPanel Access Level:
    Root Administrator
    Sure you are using an other FTP server to switch to pure that you are not detecting the plugin. It is recommended that you install pure-ftp and installed it as you run the command /usr/local/cpanel/scripts/check_cpanel_rpms --fix to solve the incident or otherwise reinstall the plugin.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Are you able to reproduce the issue when manually running that command via SSH as the account username it's created under? Are you using any third-party applications such as CageFS on this system?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Fireminds Ltd.

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hamilton, Bermuda
    cPanel Access Level:
    Root Administrator
    I ran the command above as root. All seemed okay..... I now have the same issue. Getting that alert every 10 minutes.

    I have Pure-FTPD selected as my FTP Server.... the file exists in /var/run/pure-ftpd.pid but it says it doesn't exist! I don't get it....
     

    Attached Files:

    • FTP.JPG
      FTP.JPG
      File size:
      41.5 KB
      Views:
      6
  5. Fireminds Ltd.

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hamilton, Bermuda
    cPanel Access Level:
    Root Administrator
    I just checked again.... pure-ftpd.pid is no longer in that folder!

    I have ALSO been getting alerts of FTPD failing, then recovering 5 min later:

    Service Check Raw Output
    The subprocess “/usr/local/cpanel/scripts/restartsrv_ftpd” reported error number 9 when it ended.

    Startup Log Starting pure-config.pl: [ OK ]
    Starting pure-authd:

    Log Messages Sep 14 22:55:01 server01 pure-ftpd: (__cpanel__service__auth__ftpd__JHJJRYUF6GEjUrmfPhexJgYUeb0Oyky1XGF5qhDzlN_Xbwp5YQ8wroJopYdLXtaZ@127.0.0.1) [INFO] Logout.
    Sep 14 22:55:01 server01 pure-ftpd: (?@127.0.0.1) [INFO] __cpanel__service__auth__ftpd__JHJJRYUF6GEjUrmfPhexJgYUeb0Oyky1XGF5qhDzlN_Xbwp5YQ8wroJopYdLXtaZ is now logged in
    Sep 14 22:55:01 server01 pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Sep 14 22:49:59 server01 pure-ftpd: (__cpanel__service__auth__ftpd__JHJJRYUF6GEjUrmfPhexJgYUeb0Oyky1XGF5qhDzlN_Xbwp5YQ8wroJopYdLXtaZ@127.0.0.1) [INFO] Logout.
    Sep 14 22:49:59 server01 pure-ftpd: (?@127.0.0.1) [INFO] __cpanel__service__auth__ftpd__JHJJRYUF6GEjUrmfPhexJgYUeb0Oyky1XGF5qhDzlN_Xbwp5YQ8wroJopYdLXtaZ is now logged in
     
  6. sysdop

    sysdop Member

    Joined:
    Sep 10, 2017
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    International
    cPanel Access Level:
    Root Administrator
    Try removing the service and then reinstalling it. If this does not work, this command line may save your life:

    /usr/local/cpanel/scripts/check_cpanel_rpms --fix
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature if the service continues to fail and we can take a closer look.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Fireminds Ltd.

    Joined:
    Feb 22, 2017
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hamilton, Bermuda
    cPanel Access Level:
    Root Administrator
    Opened a ticket..... even after updating the file in /etc/cron.d/ and restarting crond service it still alerts every 10 min! grrr...
     
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