Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Tom Haynes on March 25, 2011, 02:11:34 AM

Title: Mailman problem after update
Post by: Tom Haynes on March 25, 2011, 02:11:34 AM
Greetings...

I applied updates on my 7.5.1 SME server, and it seems to have broken my installation of smeserver-mailman.

Mailman CGI error!!!
The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:

Group mismatch error. Mailman expected the CGI wrapper script to be
executed as one of the following groups:
[apache],

What should I do to get this going again?

Thanks...   Tom
Title: Re: Mailman problem after update
Post by: CharlieBrady on March 25, 2011, 03:07:36 AM
What should I do to get this going again?

You should report any problems with contribs via the Contribs section of the bug tracker.
Title: Re: Mailman problem after update
Post by: ricks1950 on March 25, 2011, 04:06:59 AM
I already opened this bug in bug tracker a few days ago, and have received no response of any kind. 

How do we get Mailman working again?

 The command line functions are still there, and the established lists are functional, BUT users cannot opt out using the web pages, and administration has to be done via command line on the server console or via SSH -- not terribly convenient.
Title: Re: Mailman problem after update
Post by: CharlieBrady on March 25, 2011, 01:29:36 PM
I already opened this bug in bug tracker a few days ago, and have received no response of any kind. 

Please post a link to the bug report here.

Quote
How do we get Mailman working again?

Get the mailman contrib maintainer to diagnose and fix the problem. Or find a new mailman contrib maintainer.

Title: Re: Mailman problem after update
Post by: Tom Haynes on March 25, 2011, 03:29:20 PM
Here is the bug report in the tracker.

http://bugs.contribs.org/show_bug.cgi?id=6582
Title: Re: Mailman problem after update
Post by: ricks1950 on March 25, 2011, 04:15:08 PM
There is a version of Mailman that worked, and it has been replaced by one that does not.  How do we roll back to the one that worked until someone gets around to fixing the package?

I have customers using the server and the package.  Finding a new package maintainer is not a particularly quick or easy solution from our end.
Title: Re: Mailman problem after update
Post by: CharlieBrady on March 25, 2011, 04:50:47 PM
There is a version of Mailman that worked, and it has been replaced by one that does not.  How do we roll back to the one that worked until someone gets around to fixing the package?

Remove the one which doesn't work (using "rpm -e", or, probably, "rpm -e --nodeps") and then installing the one which does work.
Title: Re: Mailman problem after update
Post by: Stefano on March 25, 2011, 04:56:47 PM
WARNING this may damage yuor mailman seutp.. everything works as expected for me, YMMV

- download correct rpm from a SME mirror (for example from here: http://mirror.contribs.org/releases/7.5.1/smecontribs/i386/RPMS/mailman-2.1.5.1-34.rhel4.6.el4.sme.i386.rpm)
- remove the current one with
Code: [Select]
rpm -e --nodeps mailman
- install the old rpm form hd with
Code: [Select]
yum localinstall path_to_mailman_rpm
- restore old conf with
Code: [Select]
cp /usr/lib/mailman/Mailman/mm_cfg.py.rpmsave /usr/lib/mailman/Mailman/mm_cfg.py
- restart mailman service
Code: [Select]
service mailman restart
- check everything is working
- enjoy

P.S.: remember not to update mailman rpm with --exclude=mailman

Edit by cactus, pointed to the general mirroradress.
Title: Re: Mailman problem after update
Post by: cactus on March 25, 2011, 05:00:06 PM
I think this might also work:

Code: [Select]
yum downgrade mailman
Title: Re: Mailman problem after update
Post by: Stefano on March 25, 2011, 05:04:27 PM
I think this might also work:

Code: [Select]
yum downgrade mailman

D O H

never tried myself, I will try asap :-)

thank you
Title: Re: Mailman problem after update
Post by: cactus on March 25, 2011, 05:05:30 PM
D O H
L O L
Title: Re: Mailman problem after update
Post by: CharlieBrady on March 25, 2011, 05:08:35 PM
Guys, remember to please update the bug report, both with this workaround recommendation, and any results of trying it.

Since it seems you use mailman, perhaps you could step in as mailman contrib maintainer.
Title: Re: Mailman problem after update
Post by: Stefano on March 25, 2011, 05:20:20 PM
I think this might also work:

Code: [Select]
yum downgrade mailman

