Errors on log rotation of VirusScan Enterprise for Linux Apache error_log file
技術的な記事 ID:
KB85800
最終更新: 7/3/2020
最終更新: 7/3/2020
Errors on log rotation of VirusScan Enterprise for Linux Apache error_log file
技術的な記事 ID:
KB85800
最終更新: 7/3/2020 環境McAfee VirusScan Enterprise for Linux (VSEL) 2.0.x, 1.9.1
問題
Failure of Logrotate on file SELinux or Cron Notifications return the following errors: Error: skipping "/var/opt/NAI/LinuxShield/log/apache/error_log" because parent directory has insecure permissions 原因The parent directory is world writable, or writable by group, which is not root.
解決策
To tell Logrotate which user or group must be used for rotation, set an
if [ $RUNNING -eq 1 ]; then echo "$0 $ARG: $httpd (pid $PID) already running" continue fi if LD_LIBRARY_PATH=/opt/NAI/LinuxShield/lib $HTTPD -DSSL then echo "$0 $ARG: $httpd started" chown nails:nailsgroup /var/opt/NAI/LinuxShield/log/apache/error_log else echo "$0 $ARG: $httpd could not be started" ERROR=3 fi ;;
'/var/opt/NAI/LinuxShield/log/apache/ssl_request_log' { compress create 644 nails nailsgroup missingok notifempty rotate 9 size=+1024k sharedscripts postrotate killall -HUP nailswebd endscript su nails nailsgroup }
Or
解決策
Upgrade to Endpoint Security for Linux (ENSL) 10.6 or 10.7.
影響を受ける製品言語:技術用語集 |
|