On Fri, 20 Jun 2003 17:24:07 -0700 (PDT), Gerardo Arnaez
<[EMAIL PROTECTED]> wrote:

>   File "/usr/local/src/tmda/bin/tmda-ofmipd", line
> 990, in __init__
>     self.bind(localaddr)
>   File "/usr/lib/python2.2/asyncore.py", line 307, in
> bind
>     return self.socket.bind (addr)
> socket.error: (99, 'Cannot assign requested address')

That sounds like a DNS error.  Instead of just binding to 127.0.0.1 or
localhost, tmda-ofmipd actually looks up the server's domain name and
then uses that.  If the domain name doesn't actually map to an IP
address on your server, then the bind will fail.

To test this theory, first you will need to find out what domain name
tofmipd is trying to map to.  Do this:

$ python
Python 2.2.2 (#3, Jun 16 2003, 19:11:56)
[GCC 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getfqdn()
'some.domain.name'

Verify that some.domain.name is correct and that the FQDN should be on
your box.

Second, find out the IP address associated with this FQDN.  Depending
on your DNS package, the tool may vary.  For example, if you have
djbdns, you can simply type:

$ dnsip some.domain.name
XX.XX.XX.XX

Otherwise you can use host:
$ host some.domain.name
some.domain.name has address XX.XX.XX.XX

Either way, if XX.XX.XX.XX does not look right, then you have not
properly changed over your IP address.  FIX YOUR DNS.

Gre7g.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to