Well-Known Member
Aug 16, 2001
when somebody try to subscribe to the mailing list it gave an error:
&Bug in Mailman version 2.0.10

We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs. &

When I look at the mailmain error logs, this is what it say
&May 29 16:44:22 2002 admin(4370): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(4370): [----- Mailman Version: 2.0.10 -----]
admin(4370): [----- Traceback ------]
admin(4370): Traceback (innermost last):
admin(4370): File &/usr/local/cpanel/3rdparty/mailman/scripts/driver&, line 96, in run_main
admin(4370): main()
admin(4370): File &/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/, line 76, in main
admin(4370): process_form(mlist, doc)
admin(4370): File &/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/, line 187, in process_form
admin(4370): mlist.AddMember(email, pw, digest, remote)
admin(4370): File &/usr/local/cpanel/3rdparty/mailman/Mailman/, line 1005, in AddMember
admin(4370): text)
admin(4370): File &/usr/local/cpanel/3rdparty/mailman/Mailman/, line 211, in __init__
admin(4370): OutgoingMessage.__init__(self, text)
admin(4370): File &/usr/local/cpanel/3rdparty/mailman/Mailman/, line 205, in __init__
admin(4370): self['Message-ID'] = Utils.make_msgid(idstring='Mailman')
admin(4370): File &/usr/local/cpanel/3rdparty/mailman/Mailman/, line 764, in make_msgid
admin(4370): idhost = socket.gethostbyaddr(socket.gethostname())[0]
admin(4370): error: host not found
admin(4370): [----- Python Information -----]
admin(4370): sys.version = 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 20000731 (Red Hat Linux 7.1 2
admin(4370): sys.executable = /usr/bin/python
admin(4370): sys.prefix = /usr
admin(4370): sys.exec_prefix= /usr
admin(4370): sys.path = /usr
admin(4370): sys.platform = linux-i386
admin(4370): [----- Environment Variables -----]
admin(4370): DOCUMENT_ROOT: /home/username/public_html
admin(4370): SERVER_ADDR:
admin(4370): HTTP_ACCEPT_ENCODING: gzip, deflate
admin(4370): CONTENT_LENGTH: 82
admin(4370): CONTENT_TYPE: application/x-www-form-urlencoded
admin(4370): PATH_TRANSLATED: /home/username/public_html/
admin(4370): REMOTE_ADDR:
admin(4370): SERVER_SOFTWARE: Apache/1.3.23 (Unix) mod_gzip/ mod_bwlimited/1.0 PHP/4.1.2 mod_log_bytes/0.3 FrontPage/ mod_ssl/2.8.7 Ope$
admin(4370): HTTP_ACCEPT_LANGUAGE: en-us
admin(4370): GATEWAY_INTERFACE: CGI/1.1
admin(4370): SERVER_PORT: 80
admin(4370): HTTP_CONNECTION: Keep-Alive
admin(4370): HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461)
admin(4370): HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/, application/, application/msword$
admin(4370): REQUEST_URI: /mailman/subscribe/
admin(4370): HTTP_CACHE_CONTROL: no-cache
admin(4370): QUERY_STRING:
admin(4370): SERVER_PROTOCOL: HTTP/1.1
admin(4370): PATH_INFO: /
admin(4370): HTTP_HOST:
admin(4370): SERVER_SIGNATURE: &ADDRESS&Apache/1.3.23 Server at Port 80&/ADDRESS&

admin(4370): SCRIPT_NAME: /mailman/subscribe
admin(4370): SERVER_ADMIN: [email protected]
admin(4370): SCRIPT_FILENAME: /usr/local/cpanel/3rdparty/mailman/cgi-bin/subscribe
admin(4370): PYTHONPATH: /usr/local/cpanel/3rdparty/mailman
admin(4370): HTTP_REFERER:
admin(4370): SERVER_NAME:
admin(4370): REMOTE_PORT: 3492&

I tried to upgrade python but this didn't solved the problem.
Can anybody help me here?


Well-Known Member
Aug 12, 2001
This appears to be the root of the error:

admin(4370): idhost = socket.gethostbyaddr(socket.gethostname())[0]
admin(4370): error: host not found

Is this a new machine? Is the hostname valid? What about the actual domain name that owns the list?


Well-Known Member
Aug 16, 2001
Hi Annete
Its not a new server, neither a new account, it used to works ok, but sudelly stoped :(


Well-Known Member
Verifed Vendor
Nov 9, 2001
San Clemente, Ca
cPanel Access Level
DataCenter Provider
i just fixed this problem for ZUI you dont happen to be at VOSN are you?

here's the fix i found. First off if your at VOSN they are going thru some changes (moving datacenters i beleive) and well their ip's on the machines are a mess. run /scripts/fixmailmanwithsuexec and make sure that the ip it returns is the true base ip of the server. If it is then good. What i did was this.

1. I moved /usr/local/cpanel/3rdparty/mailman to /usr/local/cpanel/3rdparty/mailman-old
2. Then ran /scripts/upcp (this will rebuild mailman)
3. Then you have to copy all the data out of the old mailmain folder to the new one.

If you want email me your root password and ip address and a test mailman admin url and i will fix. [email protected]


Well-Known Member
Aug 16, 2001
Yes, its server at VOSN

I tried what you said:

1. /scripts/fixmailmanwithsuexec resolved to a IP on the server
2. I moved /usr/local/cpanel/3rdparty/mailman to /usr/local/cpanel/3rdparty/mailman-old
3. Then ran /scripts/upcp (this will rebuild mailman)
4. Moved mailmain-old/lists/ mailmain-old/data/ and mailmain-old/archives to the new mailmain folder, but I still get

File &/usr/local/cpanel/3rdparty/mailman/scripts/driver&, line 96, in run_main
admin(10048): main()
admin(10048): File &/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/, line 76, in main
admin(10048): process_form(mlist, doc)
admin(10048): File &/usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/, line 187, in process_form
admin(10048): mlist.AddMember(email, pw, digest, remote)
admin(10048): File &/usr/local/cpanel/3rdparty/mailman/Mailman/, line 1005, in AddMember
admin(10048): text)
admin(10048): File &/usr/local/cpanel/3rdparty/mailman/Mailman/, line 211, in __init__
admin(10048): OutgoingMessage.__init__(self, text)
admin(10048): File &/usr/local/cpanel/3rdparty/mailman/Mailman/, line 205, in __init__
admin(10048): self['Message-ID'] = Utils.make_msgid(idstring='Mailman')
admin(10048): File &/usr/local/cpanel/3rdparty/mailman/Mailman/, line 769, in make_msgid
admin(10048): idhost = socket.gethostbyaddr(socket.gethostname())[0]
admin(10048): error: host not found
[/quote:34b7a0542e] :(