Re: [Mailman-Users] Private archive file not found
Thanks Mark. I ended up deleting and starting from scratch On Tue, May 8, 2018 at 11:36 AM, Mark Sapirowrote: > On 05/07/2018 08:58 AM, David Doonan wrote: > > > > Exploring the server via SFTP, this troublesome list only has one > folder, with a sub-folder called attachments. > > > > The rest of the lists are set up correctly, with two folders, one with > the name of the list and the second with the name of the list and .mbox as > a suffix. > > > > The troublesome list is not new; it was created a decade or more ago. > Can’t believe that no has complained about the lack of archives. > > > > Is there a solution other than to re-install? > > It is possible that something was somehow deleted or lost from the > archive. If you have any older backups, you might look for them. > > If not, if you have shell access, rather than just SFTP, what you need > to do is create the archives/private/LISTNAME.mbox directory and an > empty archives/private/LISTNAME.mbox/LISTNAME.mbox file. These should > have the same ownership and permissions as the ones for other lists, in > particular drwxrwsr-x for the directory and -rw-rw-r-- for the file and > mailman's group for both. > > Then run Mailman's > > bin/arch --wipe LISTNAME > > and that will create the (empty) archive. > > Alternatively, you can back up the lists/LISTNAME/ directory, containing > the config.pck and other files. Then delete the list or just remove the > lists/LISTNAME/ directory and then create the list and replace the > lists/LISTNAME/ directory with the one you backed up. This should cerate > the list with a "proper" empty archive and then restoring the > lists/LISTNAME/ directory and contents will restore the list config and > membership. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, Californiabetter use your sense - B. Dylan > -- > Mailman-Users mailing list Mailman-Users@python.org > https://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: http://www.mail-archive.com/ > mailman-users%40python.org/ > Unsubscribe: https://mail.python.org/mailman/options/mailman-users/ > dadoonan%40gmail.com > -- David Doonan 3 Gray Avenue #2 Greenwich, New York 12834 518-265-4030 -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Private archive file not found
ignore all. ended up deleting and reinstalling > On May 7, 2018, at 11:58 AM, David Doonanwrote: > > I manage a couple of dozen mailman lists, all of which are functioning > correctly except for one. > > When I go to the list archives, the following error message is displayed: >> Private archive file not found > > Tried changing the settings Archive Yes to No to Yes. > > Tried changing the settings from Private to Public to Private. > > Error message still appears. > > Exploring the server via SFTP, this troublesome list only has one folder, > with a sub-folder called attachments. > > The rest of the lists are set up correctly, with two folders, one with the > name of the list and the second with the name of the list and .mbox as a > suffix. > > The troublesome list is not new; it was created a decade or more ago. Can’t > believe that no has complained about the lack of archives. > > Is there a solution other than to re-install? > > david > > > > > > -- > Mailman-Users mailing list Mailman-Users@python.org > https://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > https://mail.python.org/mailman/options/mailman-users/dadoonan%40mac.com -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Private archive file not found
On 05/07/2018 08:58 AM, David Doonan wrote: > > Exploring the server via SFTP, this troublesome list only has one folder, > with a sub-folder called attachments. > > The rest of the lists are set up correctly, with two folders, one with the > name of the list and the second with the name of the list and .mbox as a > suffix. > > The troublesome list is not new; it was created a decade or more ago. Can’t > believe that no has complained about the lack of archives. > > Is there a solution other than to re-install? It is possible that something was somehow deleted or lost from the archive. If you have any older backups, you might look for them. If not, if you have shell access, rather than just SFTP, what you need to do is create the archives/private/LISTNAME.mbox directory and an empty archives/private/LISTNAME.mbox/LISTNAME.mbox file. These should have the same ownership and permissions as the ones for other lists, in particular drwxrwsr-x for the directory and -rw-rw-r-- for the file and mailman's group for both. Then run Mailman's bin/arch --wipe LISTNAME and that will create the (empty) archive. Alternatively, you can back up the lists/LISTNAME/ directory, containing the config.pck and other files. Then delete the list or just remove the lists/LISTNAME/ directory and then create the list and replace the lists/LISTNAME/ directory with the one you backed up. This should cerate the list with a "proper" empty archive and then restoring the lists/LISTNAME/ directory and contents will restore the list config and membership. -- Mark SapiroThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Private archive file not found
I manage a couple of dozen mailman lists, all of which are functioning correctly except for one. When I go to the list archives, the following error message is displayed: > Private archive file not found Tried changing the settings Archive Yes to No to Yes. Tried changing the settings from Private to Public to Private. Error message still appears. Exploring the server via SFTP, this troublesome list only has one folder, with a sub-folder called attachments. The rest of the lists are set up correctly, with two folders, one with the name of the list and the second with the name of the list and .mbox as a suffix. The troublesome list is not new; it was created a decade or more ago. Can’t believe that no has complained about the lack of archives. Is there a solution other than to re-install? david -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Private archive file not found
Thanks for the help. I found the problem. We had a new mod_security rule that was causing the problem. I fixed the rule, and everything's working again. Thanks, Rob On 11/2/06, Mark Sapiro [EMAIL PROTECTED] wrote: Rob Smithers wrote: That's what I thought at first, but the rewrite modules is disabled in the Apache config, and there are not even commented rewrite rules in the httpd.conf. I've checked through the directory structure, and there are no .htaccess files enabling mod_rewrite, or setting any rewrite rules. What's in Apache's logs for these GETs? Do you have any public archives? If so, do public archive URLs work? You could do some tests. Try manually entering URLs in your browser like http://example.com/bad/path/to/thread.html http://example.com/mailman/noscript/nolist/thread.html http://example.com/mailman/admin/thelist/thread.html and see what happens. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Private archive file not found
Hello, I'm hoping that one of you can shed some light on a problem that I'm having with several established mailing lists. I recently moved all of my lists over to an SSL based connection. After the move I foud that none of my list archives, public and private, are available. The archive files are being updated, and if I go ingot the html files on the server I can see all of the messages. The problem is that Mailman is trying to send all archive traffic to .php extensions when all of the archive files have .html extensions. If I try for a thread view, which should, according to the index.html file launch thread.html, Mailman tries to launch thread.php which doesn't exist. When I made the change to SSL I used the ./withlist -l -a -r fix_url command. The only change I made was to make the DEFAULT_URL_PATTERN setting https://... in the Defaults.py file. I'm not running Mod_Rewrite with Apache, and can't find any potential culprits other than Mailman itself. Does anyone know what might be causing this? I'm running Mailman version 2.1.9, with up to date Apache web server software on an up to date Linux OS. The standard permissions on my archive files are: drwxrwsr-x2 mailman mailman 4096 Sep 29 19:17 . drwxrwsr-x 10 webuser mailman 4096 Oct 16 03:27 .. -rw-rw-r--1 mailman mailman 7289 Sep 8 04:15 60.html -rw-rw-r--1 mailman mailman 7154 Sep 8 23:30 61.html -rw-rw-r--1 mailman mailman 4040 Sep 15 18:32 62.html -rw-rw-r--1 mailman mailman 6229 Sep 22 20:38 63.html -rw-rw-r--1 mailman mailman 3144 Sep 24 17:46 64.html -rw-rw-r--1 mailman mailman 6778 Sep 29 19:17 65.html -rw-rw-r--1 mailman mailman 5586 Sep 29 19:17 66.html -rw-rw-r--1 mailman mailman 2476 Sep 29 19:17 author.html -rw-rw-r--1 mailman mailman 2480 Sep 29 19:17 date.html lrwxrwxrwx1 mailman mailman11 Sep 2 17:45 index.html - thread.html -rw-rw-r--1 mailman mailman 2474 Sep 29 19:17 subject.html -rw-rw-r--1 mailman mailman 2637 Sep 29 19:17 thread.html Thanks for your help, Rob -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Private archive file not found
Rob Smithers wrote: The problem is that Mailman is trying to send all archive traffic to .php extensions when all of the archive files have .html extensions. If I try for a thread view, which should, according to the index.html file launch thread.html, Mailman tries to launch thread.php which doesn't exist. So, are you saying that you go to http://example.com/mailman/private/thelist/ and you get to the list's archive index file and there you find a 'thread' link to http://example.com/mailman/private/thelist/2006-November/thread.html and you try to go to that and get directed to the non-existent http://example.com/mailman/private/thelist/2006-November/thread.php instead? If so, I think this must be due to some rewrite rule in your Apache configuration. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Private archive file not found
On 11/2/06, Mark Sapiro [EMAIL PROTECTED] wrote: Rob Smithers wrote: The problem is that Mailman is trying to send all archive traffic to .php extensions when all of the archive files have .html extensions. If I try for a thread view, which should, according to the index.html file launch thread.html, Mailman tries to launch thread.php which doesn't exist. So, are you saying that you go to http://example.com/mailman/private/thelist/ and you get to the list's archive index file and there you find a 'thread' link to http://example.com/mailman/private/thelist/2006-November/thread.html and you try to go to that and get directed to the non-existent http://example.com/mailman/private/thelist/2006-November/thread.php instead? Yes, that's what currently happens. If so, I think this must be due to some rewrite rule in your Apache configuration. That's what I thought at first, but the rewrite modules is disabled in the Apache config, and there are not even commented rewrite rules in the httpd.conf. I've checked through the directory structure, and there are no .htaccess files enabling mod_rewrite, or setting any rewrite rules. Thanks, Rob -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Private archive file not found
Rob Smithers wrote: That's what I thought at first, but the rewrite modules is disabled in the Apache config, and there are not even commented rewrite rules in the httpd.conf. I've checked through the directory structure, and there are no .htaccess files enabling mod_rewrite, or setting any rewrite rules. What's in Apache's logs for these GETs? Do you have any public archives? If so, do public archive URLs work? You could do some tests. Try manually entering URLs in your browser like http://example.com/bad/path/to/thread.html http://example.com/mailman/noscript/nolist/thread.html http://example.com/mailman/admin/thelist/thread.html and see what happens. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Private archive file not found
I have the following problem with a new installation of mailman on CentOS Linux 4.1. I created my first list, and set the archives to be private. but when I try to access the archives, I get: Private archive file not found in the browser. moreover, in the mailman error log, I get the following: Jul 15 10:22:25 2005 (14959) Private archive file not found: /var/lib/mailman/archives/private/proba/ but it's all very strange, as the archives are actually there: $ ls -l /var/lib/mailman/archives/private/proba/ total 48 drwxrwsr-x 2 mailman mailman 4096 Jul 14 13:08 2005-July -rw-rw-r-- 1 mailman mailman 229 Jul 14 13:08 2005-July.txt -rw-rw-r-- 1 mailman mailman 232 Jul 15 03:27 2005-July.txt.gz drwxrws--- 2 mailman mailman 4096 Jul 14 13:08 database -rw-rw-r-- 1 rootmailman 1025 Jul 14 13:08 index.html -rw-rw 1 mailman mailman 845 Jul 14 13:08 pipermail.pck and also, if I set the archives to be public, they are accessible through the link to myserver.com/pipermail/... what could be the issue here? Akos -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Private archive file not found
On Fri, 2005-07-15 at 15:24 +0200, Ákos Maróy wrote: I have the following problem with a new installation of mailman on CentOS Linux 4.1. CentOS :-( I created my first list, and set the archives to be private. but when I try to access the archives, I get: Private archive file not found in the browser. moreover, in the mailman error log, I get the following: Jul 15 10:22:25 2005 (14959) Private archive file not found: /var/lib/mailman/archives/private/proba/ but it's all very strange, as the archives are actually there: $ ls -l /var/lib/mailman/archives/private/proba/ total 48 drwxrwsr-x 2 mailman mailman 4096 Jul 14 13:08 2005-July -rw-rw-r-- 1 mailman mailman 229 Jul 14 13:08 2005-July.txt -rw-rw-r-- 1 mailman mailman 232 Jul 15 03:27 2005-July.txt.gz drwxrws--- 2 mailman mailman 4096 Jul 14 13:08 database -rw-rw-r-- 1 rootmailman 1025 Jul 14 13:08 index.html -rw-rw 1 mailman mailman 845 Jul 14 13:08 pipermail.pck and also, if I set the archives to be public, they are accessible through the link to myserver.com/pipermail/... what could be the issue here? It might be an SELinux policy violation. Take a look in your /var/log/messages (or /var/log/audit/audit.log) file after you get the failure and see if there is avc message denying access (grep for avc:). I seem to recall a bug in an early version of selinux-policy-targeted related to private archives which was fixed a while ago by us. If you do see such a message the solution is to upgrade the selinux-policy-targeted rpm (or as a test you could put SELinux into permissive mode, but you really don't want to run an open server in permissive mode). -- John Dennis [EMAIL PROTECTED] -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp