Site icon 지락문화예술공작단

[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

 

 

 

Exit mobile version