niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Setup
WARNING: Hard link count is wrong for /selinux
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
Author Message
amit
*nix forums beginner


Joined: 13 Apr 2005
Posts: 32

PostPosted: Thu Jul 20, 2006 1:59 am    Post subject: Re: WARNING: Hard link count is wrong for /selinux Reply with quote

Nico Kadel-Garcia wrote:
Quote:
Unruh wrote:
"amit" <amit.kohan@gmail.com> writes:


Nico Kadel-Garcia wrote:
"Unruh" <unruh-spam@physics.ubc.ca> wrote in message
news:e9j2k4$ot4$1@nntp.itservices.ubc.ca...
Laurenz Albe <invite@spam.to.invalid> writes:

amit <amit.kohan@gmail.com> wrote:
recently, I have installed Fedor 5 and when I run a command such
"find" it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may
be a bug in your filesystem driver. Automatically turning on
find's -noleaf option. Earlier results may have failed to
include directories that should have been searched."

What should I do?

Unmount the file system and run a file system check.

Of course if it is the / filesystem, you will have to drop down to
runlevel
1 and mount the / filesystem ro, so that the file system checker
can check it ( or put in a single disk distro and check it from
there.)

Or boot with a rescue CD, which is often faster and safer. Knoppix
live CD's make good rescue CD's for such situations.

Guys,

Thanks for advice. Would you please give me some insight into this
procedure? I'm new to linux I only do is running shell commands
(still learning) and love to learn those stuff so it will be a good
experiment.

What does this mean?

have to drop down to runlevel 1 and mount the / filesystem

init 1

mount -o remount,ro /

Or reboot and at the lilo prompt
linux 1

OK, this sort of thing is why I get cranky out here. Not that your advice is
completely awful, Unruh, but you've left out important things. Like, "you
need root access to do the 'init' command", and "many Linux installations
when using things like sudo don't put /sbin in your path, so you need to
type '/sbin/init 1'" and "gee, if you're using grub as your boot loader,
that 'linux 1' thing won't work at all".

Most Linux systems use "grub" these days for good reasons, and here's a good
thread on how to boot single-mode with it:

http://www.linuxforums.org/forum/redhat-fedora-linux-help/60822-how-enter-single-user-mode-grub.html

When it's up and running in single user mode, you're automatically root.
(You may have to put in your root password to do this, depending on your
local security setup.)


Thank you guys for your help but didn't work!
looks have to study some books or ask other groups to solve it.

it takes time for newbies. Although I'm a linux fan but I have seen
that because of varieties of linux distributions, everybody says
something different about a problem or question Sad
what I'm trying to say is that there is no a standard and formal or
unique way to solve a problem.

Once again thanks
Back to top
amit
*nix forums beginner


Joined: 13 Apr 2005
Posts: 32

PostPosted: Thu Jul 20, 2006 1:42 am    Post subject: Re: WARNING: Hard link count is wrong for /selinux Reply with quote

Nico Kadel-Garcia wrote:
Quote:
Unruh wrote:
"amit" <amit.kohan@gmail.com> writes:


Nico Kadel-Garcia wrote:
"Unruh" <unruh-spam@physics.ubc.ca> wrote in message
news:e9j2k4$ot4$1@nntp.itservices.ubc.ca...
Laurenz Albe <invite@spam.to.invalid> writes:

amit <amit.kohan@gmail.com> wrote:
recently, I have installed Fedor 5 and when I run a command such
"find" it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may
be a bug in your filesystem driver. Automatically turning on
find's -noleaf option. Earlier results may have failed to
include directories that should have been searched."

What should I do?

Unmount the file system and run a file system check.

Of course if it is the / filesystem, you will have to drop down to
runlevel
1 and mount the / filesystem ro, so that the file system checker
can check it ( or put in a single disk distro and check it from
there.)

Or boot with a rescue CD, which is often faster and safer. Knoppix
live CD's make good rescue CD's for such situations.

Guys,

Thanks for advice. Would you please give me some insight into this
procedure? I'm new to linux I only do is running shell commands
(still learning) and love to learn those stuff so it will be a good
experiment.

What does this mean?

have to drop down to runlevel 1 and mount the / filesystem

init 1

mount -o remount,ro /

Or reboot and at the lilo prompt
linux 1

OK, this sort of thing is why I get cranky out here. Not that your advice is
completely awful, Unruh, but you've left out important things. Like, "you
need root access to do the 'init' command", and "many Linux installations
when using things like sudo don't put /sbin in your path, so you need to
type '/sbin/init 1'" and "gee, if you're using grub as your boot loader,
that 'linux 1' thing won't work at all".

Most Linux systems use "grub" these days for good reasons, and here's a good
thread on how to boot single-mode with it:

http://www.linuxforums.org/forum/redhat-fedora-linux-help/60822-how-enter-single-user-mode-grub.html

When it's up and running in single user mode, you're automatically root.
(You may have to put in your root password to do this, depending on your
local security setup.)


