Re: NTPD hangs on boot

2004-06-04 Thread Bill Campbell
On Fri, Jun 04, 2004, Giorgos Keramidas wrote:
>On 2004-06-03 20:59, Edward Carmody <[EMAIL PROTECTED]> wrote:
>>
>> Recently did a cvsup and make world procedure, have a couple glitches.
>
>- Which version of FreeBSD are you running?
>
>- What version did you update to?

In my experience, ntp hanging on boot usually means the network is down
and/or DNS isn't working properly.  The AMD automounter does the same
thing.

My usual workaround it to boot into single user mode, and add exit commands
to the startup scripts for ntp and amd so they don't attempt to start.
Once I have everything on the network working, most particularly DNS, then
I remove these exit commands.

On machines running SYSV scripts (e.g. OpenPKG.org things on FreeBSD) that
aren't generally on the network, I put an exit immediately after the
``start'' case where I can comment it out to start the service when on the
network.  This allows the ``stop'' function to work properly if the service
is running, preventing locking problems that might occur if the exit were
at the top of the script.

-- 
Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``My reading of history convinces me that most bad government results
from too much government.'' --Thomas Jefferson.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NTPD hangs on boot

2004-06-04 Thread Giorgos Keramidas
On 2004-06-03 20:59, Edward Carmody <[EMAIL PROTECTED]> wrote:
>
> Recently did a cvsup and make world procedure, have a couple glitches.

- Which version of FreeBSD are you running?

- What version did you update to?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NTPD hangs on boot

2004-06-04 Thread Edward Carmody
Hi,

Recently did a cvsup and make world procedure, have a couple glitches.

NTP will no longer start by enabling it in rc.conf.  At each boot I see the
"starting nptd"...and then nothing; the booting process hangs.  I have to
kill nptd via ctrl-c.  Then boot process proceeds normally.  I can manually
start nptd from the command line, and it starts, runs and syncs up normally.

Probably related, after the make world, sendmail also gave me trouble,
complaining that it could find file after configuration file (all of which
existed).  Then it would inform me that "Recipient names must be specified"
as if I was trying to use sendmail to send a message.  I screwed around with
this for a while, to no avail, then just installed postfix 'cause I missed
my mail server too much.  That fixed the issue with sendmail hanging up the
boot.

Any clues to what I might have done wrong, or neglected to do?  I'm puzzled,
have man'd, googled, and not found much...


/ed

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"