Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Operations hang for ~60 seconds after loopback device is initialized

Posted on 2003-03-03
5
Medium Priority
?
173 Views
Last Modified: 2013-12-05
The following operations take a long time to execute after I did a "ifconfig lo 127.0.0.1":

- ps -ua, ps -ux (but ps -u and ps -ax are both fine)
- logging in (delay after I typed user, password [enter])
- Running "skill" (kill is fine)
- ls -l (when there is an unkown numerical group or owner to be listed)

I'm using Linux 2.4.20 and I just tried upgrading to the latest net-tools 1.60. I'm running totally off a CD where my /usr tree is entirely read only. (The rest of the system has been loaded as a RAM disk). This is my own Linux distribution that I raised from the sources myself.

I'm doing this ifconfig myself manually at the command prompt. The system by itself initializes the bare minimum multi-user environment. (No networking whatsoever).
The lo device pings just fine and shows up as UP RUNNING in ifconfig after I brought it up. If bring it down (ifconfig lo down), the problem remains: a reboot is required for these operations to be quick again.

What could the cause to this problem be?
0
Comment
Question by:jerstlouis
4 Comments
 
LVL 4

Expert Comment

by:bobgunzel
ID: 8063073
Have you also done a "route add -net 127.0.0.0 netmask 255.0.0.0 lo" ?

Bob Gunzel
0
 

Author Comment

by:jerstlouis
ID: 8063272
No that doesn't matter.
The problem is that it tries to resolve groups and stuff
according to the rules in /etc/nsswitch.conf.
However, I don't have portmap running right now. So it stalls trying to connect to portmap. Apparently I heard this is a problem due to the old version of my procps and fileutils tools and the 2.4 kernels. Commenting out the "nis" everywhere in /etc/nsswitch.conf did fix the problem. Right now I'm trying to rebuild a new version of procps and fileutils, but procps is giving me trouble with my current libc so I'm trying to install the new libc which in turn didn't like my version of gettext which I finally got installed =) Hopefully this will fix my problem...
0
 

Expert Comment

by:CleanupPing
ID: 9077743
jerstlouis:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13223841
PAQed with points refunded (50)

modulo
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question