in SME 7.5.1 there's no "downgrade" flag :-(
Title: Re: Mailman problem after update
Post by: cactus on March 25, 2011, 05:21:21 PM
in SME 7.5.1 there's no "downgrade" flag :-(
OK, than you will have to use your original instruction, this might be a option that is implemented in later releases as it seems to be available in SME Server 8.x.
Title: Re: Mailman problem after update
Post by: Stefano on March 25, 2011, 05:22:16 PM
Guys, remember to please update the bug report, both with this workaround recommendation, and any results of trying it.

Since it seems you use mailman, perhaps you could step in as mailman contrib maintainer.

Charlie.. the problem is well explained in mailman (the one in smecontribs repo) changelog:
Quote
Changelog by Shad L. Lords (2008-04-20):
- SME Server apache runs as www:www, not apache:apache [SME: 92]

IIRC there's a bug for this issue (different user for apache) in SME8 but I don't know if has been backported to SME 7.5.1
Title: Re: Mailman problem after update
Post by: CharlieBrady on March 25, 2011, 05:29:51 PM
Charlie.. the problem is well explained in mailman (the one in smecontribs repo) changelog:

Having a problem well described in a change log does very little to prevent users from having problems.

OP had a problem. How could that have been prevented, or automatically rectified.

All followup to the bug tracker  please.
Title: Re: Mailman problem after update
Post by: chris burnat on March 25, 2011, 11:45:35 PM
There is no benefits continuing this discussion here when a Bug has been opened, it only creates confusion (i.e. is it version 7 or version 8...). 
Please follow up at Bugzilla ---->  http://bugs.contribs.org/show_bug.cgi?id=6582.  When resolved, announce it here.
Thanks.
Title: Re: Mailman problem after update
Post by: chaloner on April 14, 2011, 06:52:37 PM
There is a version of Mailman that worked, and it has been replaced by one that does not.  How do we roll back to the one that worked until someone gets around to fixing the package?

I have customers using the server and the package.  Finding a new package maintainer is not a particularly quick or easy solution from our end.

I have the rpm's that work. Just uninstallled and re-installed them to be sure. They are working just fine. Do you need them? I can set up a tarball for you to download if you need.
Title: Re: Mailman problem after update
Post by: CharlieBrady on April 14, 2011, 07:22:03 PM
I have the rpm's that work. Just uninstallled and re-installed them to be sure. They are working just fine. Do you need them? I can set up a tarball for you to download if you need.

chaloner, please attach the rpms to the bug report.
Title: Re: Mailman problem after update
Post by: chaloner on April 14, 2011, 08:04:01 PM
I will load up a tarball with the name mailman.tar right now at ftp://chaloner.ca

Hi Charlie...

Chal
Title: Re: Mailman problem after update
Post by: chaloner on April 14, 2011, 08:18:37 PM
Done!
Title: Re: Mailman problem after update
Post by: Stefano on April 14, 2011, 09:04:38 PM
Done!

Chal, as Charlie told you, please attach your rpms to the bug, thank you
your tar is useless if not in bugzilla
Title: Re: Mailman problem after update
Post by: chaloner on April 14, 2011, 09:43:56 PM
I am sorry I have not done that before. Can you not just download it and post it yourself please...

Chal
Title: Re: Mailman problem after update
Post by: Stefano on April 14, 2011, 09:51:15 PM
I'm sorry, but I can't connect to your server.. :-)

Title: Re: Mailman problem after update
Post by: chaloner on April 15, 2011, 01:03:22 AM
My server is working just fine... ftp://chaloner.ca/mailman.tar

I tried to upload this file and it times out. Tried twice... this is all I can do... sorry...

Chal
Title: Re: Mailman problem after update
Post by: chris burnat on April 15, 2011, 01:42:36 AM
Here is the problem I think:
The file you are trying to attach is 7280 kilobytes (KB) in size. Non-patch attachments cannot be more than 1000 KB.
We recommend that you store your attachment elsewhere and then insert the URL to it in a comment, or in the URL field for this bug.
Alternately, if your attachment is an image, you could convert it to a compressible format like JPG or PNG and try again.

Title: Re: Mailman problem after update
Post by: ricks1950 on April 18, 2011, 03:27:07 AM
I've got to say, I'm really quite confused.  I have just reread the bugs, and this thread, and I cannot tell if Mailman is going to install on 8.0 or not, or it the basic issue will be resolved or not. 

I got it working on 7.51 by downgrading the mailman rpm to an earlier version, as suggested.  If I follow the installation procedure from the wiki on 8.0, the smeserver-mailman package is not found, and to get mailman to work, you have to configure some files that appear to be set up by templates. 

If the old smeserver-mailman rpm can be installed locally, I would be happy to do so.  Some clarity would be appreciated.