Re: Is my directory corrupted?

From: craig (craig_at_stellarnet.com)
Date: 06/08/05


Date: Tue, 07 Jun 2005 20:20:44 -0500


>
> 08 Nov 2004. Did it have the problem in the past? If so, what did you
> change.
You know I have not changed anything to my knowledge...except allow the
updates to install. I don't pay
too much attention to each and every one that gets installed, although
most seem to be for developers.

>
>>Now I discover:
>>Command line command such as # ls -d */
>>there is a long 31 sec delay before it generates the results to the screen.
>># ls
>>is normal
>
>
> Does the octothorpe in front of the command imply you are running as root?
> That is a hazardous mode, and you should only be root when absolutely
> necessary. If this is as root, how does it work as a normal user?
>
I use the "#" to demote a command line command.
I'm running as user most of the time and only root when I need to run
apache or administrate....
> Well, a lot is going to depend on what's in the directories you are
> trying to look at. Are there a lot of directories?
[craig@SUNRISE-FC3 ~]$ ls -d */
05a/ dns2go-2.0/ MP3's/ php-4.3.10/
2005-03-03--12.49.49/ earthly/ Mplayer1.0/ php-5.0.3/
2005-03-03--12.59.07/ eclipse/ MPlayer-1.0pre6/ php_gz/
apache_gz/ Godyndns/ mysql-administrator/ Sitelutions/
codecs/ httpd-2.0.52/ mysql_gz/ sphpblog-0.4.0/
craigshare/ httpd-2.0.53/ mysql-query-browser/ sphptmp/
Desktop/ IBMJava2/ PanTrip1/ thunderbird/

this took 31 seconds to display ? ?
It's the home directory for me craig

I note the #ls -d /* which displays the system directories display at
the normal almost instantly.... does this suggest something in my
"craig" user directory is causing the trouble ?
Are any of them Samba
yes... one called.... ah I don't see listed in the above listing... I
think you are on to something!
Samba has been a bugger to keep working... I've been having to turn the
firewall off to get it to work. Then it works with the firewall turned
back on.. and now maybe this is one of the cosequences of these
manipulations...
> mounts? Does 'ls -d /*' show the 10 to 20 directories normally found in
> root virtually instantly?
yes
   Does 'alias' return anything relating to ls?
I'm not familiar with 'alias' come again on this please
>
> 31 seconds is a heck of a long time - I don't know how it might be
> connected to hostnames, but does the 'hostname' command return a full
> hostname with dots and a domain?
hostname? again I'm not sure what you want me to try
  Is that full hostname in /etc/hosts?
> If not, does a DNS query return the full name/address pair in both
> directions (IP to name, name to IP)?
>
>
>>What's up? what's causing this. A fresh boot doesn't change a thing.
>
>
> Rebooting rarely has any effect on *nix, except to imperceptibly slow
> it down because the memory cache is emptied.
>
> Another random thought - as root, run the command 'rpm -Va > files2check'
> This is going to take a couple of minutes to run. Then look at that file,
> and compare the output to the 'rpm' man page under VERIFICATION. It is
> normal to see some changes - mainly configuration files, and changes in
> file ownership. On this system, about 90 "files" get listed (a work
> station with about 330 packages installed).

I will do this and get back to you.... I think though your that the
missing < mtpoint > which is the samba share directory is the issue.

I'm an old guy too
thanks
>
> Old guy



Relevant Pages

  • Re: Fedora sound only partially working
    ... > Audigy sound card installed. ... command will both check for the card and install the appropriate driver ... (If you are not already su'd to root that is). ... the command line to execute *that* command as root). ...
    (comp.os.linux.setup)
  • Re: Install and Configure the Lexmark z23 z33 for Fedora Core 1 and 2
    ... You will also need to install the following software packages ... > change to root in a terminal using the command line ... > Install the Lexmark z23-z33 driver as root. ...
    (comp.os.linux.hardware)
  • Re: Nine linux questions
    ... How do I install new hardware without rebooting? ... > camera and would like to know the command line/gui command to make it ... Do "su -" to get a root login shell. ... > using apps like MC and Nano while the nifty GUI apps go unused. ...
    (alt.os.linux.redhat)
  • Re: SuSE 9.1 Pro - Apps as user dont work but as Root do....a Newbie Question
    ... >It's funny, some apps work, other only work if I command line as SU. ... I have talked to install support who asked me to email ... If I need root, avoiding the intricacies of command line... ...
    (alt.os.linux.suse)
  • Re: how to change hostname
    ... > What is the debain way to change to hostname of a system. ... I think you just issue the following command as root: ...
    (Debian-User)