Can't load log handler "java.util.logging.FileHandler", java.nio.file.filesystemexception, Read-only file system.
search cancel

Can't load log handler "java.util.logging.FileHandler", java.nio.file.filesystemexception, Read-only file system.

book

Article ID: 389536

calendar_today

Updated On: 08-19-2024

Products

CA API Gateway

Issue/Introduction

Unable to check gateway running status, seeing the below error:  

Can't load log handler "java.util.logging.FileHandler" 

java.nio.file.filesystemexception:  /logs/config/log/lck:  Read-only file system

Also,  reboot server failed.  

Environment

ssg 11.x 

Cause

The filesystem will usually go into read-only while the system is running if there is a file system consistency issue.  
This could be specified in fstab as errors=remount-ro and will occur when a FS access fails or an emergency read-only remount is requested via Alt+SysRq+U.  Or any other reason that results the inconsistency. 

Looking at dmesg could be also helpful.

 

Resolution

Run fsck check and repair the file system.  

If cannot reboot the gateway,  maintenance mode and running the fsck command to restore the file system. 

Reboot the gateway. 

Additional Information

https://www.geeksforgeeks.org/how-to-fix-fsck-errors-in-ubuntu/

https://phoenixnap.com/kb/fsck-command-linux