Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have CentOS6.02 on my system.When i try to bott it it give sme message as follow:
Starting udev: [ok]
setting hostname localhost.localdomain: [ok]
setting up logical volume management : no volume grup found [ok]
checking filesystems
/dev/sda3 contains a file system with errors, check forced.
/dev/sda3: 376250/1589248 files(0.1% non contiguos), 2963942/6349056 blocks
/dev/sda1:Superblock last mount time(tue mar 12:00:04:14 2013, now=sat mar 12 14:17:28 2011 ) is in the future.
/dev/sda1: unexpected inconsistancy:run fsck manually.
(i.e, without -a or -p options) [failed]
***An error occured during the file system check;
*** droping you to shell : the system will reboot
***when you leav the shell .
***warning --SELinux is active
***disabling security enforcement for system recovery.
***run 'setenforce 1' to reenable.
give root password for maintainance
(or type control-d to continue):
******************************END*******************************
I entered my passsword after this message and type setenforce 1 but nothing is happens.
I have CentOS6.02 on my system.When i try to bott it it give sme message as follow:
Starting udev: [ok]
setting hostname localhost.localdomain: [ok]
setting up logical volume management : no volume grup found [ok]
checking filesystems
/dev/sda3 contains a file system with errors, check forced.
/dev/sda3: 376250/1589248 files(0.1% non contiguos), 2963942/6349056 blocks
/dev/sda1:Superblock last mount time(tue mar 12:00:04:14 2013, now=sat mar 12 14:17:28 2011 ) is in the future.
/dev/sda1: unexpected inconsistancy:run fsck manually. (i.e, without -a or -p options) [failed]
***An error occured during the file system check;
*** droping you to shell : the system will reboot
***when you leav the shell .
***warning --SELinux is active
***disabling security enforcement for system recovery.
***run 'setenforce 1' to reenable.
give root password for maintainance
(or type control-d to continue):
******************************END*******************************
I entered my passsword after this message and type setenforce 1 but nothing is happens. how to solve this problem
Ok, did you read/understand what you posted?
Your system is telling you that you have to first run setenforce 1, THEN fix the file system errors...and it even tells you how. Did you try running the OTHER command it told you to run???? Like "fsck /dev/sda1", where you're having the problem???
Your system is telling you that you have to first run setenforce 1, THEN fix the file system errors...and it even tells you how. Did you try running the OTHER command it told you to run???? Like "fsck /dev/sda1", where you're having the problem???
no, it's not, it's disabling it. he'd need to run it afterwards if he wanted to, but it seems irrelevant really as I get the impression there is now knowledge of what SELinux is here....
no, it's not, it's disabling it. he'd need to run it afterwards if he wanted to, but it seems irrelevant really as I get the impression there is now knowledge of what SELinux is here....
Agreed. The message says to run setenforce first, then fsck. Seems fairly clear to me, too.
"setenforce=0 "
for this session
but will need to be turned back on once things are fixed
hence the " run setenforce=1"
Quote:
checking filesystems
/dev/sda3 contains a file system with errors, check forced.
/dev/sda3: 376250/1589248 files(0.1% non contiguos), 2963942/6349056 blocks
normal output -- 0.1% fragments -- also normal
Quote:
/dev/sda1:Superblock last mount time(tue mar 12:00:04:14 2013, now=sat mar 12 14:17:28 2011 ) is in the future.
2 year difference ?
-- drive issue and not daylight savings time
-- something is garbled
you need to run "fsck" on the partition
and fix what it finds .
while se is turned off .
then turn it back on .
and look for SETroubleShooter" warnings
or
warnings in the /var/log/selinux/?? folder
but with this being the unsupported CentOS 6.2
the current fixes for daylight savings are not being used
the date for this did move
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.