HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

pwgr_stat command shows " unable to communicate with server"

 
MADHUR TRIPATHI
Occasional Visitor

pwgr_stat command shows " unable to communicate with server"

Hi All

I would really appreciate if someone could reply quickly.

I am trying to use NIS as backend for one of my testing ie; I am replacing /etc/nsswitch.conf with /etc/nsswitch.nis .

When I do that and run the pwgr_stat command the it gives me status as unable to communicate with server.

please can somebody explain me why it is happening. I would be really grateful.
5 REPLIES
DeafFrog
Valued Contributor

Re: pwgr_stat command shows " unable to communicate with server"

Hi Madhur ,

can you try /sbin/init.d/pwgr stop
followed by /sbin/init.d/pwgr start.

regards,
FrogIsDeaf
DeafFrog
Valued Contributor

Re: pwgr_stat command shows " unable to communicate with server"

Please post your OS version ..please check any log that you might get in /var/yp/ypserv.log during start/stop.

Regards,
FrogIsDeaf
Viktor Balogh
Honored Contributor

Re: pwgr_stat command shows " unable to communicate with server"

Hi,

First of all, please check if the machine is bound to one of your NIS master/slaves:

# ypwhich

Please post the output.

Regards,
Viktor
****
Unix operates with beer.
MADHUR TRIPATHI
Occasional Visitor

Re: pwgr_stat command shows " unable to communicate with server"

Hey

Doing ypwhich

shows me the nis server I am bound to.

and its reply is

mickey

there is nothing I can find in log
Viktor Balogh
Honored Contributor

Re: pwgr_stat command shows " unable to communicate with server"

did you try to restart the pwgrd daemon?
****
Unix operates with beer.