Re: My unqualified host name

2008-09-23 Thread Jonathan Chen
On Tue, Sep 23, 2008 at 10:13:52AM -0700, Dánielisz László wrote:
> Hello!
> 
> I got the following error message on boot:
> 
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for 
> retry"
> 
> Do you have any idea?

Is the name "nyana" the DNS or in /etc/hosts?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My unqualified host name

2008-09-23 Thread Chuck Swiger

On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote:

I got the following error message on boot:

"nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
sleeping for retry"


Do you have any idea?


Yes, sendmail expects your machine to have working DNS and for the  
machine to have a valid FQDN.  Either set that up, or add  
sendmail_enable="NONE" to /etc/rc.conf to disable sendmail if you  
won't be using it...


Regards,
--
-Chuck

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


Re: My unqualified host name

2008-09-23 Thread perryh
> > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> > sleeping for retry"
>
> ... sendmail expects your machine to have working DNS and for
> the machine to have a valid FQDN.  Either set that up, or add  
> sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...

There is another approach, which is to ignore the message.  After
something like 3 repetitions, at something like a minute apart,
it will give up on qualifying its name.  Everything seems to work
just fine thereafter until the next boot, when the entire sequence
repeats.

This leads to the question of how to get sendmail -- or whatever
-- into the state where it will eventually land after the 3-miunte
delay, without the delay and the messages.  It seems as if this
ought not be all that difficult.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My unqualified host name

2008-09-23 Thread Dánielisz László
I can't check it right now but I'll asap.



- Original Message 
From: Jonathan Chen <[EMAIL PROTECTED]>
To: Dánielisz László <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, September 23, 2008 9:02:08 PM
Subject: Re: My unqualified host name

On Tue, Sep 23, 2008 at 10:13:52AM -0700, Dánielisz László wrote:
> Hello!
> 
> I got the following error message on boot:
> 
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for 
> retry"
> 
> Do you have any idea?

Is the name "nyana" the DNS or in /etc/hosts?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




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


Re: My unqualified host name

2008-09-23 Thread Dánielisz László
This one is set in rc.conf but I'll check once again when I arrive home.



- Original Message 
From: Chuck Swiger <[EMAIL PROTECTED]>
To: Dánielisz László <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, September 23, 2008 9:02:43 PM
Subject: Re: My unqualified host name

On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote:
> I got the following error message on boot:
>
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> sleeping for retry"
>
> Do you have any idea?

Yes, sendmail expects your machine to have working DNS and for the  
machine to have a valid FQDN.  Either set that up, or add  
sendmail_enable="NONE" to /etc/rc.conf to disable sendmail if you  
won't be using it...

Regards,
-- 
-Chuck



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


Re: My unqualified host name

2008-09-23 Thread Dánielisz László
True, the system boots without any problem but its annoying to wait for that 
failure. 



- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, September 24, 2008 7:05:16 AM
Subject: Re: My unqualified host name

> > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> > sleeping for retry"
>
> ... sendmail expects your machine to have working DNS and for
> the machine to have a valid FQDN.  Either set that up, or add  
> sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...

There is another approach, which is to ignore the message.  After
something like 3 repetitions, at something like a minute apart,
it will give up on qualifying its name.  Everything seems to work
just fine thereafter until the next boot, when the entire sequence
repeats.

This leads to the question of how to get sendmail -- or whatever
-- into the state where it will eventually land after the 3-miunte
delay, without the delay and the messages.  It seems as if this
ought not be all that difficult.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




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


RE: My unqualified host name

2008-09-24 Thread FBSD1
Simple solution is to add
hostname="nyana.com"
to rc.conf  then everything is happy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dánielisz László
Sent: Wednesday, September 24, 2008 2:40 PM
To: freebsd-questions@freebsd.org
Subject: Re: My unqualified host name

True, the system boots without any problem but its annoying to wait for that
failure.



- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, September 24, 2008 7:05:16 AM
Subject: Re: My unqualified host name

> > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;
> > sleeping for retry"
>
> ... sendmail expects your machine to have working DNS and for
> the machine to have a valid FQDN.  Either set that up, or add
> sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...

There is another approach, which is to ignore the message.  After
something like 3 repetitions, at something like a minute apart,
it will give up on qualifying its name.  Everything seems to work
just fine thereafter until the next boot, when the entire sequence
repeats.

This leads to the question of how to get sendmail -- or whatever
-- into the state where it will eventually land after the 3-miunte
delay, without the delay and the messages.  It seems as if this
ought not be all that difficult.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




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

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


Re: My unqualified host name

2008-09-24 Thread Robert Huff

[EMAIL PROTECTED] writes:

