cpanel wont start Read-only file system

lucaribeirorj

Registered
Jun 19, 2015
1
0
1
Brazil
cPanel Access Level
Root Administrator
hello, my cpanel is not starting, the following message appears.

[email protected] [/]# /etc/init.d/cpanel start

Starting cpanel:


*** /usr/local/cpanel/etc/init/startup ERROR: ***

Refusing to start because log directory /usr/local/cpanel/logs is not writable!

The specific error was: Read-only file system at /usr/local/cpanel/Cpanel/LogCheck.pm line 29.


Please rectify this problem and then try again.
 

24x7ss

Well-Known Member
Sep 30, 2014
272
17
18
India
cPanel Access Level
Root Administrator
Twitter
As per the mentioned error it seems that your server is in read only mode because of that cpanel is unable to write logs file. Just simple try creating file on server it will give "Read Only File System Error".

In this case check which disk partition is in read only mode and try to run fsck on that. If single partition is there then first boot the server in single user mode and then run fsck on that partition this will fix your issue.

fsck -Cy /dev/sdaX
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,912
2,241
363
Hello :)

Please consult with your system administrator or data center to help determine why the /usr partition is in read-only mode. It's possible the filesystem is corrupted, or there are hardware issues that need to be resolved. Please use caution if proceeding with the instructions in the previous post. You risk further issues if FSCK fails to complete successfully.

Thank you.