Operating System - HP-UX
1752754 Members
5430 Online
108789 Solutions
New Discussion юеВ

lsof: no pwd entry for UID

 
SOLVED
Go to solution
Rainer von Bongartz
Honored Contributor

lsof: no pwd entry for UID


Running lsof as root gives me about 50 lines saying:

lsof: no pwd entry for UID 1162

Beside this lsof work fine.

Any ideas what lsof trys telling me ????


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
4 REPLIES 4
RAC_1
Honored Contributor

Re: lsof: no pwd entry for UID

what is the user name for that uid?

what lsof -u "user_name of 1162" gives? Post results.
There is no substitute to HARDWORK
Michael Tully
Honored Contributor

Re: lsof: no pwd entry for UID

Hi Rainer,

I've not seen this error before, but have you tried to see if there is files on your system owned by uid 1162 and there is no user with this uid?

HTH
Michael
Anyone for a Mutiny ?
Christian Gebhardt
Honored Contributor
Solution

Re: lsof: no pwd entry for UID

Hi

I have tried this:

- creating a user
- login with this user and create and open a file with vi
- remove this user from /etc/passwd manually
- running lsof

result:
a lot of

lsof: no pwd entry for UID 550
lsof: no pwd entry for UID 550
lsof: no pwd entry for UID 550
lsof: no pwd entry for UID 550
lsof: no pwd entry for UID 550
lsof: no pwd entry for UID 550


Chris
Rainer von Bongartz
Honored Contributor

Re: lsof: no pwd entry for UID


Thanks folks,

My error:

I removed an old user from passwd
but the squid proxy server was running under this ID.

Stopping squid and starting it under a different ID solved the problem

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...