>  > > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
>  > > sleeping for retry"
>  >
>  > ... sendmail expects your machine to have working DNS and for
>  > the machine to have a valid FQDN.  Either set that up, or add  
>  > sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...
>  
>  There is another approach, which is to ignore the message.  After
>  something like 3 repetitions, at something like a minute apart,
>  it will give up on qualifying its name.  Everything seems to work
>  just fine thereafter until the next boot, when the entire
>  sequence repeats.

Respectfully, my gut reaction is this is, if not /bad/ practice,
at least not /good/ practice.  The requirements for geting sendmail
to behave (at least in this regard) are not particularly onerous;
why not just diagnose and fix the root problem?


Robert Huff


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


Re: My unqualified host name

2008-09-24 Thread Dánielisz László
As I promised I came back with the answer, he simple thing to stop sendmail on 
boot works and now I have no longer that annoying message :) 



- Original Message 
From: Chuck Swiger <[EMAIL PROTECTED]>
To: Dánielisz László <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, September 23, 2008 9:02:43 PM
Subject: Re: My unqualified host name

On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote:
> I got the following error message on boot:
>
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> sleeping for retry"
>
> Do you have any idea?

Yes, sendmail expects your machine to have working DNS and for the  
machine to have a valid FQDN.  Either set that up, or add  
sendmail_enable="NONE" to /etc/rc.conf to disable sendmail if you  
won't be using it...

Regards,
-- 
-Chuck

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




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


Re: My unqualified host name

2008-09-24 Thread perryh
> >  > > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> >  > > sleeping for retry"
> >  >
> >  > ... sendmail expects your machine to have working DNS and for
> >  > the machine to have a valid FQDN.  Either set that up, or add  
> >  > sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...
> >  
> >  There is another approach, which is to ignore the message.  After
> >  something like 3 repetitions, at something like a minute apart,
> >  it will give up on qualifying its name.  Everything seems to work
> >  just fine thereafter until the next boot, when the entire
> >  sequence repeats.
>
>Respectfully, my gut reaction is this is, if not /bad/ practice,
> at least not /good/ practice.  The requirements for geting sendmail
> to behave (at least in this regard) are not particularly onerous;

If sendmail *will not work properly* without a valid FQDN, that alone
is onerous.  See below.

> why not just diagnose and fix the root problem?

because I have no clue how to do it, without adopting settings that
I don't want!

Dunno about the OP, but my FreeBSD machines do not have nor need
valid FQDNs because they sit behind a NAT firewall (and therefore
do not have externally-identifiable IP addresses).  I want hostname
to simply return the unqualified host name (say, foo), not foo.com
nor foo.uucp nor even foo.bogus.  I don't need sendmail to handle
anything but purely local traffic, such as the periodic reports to
root, and it's just fine for it to identify itself simply as foo.
We were able to do things like this back in the days of SunOS 4, so
why should it be difficult to accomplish today?  Indeed, why should
it not be the default mode of operation when hostname returns an
unqualified name?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My unqualified host name

2008-09-24 Thread Olivier Nicole
> > why not just diagnose and fix the root problem?
> 
> because I have no clue how to do it, without adopting settings that
> I don't want!

Google is your friend my friend (please allow me to call you my
friend).

If you look for "My unqualified host name" "unknown; sleeping for
retry" you will get a lot of possible answers; some suggesting to add
your unqualified host name in /etc/hosts.

Best regards,

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


Re: My unqualified host name

2008-09-26 Thread perryh
> If you look for "My unqualified host name" "unknown; sleeping for
> retry" you will get a lot of possible answers; some suggesting to
> add your unqualified host name in /etc/hosts.

That line is already in /etc/hosts, both with and without a trailing
period.  I still get the ~3 messages about a minute apart during boot.

The first 4 lines of /etc/hosts look like:

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


Re: My unqualified host name (localhost) unknown; sleeping for retry

2005-02-03 Thread Lowell Gilbert
Gert Cuykens <[EMAIL PROTECTED]> writes:

> how do you fix this ?
> 
> Feb  2 12:09:22 I sm-mta[699]: My unqualified host name (localhost)
> unknown; sle eping for retry

Make sure the host's names (including localhost) are defined in
/etc/hosts, and that /etc/hosts is being used in name resolution 
(on 5.3 that would be configuration via nsswitch.conf(5)).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My unqualified host name (localhost) unknown; sleeping for retry

2005-02-03 Thread Gert Cuykens
On Thu, 03 Feb 2005 06:34:37 -0800 (PST), Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Gert Cuykens <[EMAIL PROTECTED]> writes:
> 
> > how do you fix this ?
> >
> > Feb  2 12:09:22 I sm-mta[699]: My unqualified host name (localhost)
> > unknown; sle eping for retry
> 
> Make sure the host's names (including localhost) are defined in
> /etc/hosts, and that /etc/hosts is being used in name resolution
> (on 5.3 that would be configuration via nsswitch.conf(5)).
> 

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