[Mailman-Users] Mailman on Solaris8
Len Merikanto
lennu at tietoverkot.net
Fri May 4 18:10:48 CEST 2001
On Fri, 4 May 2001, Barry A. Warsaw wrote:
>
> >>>>> "LM" == Len Merikanto <lennu at tietoverkot.net> writes:
>
> | choose_boundary
> | hostid = socket.gethostbyname(socket.gethostname())
> | error: host not found
>
> LM> Hostname is ok. domain name is ok.
>
> LM> What can this problem be?
>
> gethostname or gethostbyname is misconfigured? ;)
>
> Try this in straight Python:
>
> -------------------- snip snip --------------------
> % /usr/bin/python
> Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> from socket import *
> >>> gethostname()
> 'anthem'
> >>> gethostbyname(gethostname())
> '192.168.1.2'
> -------------------- snip snip --------------------
>
> Do you get the hostname and IP address as expected? If not, then it's
> a DNS, NIS, or /etc/hosts problem (i.e. a system configuration problem
> and not Python or Mailman).
>
> -Barry
>
Retried everything if i do everything from the scratch.
ie install mailman and do not upgrade it.
just install from scratch it works.
then when i copt all files from mailman dir on freebsd move them to
solaris reisntall mailman like upgrade it everything goes wrong.
and i get that error. also tried only just copy lists from lists dir of
freebsd mailman and the mm_cfg.py from Mailman dir into solaris
i get it halfly working. i can see listinfo but cannot admin nor do
anything to lists.
Len Merikanto, Phone: +358968691950
Tietoverkot Oy Mobile: +358409008494
Munkkisaarenkatu 2 Fax: +358968691935
00150 Helsinki, Finland
More information about the Mailman-Users
mailing list