/scripts/fixeverything error ...

damainman

Well-Known Member
Nov 13, 2003
515
0
166
I get this error when running /scripts/fixeverything:

Updating Quota Files......
quotacheck: Scanning /dev/hda2 [/] quotacheck: lstat Cannot stat `//home/clientaccount/.htpasswds': Input/output error
Guess you'd better run fsck first !
exiting...


quotacheck: Scanning /dev/hda2 [/] quotacheck: lstat Cannot stat `//home/clientaccount/.htpasswds': Input/output error
Guess you'd better run fsck first !
exiting...

....Done

----

Any idea, what can cause this. and how to fix it?
 

sarcym

Registered
Nov 6, 2004
4
0
151
You need to fsck (file system check) your /home partition and possibly others.

You can do this by

umount /home (You need to kill all processes using the /home partition first)
fsck /home

If you can't unmount /home then you might want to contact your datacenter and have them reboot your server for you and wathc it come up, it may prompt for a manual fsck and not come back up if you reboot it - Someone onsite can then login and complete the fsck for you if needed. It may just clear the error automatically, but would be worth asking your NOC to make sure all goes well.

You could also have a bad drive ..

what does

/usr/local/cpanel/3rdparty/bin/smartctl -a /dev/hda

If there are any errorrs, get your provider to check the drive and possibly look into replacing it. Hopefully this isn't the case, but best to check.
 

damainman

Well-Known Member
Nov 13, 2003
515
0
166
Thank you. I had my DC run fsck, and they said no errors were returned.. however i'm not receiving those errors no more.

But now i'm receiving IO errors in my backup partition :(.

What is this for:

/usr/local/cpanel/3rdparty/bin/smartctl -a /dev/hda

Thank you for your replies.