• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved NOTICE: error log file re-opened

GlennT

Basic Pleskian
Hello,

PHP is no longer collecting logs. It was working the last time I looked and I had folders for each PHP version but log directory only shows one php-fpm directory and when I trying to run this command on the error.log:

cat error.log

I get this error:

NOTICE: error log file re-opened

What would turn off error logging and how I do I renable?

Thanks
G
 
What about

/var/log/plesk-php72-fpm/error.log
/var/log/plesk-php71-fpm/error.log
/var/log/plesk-php56-fpm/error.log

for example?
 
This directory is a part of the corresponding package. You can check it with

# rpm -qf /var/log/plesk-php72-fpm
plesk-php72-fpm-7.2.11-centos7.18101211.x86_64

# rpm -qf /var/log/plesk-php71-fpm
plesk-php71-fpm-7.1.23-centos7.18101211.x86_64

Do you have installed these packages?
 
All of those packages are installed and the folders now exist again and I can view logs. Hmmm, not sure what happened but seems to be OK now.

Thanks for your replies.
 
Back
Top