[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Sometimes getent missing users



Ok, that seems weird. Try to pipe the outputs of each in a file and
diff them to each other.
Maybe you see from the content why that is happening.

Bye.

On Tue, Oct 19, 2010 at 09:48, Jocke M <jocke.martensson@gmail.com> wrote:
> Hi,
>
> I thought so to but even if I turned nscd off I still have the same issue.
>
> [root@xxxx ~]# /etc/init.d/nscd stop
> Stopping nscd:                                             [  OK  ]
> [root@xxxx ~]# getent passwd | wc -l
> 1038
> [root@xxxx ~]# getent passwd | wc -l
> 1624
> [root@xxxx ~]# getent passwd | wc -l
> 1038
>
> The longer list of users (1624) only returns 1 time in what it seams at
> random times.
>
> /Jocke
>
>
> 2010/10/19 Покотиленко Костик <casper@meteor.dp.ua>
>>
>> В Пнд, 18/10/2010 в 15:18 +0200, Jocke M пишет:
>> > Hello,
>> >
>> > We are running an OpenLDAP server on RHEL4 and I just found out that
>> > running getent on the RHEL clients sometimes missed users against the
>> > OpenLDAP server.
>> >
>> > Example:
>> > getent passwd | wc -l
>> > 1038
>> >
>> > getent passwd | wc -l
>> > 1624
>> >
>> > Does anyone know what can be faulty, either on the clients or the
>> > server?
>>
>> Probably nscd is running and caching requests for some period.
>>
>> --
>> Покотиленко Костик <casper@meteor.dp.ua>
>>
>
>
>
> --
> Mvh
> Jocke
>



-- 
To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To
be is to do -- Sartre | Do be do be do -- Sinatra