Support » Fixing WordPress » PHP-FPM , ENOENT, (There is no such file or directory_

  • olr77

    (@olr77)


    I have received logs of our website from hosting from the opening of the front page on the front, there are many requests for files that do not exist. I suspect a lot of files from uninstalled plugins, but also a lot of missing files like stripe or cf7 modules that we didn’t use.
    I am using the autoptomize plugin and redis. What could be the problem and how to get rid of it?

    This is an example log list:

       0.000028 stat("/home/webdev/public_html/wp-content/plugins/wp-all-export-pro/libraries/googlesitemapgeneratorloader.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 stat("/home/webdev/public_html/wp-content/plugins/wp-all-export-pro/libraries/GoogleSitemapGeneratorLoader.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 stat("/home/webdev/public_html/wp-content/plugins/wpai-woocommerce-add-on/libraries/googlesitemapgeneratorloader.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 stat("/home/webdev/public_html/wp-content/plugins/wpai-woocommerce-add-on/libraries/GoogleSitemapGeneratorLoader.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000023 stat("/home/webdev/public_html/wp-content/plugins/wp-all-export-pro/libraries/tiny/plugin.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 stat("/home/webdev/public_html/wp-content/plugins/wp-all-export-pro/libraries/Tiny/Plugin.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 stat("/home/webdev/public_html/wp-content/plugins/wpai-woocommerce-add-on/libraries/tiny/plugin.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 stat("/home/webdev/public_html/wp-content/plugins/wpai-woocommerce-add-on/libraries/Tiny_Plugin.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000053 stat("/home/webdev/public_html/wp-content/plugins/wp-all-export-pro/libraries/jetpack.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000018 stat("/home/webdev/public_html/wp-content/plugins/wp-all-export-pro/libraries/Jetpack.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000017 stat("/home/webdev/public_html/wp-content/plugins/wpai-woocommerce-add-on/libraries/jetpack.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 stat("/home/webdev/public_html/wp-content/plugins/wpai-woocommerce-add-on/libraries/Jetpack.php", 0x7ffc87e09740) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 lstat("/home/webdev/public_html/acceptance/acceptance.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000017 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/acceptance/acceptance.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/acceptance.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/akismet/akismet.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/akismet/akismet.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/akismet.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/checkbox/checkbox.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/checkbox/checkbox.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/checkbox.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/constant-contact/constant-contact.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/constant-contact/service.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/constant-contact/contact-post-request.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/constant-contact/contact-form-properties.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/count/count.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/count/count.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/count.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/date/date.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/date/date.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/date.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/disallowed-list/disallowed-list.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/disallowed-list/disallowed-list.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/disallowed-list.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/file/file.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/file/file.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/file.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/flamingo/flamingo.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/flamingo/flamingo.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/flamingo.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/hidden/hidden.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/hidden/hidden.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/hidden.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 lstat("/home/webdev/public_html/listo/listo.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/listo/listo.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/listo.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/number/number.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/number/number.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/number.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/quiz/quiz.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/quiz/quiz.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/quiz.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/really-simple-captcha/really-simple-captcha.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/really-simple-captcha/really-simple-captcha.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/really-simple-captcha.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/recaptcha/recaptcha.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/response/response.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/response/response.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/response.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/select/select.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/select/select.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/select.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/sendinblue/sendinblue.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/sendinblue/service.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/sendinblue/contact-form-properties.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/stripe/stripe.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/stripe/service.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/stripe/api.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/submit/submit.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/submit/submit.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000018 lstat("/home/webdev/public_html/submit.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/text/text.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/text/text.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/text.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/textarea/textarea.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000014 access("/home/webdev/public_html/wp-content/plugins/contact-form-7/modules/textarea/textarea.php", F_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/textarea.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000067 stat("/home/webdev/public_html/wp-content/languages/wpml/drag-and-drop-multiple-file-upload-contact-form-7-pl_PL.mo", 0x7ffc87e09bc0) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000041 access("/home/webdev/public_html/wp-content/languages/plugins/drag-and-drop-multiple-file-upload-contact-form-7-cs_CZ.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000018 access("/home/webdev/public_html/wp-content/languages/plugins/drag-and-drop-multiple-file-upload-contact-form-7-en_US.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 access("/home/webdev/public_html/wp-content/languages/plugins/drag-and-drop-multiple-file-upload-contact-form-7-de_DE.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 access("/home/webdev/public_html/wp-content/languages/plugins/drag-and-drop-multiple-file-upload-contact-form-7-hu_HU.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 access("/home/webdev/public_html/wp-content/languages/plugins/drag-and-drop-multiple-file-upload-contact-form-7-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 access("/home/webdev/public_html/wp-content/languages/plugins/drag-and-drop-multiple-file-upload-contact-form-7-ru_RU.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000021 access("/home/webdev/public_html/wp-content/languages/plugins/drag-and-drop-multiple-file-upload-contact-form-7-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000033 access("/home/webdev/public_html/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/languages/drag-and-drop-multiple-file-upload-contact-form-7-cs_CZ.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000017 access("/home/webdev/public_html/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/languages/drag-and-drop-multiple-file-upload-contact-form-7-en_US.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000018 access("/home/webdev/public_html/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/languages/drag-and-drop-multiple-file-upload-contact-form-7-hu_HU.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000015 access("/home/webdev/public_html/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/languages/drag-and-drop-multiple-file-upload-contact-form-7-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000017 access("/home/webdev/public_html/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/languages/drag-and-drop-multiple-file-upload-contact-form-7-es_ES.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000016 access("/home/webdev/public_html/wp-content/plugins/drag-and-drop-multiple-file-upload-contact-form-7/languages/drag-and-drop-multiple-file-upload-contact-form-7-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    

    or something I completely don’t understand:

    
    0.000012 lstat("/home/webdev/public_html/select.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/sendinblue/sendinblue.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/sendinblue/service.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/sendinblue/contact-form-properties.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/stripe/stripe.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000012 lstat("/home/webdev/public_html/stripe/service.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
         0.000013 lstat("/home/webdev/public_html/stripe/api.php", 0x7ffc87e06b10) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
    
    • This topic was modified 1 month ago by olr77.
    • This topic was modified 1 month ago by olr77.
    • This topic was modified 1 month ago by olr77.
    • This topic was modified 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • a2hostingrj

    (@a2hostingrj)

    Weird.

    According to this post:

    Based on the filenames here, this looks like it could quite possibly be caused by plugins using relative paths in their includes and requires.
    ie. require ‘./my-other-file.php’; and require ‘my-other-file.php’; rather than require __DIR__ . ‘/my-other-file.php’; WordPress uses the latter in most places

    PHP will see a relative path like that and resolve it according to it’s include_path configuration, in most scenario’s it should check the script directory first, but in your case, due to some configuration, it appears to be checking the current working directory first, rather than relative to the file which is executing the include statement.

    There’s not really anything WordPress can do here, it’s mostly down to PHP’s internal behaviours.

    https://core.trac.wordpress.org/ticket/37060

    • This reply was modified 1 month ago by a2hostingrj. Reason: Add quote tags
    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Howdy!

    My first question on this would be when this first started to happen?

    Thread Starter olr77

    (@olr77)

    it’s hard to tell, the site uses import or wpml plugins for many languages and these are the ones that appear there the most.
    Plugins at the beginning of the configuration possible that they were uninstalled and reinstalled by someone else or is it possible that this could be the reason?
    For example, could putting the whole wp core over and installing all plugins first and then spindle the current base help?
    I also wrote to wpallimport, they wrote back that they did not know what it was about and that their plugin should not ask for such things on the front, but this is what appears when the home page is launched.

    • This reply was modified 4 weeks, 1 day ago by olr77.
    a2hostingrj

    (@a2hostingrj)

    could putting the whole wp core over and installing all plugins first and then spindle the current base help?

    No, it won’t.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.