rpc.nispasswdd[394]: rpc.nispasswd Error in accessing NIS+ cold start file... is NIS+ installed?.

rpc.nispasswdd[394]: rpc.nispasswd Error in accessing NIS+ cold start file... is NIS+ installed?.

Post by sunsyst.. » Thu, 02 Jun 2005 11:39:40



We get this error message in /var/adm/messages file:

  rpc.nispasswdd[394]: rpc.nispasswd Error in accessing NIS+ cold start
file... is NIS+ installed?.

 We are running Solaris 7.

 We are not running NIS/YP.  I do not see any nis/yp processes running.
 However, I see following when I ran 'rpcinfo -p'.

 rpcinfo -p | grep nis
    100300    3   udp  32772  nisd
    100300    3   tcp  32771  nisd

 I see following in /etc/init.d/rpc file:
   if [ -d /var/nis/data -o -d /var/nis/$hostname ]; then
                        /usr/sbin/rpc.nisd $EMULYP
                        echo " rpc.nisd \c"
                        /usr/sbin/rpc.nispasswdd
   fi

I assume this is why nis processes are being registered with 'rpc'.
/var/nis/data is a blank directory and /var/nis/$hostname directory
does not exist.

I believe I need to move /var/nis/data to /var/nis/data.old and it will
take care of this issue.

Am I correct here or I need to be fixing it different way ?

Thank you all for your help.

 
 
 

rpc.nispasswdd[394]: rpc.nispasswd Error in accessing NIS+ cold start file... is NIS+ installed?.

Post by Neil W Ricker » Thu, 02 Jun 2005 14:04:58



>  rpc.nispasswdd[394]: rpc.nispasswd Error in accessing NIS+ cold start
>file... is NIS+ installed?.
> We are running Solaris 7.
> We are not running NIS/YP.  I do not see any nis/yp processes running.
> However, I see following when I ran 'rpcinfo -p'.

NIS+ is a different animal from NIS/YP.

Quote:> rpcinfo -p | grep nis
>    100300    3   udp  32772  nisd
>    100300    3   tcp  32771  nisd

Yes, you have NIS+ installed (or mis-installed).

Quote:>I assume this is why nis processes are being registered with 'rpc'.
>/var/nis/data is a blank directory and /var/nis/$hostname directory
>does not exist.
>I believe I need to move /var/nis/data to /var/nis/data.old and it will
>take care of this issue.

        rmdir /var/nis/data

Better still, kill the "rpc.nisd" process, and if it is running,
also kill the "nis_cachemgr" process.  Then

        cd /var/nis
        rm -rf *

Don't move it; remove it.  Then reboot.

On a freshly installed system that is not running NIS+, the
directory "/var/nis" is empty.  And it will stay empty unless you
setup NIS+.

 
 
 

rpc.nispasswdd[394]: rpc.nispasswd Error in accessing NIS+ cold start file... is NIS+ installed?.

Post by Logan Sha » Fri, 03 Jun 2005 08:21:10



>  I see following in /etc/init.d/rpc file:
>    if [ -d /var/nis/data -o -d /var/nis/$hostname ]; then
>                         /usr/sbin/rpc.nisd $EMULYP
>                         echo " rpc.nisd \c"
>                         /usr/sbin/rpc.nispasswdd
>    fi

> I assume this is why nis processes are being registered with 'rpc'.
> /var/nis/data is a blank directory and /var/nis/$hostname directory
> does not exist.

> I believe I need to move /var/nis/data to /var/nis/data.old and it will
> take care of this issue.

Probably that will take care of it just fine.  Another option you might
want to consider is "pkgrm SUNWnisu SUNWnisr" to just completely remove
it, therefore ensuring it can't start.  :-)

But if you decide to do that, you might want to do

        pkgchk -l SUNWnisu | grep "^Pathname:"

first to ensure that it doesn't contain anything you do actually want.

BTW, SUNWnisr and SUNWnisu exist in Solaris 8, so I'm assuming they
exist in Solaris 7 too, but that could be wrong.

   - Logan

 
 
 

rpc.nispasswdd[394]: rpc.nispasswd Error in accessing NIS+ cold start file... is NIS+ installed?.

Post by sunsyst.. » Fri, 03 Jun 2005 11:41:24


Thank you all for your help. I went ahead and removed data directory.
I will see if any problem related to this appear and if it does I will
remove the package as well.

THANKS AGAIN.

 
 
 

1. (nis+ lookup): Error in accessing NIS+ cold start file

Hi,

I've setup a nis+ root server few days ago, and it works fine. But yesterday
all logins to the root server fails, it said in the console "nisserver login:
user2netname: (nis+ lookup): Error in accessing NIS+ cold start file... is NIS+ installed?". su to user fail in root server, it said "su: no shell". All
setuid program fails. Only root can login the root server. I deleted the
NIS_COLD_START file and reinitialize it by "nisinit -c", and still not work.
Any idea?

Ben

2. help

3. NIS+ server/NIS client & secure rpc (keyserv) Problem

4. Panasonic PD drive with Yggdrasil Linux problem!

5. Howto setup secure rpc without using nis/nis+

6. hiddev not claiming my usb device - please help me

7. Error in rpc.nispasswdd ...

8. I can crack any RedHat box...try me!

9. Solaris 9 does not start rpc.yppasswdd for NIS+

10. How to use rpc.portmap, rpc.mountd, rpc.nfsd?

11. Where are rpc.portmap, rpc.mountd, rpc.nfsd?

12. Dangers of rpc.portmap, rpc.mountd, rpc.nfsd

13. RPC 4.0 vs RPC 4.1 vs TI RPC