[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ypbind init script fails



On Mon, 2007-07-16 at 19:32 -0400, Andrew Robinson wrote:
> Karl Larsen wrote:
> > Andrew Robinson wrote:
> >> I'm running FC6 on an eMachines laptop. I'm trying to configure NIS 
> >> for my growing home network. I seem to be having peculiar problems 
> >> with the ypbind init script. When I try to start the init script, it 
> >> fails:
> >>
> >> [root proteus ~]# /etc/rc.d/init.d/ypbind start
> >> Starting NIS service:                                      [  OK  ]
> >> Binding  NIS service: .........                            [FAILED]
> >> Shutting down NIS service:                                 [  OK  ]
> >>
> >> However, I find that if I run the init script with the restart option, 
> >> it will often, but not always, succeed:
> >>
> >> [root proteus run]# /etc/rc.d/init.d/ypbind restart
> >> Shutting down NIS service:                                 [FAILED]
> >> Starting NIS service:                                      [  OK  ]
> >> Binding  NIS service: ...                                  [  OK  ]
> >>
> >> If I start ypbind by itself from a command line, it always succeeds. I 
> >> verify the successes and failures with ps, ypwhich and ypcat commands.
> >>
> >> Anyone have a clue as to what is going on here? I've been looking for 
> >> some indication in some log, but haven't found any. The goal is to get 
> >> the init script to succeed on boot up. (The init script gives the same 
> >> messages at bootup as it does when run with "start" from the command
> >> line.)
> >>
> >> Thanks!
> >>
> >> Andrew Robinson
> >>
> >    Try chkconfig ypbind on and when you reboot it will be on and stay on.
> > 
> I chkconfig'ed it on at the start of all this. The problem seems to lie 
> in the init script itself. As I noted, the init script fails at boot and 
> when I run it from the command line with the "start" option.
> 
> Any idea how I can figure out what is happening in the init script? I 
> can't find any indication in any log files and when I tried stepping 
> through the commands on the command line, they all seemed to work.
> 
> Andrew
> 
I would be amazed the the bind faile without producing some kind of log
message. Are you sure none is produced?
I would try: tail -f /var/log/messages when you run the script start and
be sure.
--
=======================================================================
Drink Canada Dry! You might not succeed, but it *__is* fun trying.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam sbcglobal net


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]