LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /var (https://www.linuxquestions.org/questions/linux-newbie-8/var-4980/)

hanybon 08-02-2001 01:28 AM

/var
 
Hello there, if anyone please explain the possible cause of this error.

Thank you so much,
Hanybon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/var: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e. without -a or -p options)

*** An error occured during the file system check.
*** Dropping you to a shell; the system will reboot
***when you leave the shell
Give root password for maintenance
(or type Control-D for manual start-up):

DMR 08-02-2001 01:55 AM

The file-system checker (fsck) has encountered an error in the /var filesystem from which it cannot automatically recover.
The most common reason for errors like this is that you have just, for some reason, had to hard-reset the box ("pull the plug"), without being able to gracefully unmount all filesystems first.
Take the advice given in the error message, and at the command prompt, type
Code:

fsck /dev/<location_of_var_partition>
For example, if /var lives on hda2, type "fsck /dev/hda2".


All times are GMT -5. The time now is 02:52 AM.