Operating System - HP-UX
1819873 Members
2527 Online
109607 Solutions
New Discussion юеВ

Interpreting NIS ypserv.log

 
Rosli Ahmad
Frequent Advisor

Interpreting NIS ypserv.log

Hi,
We have NIS running in environment all this while, but lately we notice our slave machines load shot up to 100%. We then run the debug mode but have problem in interpreting the ypserv log.

We think it's the ypdb_* calls below are the culprit as these entries doesn't exist under normal circumstances.

<>
connect from 172.30.xxx.86
ypdb_close_all() called
ypdb_close_all (mydomain/group.bygid|0)
ypdb_close_all (mydomain/passwd.byuid|1)
ypdb_close_all (mydomain/passwd.byname|2)
ypdb_open("mydomain", "passwd.byname")
->Returning OK!
Opening: mydomain/passwd.byname (0) 8052be8
-> First value returned.
ypproc_all_2_svc(): [From: 172.30.xxx.193:960]
domain = "mydomain"
map = "passwd.byname"
ypdb_open("mydomain", "passwd.byname")
Found: mydomain/passwd.byname (2)
ypdb_close() called
connect from 172.30.xxx.193
ypdb_close_all() called
ypdb_close_all (mydomain/group.bygid|0)
ypdb_close_all (mydomain/passwd.byuid|1)
ypdb_close_all (mydomain/passwd.byname|2)
ypdb_open("mydomain", "passwd.byname")
->Returning OK!
Opening: mydomain/passwd.byname (0) 8052bf8
-> First value returned.
ypdb_close() called
.
.
.
<>

Does anyone ever interpret the ypserv.log or aware of any reference material we can refer to?

We're practically in hot soup already.

Thanks.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Interpreting NIS ypserv.log

Hello Rosli,

Hot soup? Sounds like a good thing? Guess not.

Try doing some logins on the slave server, direct or via su - username

See if the logs produce anything interesting.

Is there perhaps a Master NIS server offline?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rosli Ahmad
Frequent Advisor

Re: Interpreting NIS ypserv.log

Hi Peter,
No, you wouldn't want to taste this soup...

The login is fine so is the NIS master. We just don't understand why the ypdb_* keep happening.

Any good link describing NIS in details, explaining what ypdb_* is all about?

Thanks.