Operating System - HP-UX
1832988 Members
2576 Online
110048 Solutions
New Discussion

Re: nis server cannot start

 
Rashid Hamid
Regular Advisor

nis server cannot start

nis server cannot start either during boot or using /sbin/init.d/nis.server start

Below are the error messages:

starting up the portmapper
portmap already started, using pid: 522
domainname cadcam
starting up the Network Information Service
WARNING: /usr/lib/netsvc/yp/ypserv not started: either - the directory /var/yp/cadcam does not exist or - some or all of the cadcam NIS domain'smaps are missing.
To initialize upm as a NIS server, see ypinit(1M).
WARNING: /usr/sbin/ypxfrd not started: either the directory /var/yp/cadcam does not exist or some or all of the cadcam NIS domain's maps are missing.
To initialize upm as a NIS server, see ypinit(1M).
WARNING: /usr/lib/netsvc/yp/rpc.yppasswdd not started: refer to the
reasons listed in the WARNING above.
WARNING: /usr/lib/netsvc/yp/rpc.ypupdated not started: refer to the
reasons listed in the WARNING above.
starting up the keyserv daemon
keyserv already started, using pid: 553





Thanks


I'm Parit Madirono/Parit Betak Boyz
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: nis server cannot start

Took me 7 hours of trying with a long nap to post this:

WARNING: /usr/lib/netsvc/yp/ypserv not started: either - the directory /var/yp/cadcam does not exist or - some or all of the cadcam NIS domain'smaps are missing.

You are missing diretories or files.

If they were manually deleted, you will have to restore them.

bdf /var
bdf /usr

make sure they are not mounted on root /

If they are you may need to reboot your system and run fsck on the above filesystems in single user mode.

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
Denver Osborn
Honored Contributor

Re: nis server cannot start

Does "/var/yp/cadcam" exist? If not either restore it from backup, or run ypmake to fix/find the problem.

man ypmake

-denver
Rashid Hamid
Regular Advisor

Re: nis server cannot start

Is it possible if I delete the cadcam domain and create back a new domain?

All the clients pointing to the new domain



Thanks

I'm Parit Madirono/Parit Betak Boyz