• 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

Bug: Enabling pipelogging as suggested in KB is incomplete

Tozz

Regular Pleskian
---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Latest (Plesk 11.5 all MU's installed), Debian 7 x64

PROBLEM DESCRIPTION
When enabling pipelog with MySQL command, pipelogging is never actually enabled. You need to run httpdmng --reconfigure-server

STEPS TO REPRODUCE
Enable Pipelogging using MySQL command as suggested in the knowledge base:

mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e 'replace into misc (param,val) values ("apache_pipelog", "true");'

ACTUAL RESULT
Pipelogging is only partly enabled. /var/www/vhosts/system/<domain>/logs/ no longer has access_logs (not beeing filled). Statistics are not beeing updated, as there are no logs.
Pipelogging daemon is not running.

EXPECTED RESULT
I would expect pipelogging to be actually enabled.

ANY ADDITIONAL INFORMATION

The fix is to run:
/opt/psa/admin/bin/httpdmng --reconfigure-server

However this is not stated in the KB. Perhaps it is better to supply a CLI-command to enable pipelogging instead of using MySQL queries to alter the PSA database.
 
Back
Top