Koozali.org: home of the SME Server

Mailman problem after update

Offline Tom Haynes

  • *
  • 9
  • +0/-0
Mailman problem after update
« 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Mailman problem after update
« Reply #1 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.

Offline ricks1950

  • **
  • 40
  • +0/-0
Re: Mailman problem after update
« Reply #2 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.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Mailman problem after update
« Reply #3 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.


Offline Tom Haynes

  • *
  • 9
  • +0/-0
Re: Mailman problem after update
« Reply #4 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

Offline ricks1950

  • **
  • 40
  • +0/-0
Re: Mailman problem after update
« Reply #5 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.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Mailman problem after update
« Reply #6 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.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Mailman problem after update
« Reply #7 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.
« Last Edit: March 25, 2011, 04:59:12 PM by cactus »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Mailman problem after update
« Reply #8 on: March 25, 2011, 05:00:06 PM »
I think this might also work:

Code: [Select]
yum downgrade mailman
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Mailman problem after update
« Reply #9 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Mailman problem after update
« Reply #10 on: March 25, 2011, 05:05:30 PM »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Mailman problem after update
« Reply #11 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.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Mailman problem after update
« Reply #12 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 :-(

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Mailman problem after update
« Reply #13 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Mailman problem after update
« Reply #14 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Mailman problem after update
« Reply #15 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.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Mailman problem after update
« Reply #16 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.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
Re: Mailman problem after update
« Reply #17 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.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Mailman problem after update
« Reply #18 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.

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
Re: Mailman problem after update
« Reply #19 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

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
Re: Mailman problem after update
« Reply #20 on: April 14, 2011, 08:18:37 PM »
Done!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Mailman problem after update
« Reply #21 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

Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
Re: Mailman problem after update
« Reply #22 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

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Mailman problem after update
« Reply #23 on: April 14, 2011, 09:51:15 PM »
I'm sorry, but I can't connect to your server.. :-)


Offline chaloner

  • ****
  • 73
  • +0/-0
    • http://www.chaloner.ca
Re: Mailman problem after update
« Reply #24 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

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Mailman problem after update
« Reply #25 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.

- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline ricks1950

  • **
  • 40
  • +0/-0
Re: Mailman problem after update
« Reply #26 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.