Thank you guys for your help but didn't work!
looks have to study some books or ask other groups to solve it.

it takes time for newbies. Although I'm a linux fan but I have seen
that because of varieties of linux distributions, everybody says
something different about a problem or question Sad
what I'm trying to say is that there is no a standard and formal or
unique way to solve a problem.

Once again thanks
Back to top
Nico Kadel-Garcia
*nix forums Guru


Joined: 21 Feb 2005
Posts: 1068

PostPosted: Wed Jul 19, 2006 10:25 am    Post subject: Re: WARNING: Hard link count is wrong for /selinux Reply with quote

Unruh wrote:
Quote:
"amit" <amit.kohan@gmail.com> writes:


Nico Kadel-Garcia wrote:
"Unruh" <unruh-spam@physics.ubc.ca> wrote in message
news:e9j2k4$ot4$1@nntp.itservices.ubc.ca...
Laurenz Albe <invite@spam.to.invalid> writes:

amit <amit.kohan@gmail.com> wrote:
recently, I have installed Fedor 5 and when I run a command such
"find" it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may
be a bug in your filesystem driver. Automatically turning on
find's -noleaf option. Earlier results may have failed to
include directories that should have been searched."

What should I do?

Unmount the file system and run a file system check.

Of course if it is the / filesystem, you will have to drop down to
runlevel
1 and mount the / filesystem ro, so that the file system checker
can check it ( or put in a single disk distro and check it from
there.)

Or boot with a rescue CD, which is often faster and safer. Knoppix
live CD's make good rescue CD's for such situations.

Guys,

Thanks for advice. Would you please give me some insight into this
procedure? I'm new to linux I only do is running shell commands
(still learning) and love to learn those stuff so it will be a good
experiment.

What does this mean?

have to drop down to runlevel 1 and mount the / filesystem

init 1

mount -o remount,ro /

Or reboot and at the lilo prompt
linux 1

OK, this sort of thing is why I get cranky out here. Not that your advice is
completely awful, Unruh, but you've left out important things. Like, "you
need root access to do the 'init' command", and "many Linux installations
when using things like sudo don't put /sbin in your path, so you need to
type '/sbin/init 1'" and "gee, if you're using grub as your boot loader,
that 'linux 1' thing won't work at all".

Most Linux systems use "grub" these days for good reasons, and here's a good
thread on how to boot single-mode with it:

http://www.linuxforums.org/forum/redhat-fedora-linux-help/60822-how-enter-single-user-mode-grub.html

When it's up and running in single user mode, you're automatically root.
(You may have to put in your root password to do this, depending on your
local security setup.)
Back to top
Unruh
*nix forums Guru


Joined: 22 Mar 2005
Posts: 1166

PostPosted: Wed Jul 19, 2006 3:02 am    Post subject: Re: WARNING: Hard link count is wrong for /selinux Reply with quote

"amit" <amit.kohan@gmail.com> writes:


Quote:
Nico Kadel-Garcia wrote:
"Unruh" <unruh-spam@physics.ubc.ca> wrote in message
news:e9j2k4$ot4$1@nntp.itservices.ubc.ca...
Laurenz Albe <invite@spam.to.invalid> writes:

amit <amit.kohan@gmail.com> wrote:
recently, I have installed Fedor 5 and when I run a command such "find"
it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may be a
bug in your filesystem driver. Automatically turning on find's -noleaf
option. Earlier results may have failed to include directories that
should have been searched."

What should I do?

Unmount the file system and run a file system check.

Of course if it is the / filesystem, you will have to drop down to
runlevel
1 and mount the / filesystem ro, so that the file system checker can check
it ( or put in a single disk distro and check it from there.)

Or boot with a rescue CD, which is often faster and safer. Knoppix live CD's
make good rescue CD's for such situations.

Guys,

Thanks for advice. Would you please give me some insight into this
procedure? I'm new to linux I only do is running shell commands (still
learning) and love to learn those stuff so it will be a good
experiment.

What does this mean?

have to drop down to runlevel 1 and mount the / filesystem

init 1

mount -o remount,ro /

Or reboot and at the lilo prompt
linux 1




Quote:
or how to run Knoppix off its CD? or if there is a link ?

Download or buy Knoppix ( or MandrivaOne or any other single CD live
distro), mount the partition which is / ro,
mkdir test
mount -o ro /dev/hda1 /test

Assuming hda1 is your / partition.


Quote:
Thanks again.
Amit
Back to top
amit
*nix forums beginner


Joined: 13 Apr 2005
Posts: 32

PostPosted: Wed Jul 19, 2006 12:09 am    Post subject: Re: WARNING: Hard link count is wrong for /selinux Reply with quote

Nico Kadel-Garcia wrote:
Quote:
"Unruh" <unruh-spam@physics.ubc.ca> wrote in message
news:e9j2k4$ot4$1@nntp.itservices.ubc.ca...
Laurenz Albe <invite@spam.to.invalid> writes:

