[Mailman-Users] Problem with archiver after updating server.

Paul Rubin paul at rubinsoftware.com
Mon Nov 26 12:33:30 CET 2001

Ok, I finally figured out that I was reading the trace back backwards.  I
added a line to the code in makelink to print the names of the new and old
file specs involved in the links.  In moving the server the mailman files
were moved from /home/mailman to /var/mailman  The link it is trying to
create is from the private/list directory to the public/list directory.

What is happening is that it is trying to create the public/list directory
under /home instead of /var.  Where is this value coming from? and how can I
change it?

Thank you.

-----Original Message-----
From: mailman-users-admin at python.org
[mailto:mailman-users-admin at python.org]On Behalf Of Paul Rubin
Sent: Sunday, November 25, 2001 10:25 PM
To: mailman-users at python.org
Subject: [Mailman-Users] Problem with archiver after updating server.

I very recently upgraded my server, in the process I went from exim to
sendmail, I went from redhat 7.0 to redhat 7.2  I re-formatted the drive and
restored the mailman files from the backup.  I appear to have a problem of
some sort with the archiving.

can someone tell me how to diagnose this problem further, so that I can fix

Thank you.

admin(10855): [----- Traceback ------]
admin(10855): Traceback (innermost last):
admin(10855):   File "/var/mailman/scripts/driver", line 96, in run_main
admin(10855):     main()
admin(10855):   File "/var/mailman/Mailman/Cgi/admin.py", line 152, in main
admin(10855):     ChangeOptions(mlist, category, cgidata, doc)
admin(10855):   File "/var/mailman/Mailman/Cgi/admin.py", line 940, in
admin(10855):     mlist.DeleteMember(user)
admin(10855):   File "/var/mailman/Mailman/MailList.py", line 1184, in
admin(10855):     self.Save()
admin(10855):   File "/var/mailman/Mailman/MailList.py", line 861, in Save
admin(10855):     self.CheckHTMLArchiveDir()
admin(10855):   File "/var/mailman/Mailman/Archiver/Archiver.py", line 256,
in CheckHTMLArchiveDir
admin(10855):     makelink(privdir, pubdir)
admin(10855):   File "/var/mailman/Mailman/Archiver/Archiver.py", line 42,
in makelink
admin(10855):     os.symlink(old, new)
admin(10855): OSError: [Errno 2] No such file or directory
admin(10855): [----- Python Information -----]
admin(10855): sys.version    = 1.5.2 (#1, Jul  5 2001, 03:02:19)  [GCC 2.96
20000731 (Red Hat Linux 7.1 2
admin(10855): sys.executable = /usr/bin/python
admin(10855): sys.prefix     = /usr
admin(10855): sys.exec_prefix= /usr
admin(10855): sys.path       = /usr
admin(10855): sys.platform   = linux-i386
admin(10855): [----- Environment Variables -----]
admin(10855):  DOCUMENT_ROOT: /var/www/html
admin(10855):  SERVER_ADDR:
admin(10855):  HTTP_ACCEPT_ENCODING: gzip
admin(10855):  CONTENT_LENGTH: 3166
admin(10855):  CONTENT_TYPE: application/x-www-form-urlencoded
admin(10855):  PATH_TRANSLATED: /var/www/html/dialingdave/members
admin(10855):  REMOTE_ADDR:
admin(10855):  SERVER_SOFTWARE: Apache/1.3.20 (Unix)  (Red-Hat/Linux)
mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01
admin(10855):  GATEWAY_INTERFACE: CGI/1.1
admin(10855):  HTTP_COOKIE:
admin(10855):  HTTP_ACCEPT_LANGUAGE: en
admin(10855):  REMOTE_PORT: 1450
admin(10855):  SERVER_PORT: 80
admin(10855):  HTTP_CONNECTION: Keep-Alive
admin(10855):  HTTP_USER_AGENT: Mozilla/4.77 [en] (Win98; U)
admin(10855):  HTTP_ACCEPT_CHARSET: iso-8859-1,*,utf-8
admin(10855):  HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, image/png, */*
admin(10855):  REQUEST_URI: /mailman/admin/dialingdave/members
admin(10855):  QUERY_STRING:
admin(10855):  SERVER_PROTOCOL: HTTP/1.0
admin(10855):  PATH_INFO: /dialingdave/members
admin(10855):  HTTP_HOST: www1.rubinsoftware.com
admin(10855):  REQUEST_METHOD: POST
admin(10855):  SERVER_SIGNATURE: <ADDRESS>Apache/1.3.20 Server at
www1.rubinsoftware.com Port 80</ADDRESS>

admin(10855):  SCRIPT_NAME: /mailman/admin
admin(10855):  SERVER_ADMIN: root at localhost
admin(10855):  SCRIPT_FILENAME: /var/mailman/cgi-bin/admin
admin(10855):  PYTHONPATH: /var/mailman
admin(10855):  HTTP_REFERER:
admin(10855):  SERVER_NAME: www1.rubinsoftware.com

Mailman-Users maillist  -  Mailman-Users at python.org

More information about the Mailman-Users mailing list