View previous topic :: View next topic |
Author |
Message |
JHuizingh Tux's lil' helper
Joined: 05 Jul 2002 Posts: 100
|
Posted: Wed Nov 13, 2002 1:27 am Post subject: ypserv problems |
|
|
I am trying to get an NIS server up and running, but I'm having problems getting the NIS server program to work. This is what happens:
Code: | bash-2.05a# /etc/init.d/ypserv start
* WARNING: "ypserv" has already been started.
|
I do a
but it doesn't return anything, so I don't think it's actually running.
I try this too, but it doesn't work:
Code: | bash-2.05a# /etc/init.d/ypserv stop
* Stopping NIS Server... [ !! ]
bash-2.05a# /etc/init.d/ypserv start
* WARNING: "ypserv" has already been started.
|
What can I do to get this thing working? |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed Nov 13, 2002 1:00 pm Post subject: |
|
|
Code: | bash-2.05a# /etc/init.d/ypserv zap |
will manually reset the init script to a stopped state.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
burzmali Apprentice
Joined: 18 Apr 2002 Posts: 238 Location: ca
|
Posted: Thu Nov 14, 2002 12:30 am Post subject: |
|
|
i am trying to use nis also and am having trouble with yppasswed on the client machine. it gives me this error when i try to use it:
test@mail / $ yppasswd
yppasswd: yppasswdd not running on NIS master host ("server.burzmali.net").
i have yp-tools installed on the master. have anyone gotten this to work? _________________ burzmali
www.burzmali.net |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Nov 14, 2002 12:33 am Post subject: |
|
|
On the server, if you run:
What do you see? If you don't see rpc.yppasswd somewhere in the list, then it's not running on the server...
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
JHuizingh Tux's lil' helper
Joined: 05 Jul 2002 Posts: 100
|
Posted: Thu Nov 14, 2002 2:37 am Post subject: |
|
|
The zap command worked. Thanks klieber |
|
Back to top |
|
|
burzmali Apprentice
Joined: 18 Apr 2002 Posts: 238 Location: ca
|
Posted: Thu Nov 14, 2002 8:07 pm Post subject: |
|
|
ok, it is not running, so how do i get it running? there is no init script for it and just typing yppasswd on the server gets me:
server root # yppasswd
yppasswd: can't find the master ypserver: Can't bind to server which serves this domain
server root #
any suggestions?
**EDIT**
ok, i guess you run rpc.yppasswd and that starts the service, but why isn't it included in an NIS init script? also when i tried to test it with an account on from the client it asks me to enter old passwd then says 'sorry' and exits. eh? i tried more then once and i know i supplied the correct old passwd. thanks for any help. _________________ burzmali
www.burzmali.net |
|
Back to top |
|
|
JHuizingh Tux's lil' helper
Joined: 05 Jul 2002 Posts: 100
|
Posted: Wed Nov 20, 2002 12:57 am Post subject: |
|
|
Ok,
/etc/init.d/ypserv zap
got it to reset, and it looks like the server starts up fine when I give it the start argument. Unfortunately if I try to stop it, it has [!!] after I give that command instead of [OK]. It won't start again after I do that either.
Also, when I start it right after zapping it and then try and point an nis client to it, it will not find the server. I've tried it both from the local box that the server is on, and another machine on the lan. What is wrong with the server? |
|
Back to top |
|
|
|