|
|
|
|
|
|
| Author |
Message |
amit *nix forums beginner
Joined: 13 Apr 2005
Posts: 32
|
Posted: Thu Jul 20, 2006 1:59 am Post subject:
Re: WARNING: Hard link count is wrong for /selinux
|
|
|
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
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
|
Posted: Thu Jul 20, 2006 1:42 am Post subject:
Re: WARNING: Hard link count is wrong for /selinux
|
|
|
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
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
|
Posted: Wed Jul 19, 2006 10:25 am Post subject:
Re: WARNING: Hard link count is wrong for /selinux
|
|
|
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
|
Posted: Wed Jul 19, 2006 3:02 am Post subject:
Re: WARNING: Hard link count is wrong for /selinux
|
|
|
"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
|
Posted: Wed Jul 19, 2006 12:09 am Post subject:
Re: WARNING: Hard link count is wrong for /selinux
|
|
|
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
|
Posted: Tue Jul 18, 2006 7:07 pm Post subject:
Re: WARNING: Hard link count is wrong for /selinux
|
|
|
"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
|
Posted: Tue Jul 18, 2006 4:35 pm Post subject:
Re: WARNING: Hard link count is wrong for /selinux
|
|
|
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
|
Posted: Tue Jul 18, 2006 8:22 am Post subject:
Re: WARNING: Hard link count is wrong for /selinux
|
|
|
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
|
Posted: Mon Jul 17, 2006 7:21 pm Post subject:
WARNING: Hard link count is wrong for /selinux
|
|
|
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 |
|
 |
|
|
The time now is Fri Nov 21, 2008 8:13 pm | All times are GMT
|
|
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
|
|