VMware Cloud Community
casit
Enthusiast
Enthusiast

HELP /var is read only

I have an esx 3.0.1 server and my /var says that its read only even when I'm logged in as root. I would like to not reboot the server if at all possible. Any ideas?

0 Kudos
5 Replies
jjohnston1127
Hot Shot
Hot Shot

You can type

Go to the root folder

cd /

Then type

chmod 755 var

That will fix it.

0 Kudos
Dave_Mishchenko
Immortal
Immortal

If the permission change doesn't work it may be that you have a corrupt partition and it has been mounted an read only. You can check the status of it in /etc/fstab and then run fsck on it.

0 Kudos
christianZ
Champion
Champion

IF /var is a file system then maybe first this:

"cd /"

"ls -la"

and check the rights for /var - should be "drwxr-xr-x"

then

"mount"

and check if /var (rw) or (ro)

0 Kudos
casit
Enthusiast
Enthusiast

Well I attempted to do the chmod 755 var but it gave the read only file system error. I then did

IF /var is a file system then maybe first this:

"cd /"

"ls -la"

and check the rights for /var - should be "drwxr-xr-x"

then

"mount"

and check if /var (rw) or (ro)

And the rights were good and the /var was rw

0 Kudos
christianZ
Champion
Champion

0 Kudos