amit <amit.kohan@gmail.com> wrote:
recently, I have installed Fedor 5 and when I run a command such "find"
it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may be a
bug in your filesystem driver. Automatically turning on find's -noleaf
option. Earlier results may have failed to include directories that
should have been searched."

What should I do?

Unmount the file system and run a file system check.

Of course if it is the / filesystem, you will have to drop down to
runlevel
1 and mount the / filesystem ro, so that the file system checker can check
it ( or put in a single disk distro and check it from there.)

Or boot with a rescue CD, which is often faster and safer. Knoppix live CD's
make good rescue CD's for such situations.

Guys,

Thanks for advice. Would you please give me some insight into this
procedure? I'm new to linux I only do is running shell commands (still
learning) and love to learn those stuff so it will be a good
experiment.

What does this mean?

Quote:
have to drop down to runlevel 1 and mount the / filesystem

or how to run Knoppix off its CD? or if there is a link ?

Thanks again.
Amit
Back to top
Nico Kadel-Garcia
*nix forums Guru


Joined: 21 Feb 2005
Posts: 1068

PostPosted: Tue Jul 18, 2006 7:07 pm    Post subject: Re: WARNING: Hard link count is wrong for /selinux Reply with quote

"Unruh" <unruh-spam@physics.ubc.ca> wrote in message
news:e9j2k4$ot4$1@nntp.itservices.ubc.ca...
Quote:
Laurenz Albe <invite@spam.to.invalid> writes:

amit <amit.kohan@gmail.com> wrote:
recently, I have installed Fedor 5 and when I run a command such "find"
it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may be a
bug in your filesystem driver. Automatically turning on find's -noleaf
option. Earlier results may have failed to include directories that
should have been searched."

What should I do?

Unmount the file system and run a file system check.

Of course if it is the / filesystem, you will have to drop down to
runlevel
1 and mount the / filesystem ro, so that the file system checker can check
it ( or put in a single disk distro and check it from there.)

Or boot with a rescue CD, which is often faster and safer. Knoppix live CD's
make good rescue CD's for such situations.
Back to top
Unruh
*nix forums Guru


Joined: 22 Mar 2005
Posts: 1166

PostPosted: Tue Jul 18, 2006 4:35 pm    Post subject: Re: WARNING: Hard link count is wrong for /selinux Reply with quote

Laurenz Albe <invite@spam.to.invalid> writes:

Quote:
amit <amit.kohan@gmail.com> wrote:
recently, I have installed Fedor 5 and when I run a command such "find"
it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may be a
bug in your filesystem driver. Automatically turning on find's -noleaf
option. Earlier results may have failed to include directories that
should have been searched."

What should I do?

Unmount the file system and run a file system check.

Of course if it is the / filesystem, you will have to drop down to runlevel
1 and mount the / filesystem ro, so that the file system checker can check
it ( or put in a single disk distro and check it from there.)


Quote:
Yours,
Laurenz Albe
Back to top
Laurenz Albe
*nix forums Guru


Joined: 21 Feb 2005
Posts: 478

PostPosted: Tue Jul 18, 2006 8:22 am    Post subject: Re: WARNING: Hard link count is wrong for /selinux Reply with quote

amit <amit.kohan@gmail.com> wrote:
Quote:
recently, I have installed Fedor 5 and when I run a command such "find"
it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may be a
bug in your filesystem driver. Automatically turning on find's -noleaf
option. Earlier results may have failed to include directories that
should have been searched."

What should I do?

Unmount the file system and run a file system check.

Yours,
Laurenz Albe
Back to top
amit
*nix forums beginner


Joined: 13 Apr 2005
Posts: 32

PostPosted: Mon Jul 17, 2006 7:21 pm    Post subject: WARNING: Hard link count is wrong for /selinux Reply with quote

Hi guys,

recently, I have installed Fedor 5 and when I run a command such "find"
it brings up the resutls then complains or warns as below:

"find: WARNING: Hard link count is wrong for /selinux: this may be a
bug in your filesystem driver. Automatically turning on find's -noleaf
option. Earlier results may have failed to include directories that
should have been searched."

What should I do?

your help is appreciated.

Thanks again,
Amit.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 8:13 pm | All times are GMT
navigation Forum index » *nix » Linux » Setup
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Warning when new attributes are added to classes at run time Matthew Wilson python 7 Wed Jul 19, 2006 8:42 pm
No new posts OT: whats wrong with my CSS padding/margin positioning Roman PHP 1 Wed Jul 19, 2006 1:12 pm
No new posts install slack 10.2 from Hard drive heavytull Slackware 5 Tue Jul 18, 2006 11:43 pm
No new posts link to part of a file Weiguang Shi shell 2 Tue Jul 18, 2006 10:45 pm
No new posts Calling functions with the wrong parameters Kenneth Brody C 7 Tue Jul 18, 2006 6:17 pm

Remortgages | PHP Photo Gallery | Cheap Loan | Repair Bad Credit | Mortgage
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3934s ][ Queries: 20 (0.2275s) ][ GZIP on - Debug on ]