Articles in this section

There is a error mail from logrotate:logrotate_script: line 1: /usr/local/svmstack/fpm7/pid/php-fpm.pid: Permission denied

Applicable to:

  • SolusVM

Symptoms 

There is a error mail from logrotate:

CONFIG_TEXT: logrotate_script: line 1: /usr/local/svmstack/fpm7/pid/php-fpm.pid: Permission denied 

Cause

The issue caused by SolusVM bug #SVM-2866

Resolution

Until the fix become available, run the following inline command on every SolusVM server:

# curl -o svmstackfpm7.svm2866 https://raw.githubusercontent.com/solusvm-support/svm_patches/master/svmstackfpm7 ; cp /etc/logrotate.d/svmstackfpm7 /root/svmstackfpm7.orig ; cp svmstackfpm7.svm2866 /etc/logrotate.d/svmstackfpm7

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.