[RHEL9] logrotate error : failed to rename Read-only file system

logrotate 수행시 에러 발생

 

에러로그 : /var/log/messages

May 21 00:00:06 ns1 logrotate[159290]: error: failed to rename /opt/apache/logs/access_log to /opt/apache/logs/access_log-20240521: Read-only file system

 

 

logrotate.service 수정


ReadWritePaths=/opt/apache/logs /opt/mysql/logs

 

 

 

About KENNETH 19690 Articles
지락문화예술공작단

Be the first to comment

Leave a Reply

Your email address will not be published.


*


이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.