Re: [Mailman-Users] mailman cgi error after server restart

2015-10-08 Thread Kai Liu
Thanks Mark and Adam. I folloed Mark's guide and the mailman works now.

Best regards,

On Wed, Oct 7, 2015 at 8:31 PM, Mark Sapiro  wrote:

> On 10/06/2015 07:25 PM, Kai Liu wrote:
> >
> > 1) it says I could re-run configure, but I have run this about 4 years
> and
> > have many mail list. If I re-run configure, will I lose some data?
>
>
> Running configure, make and make install will not result in data loss,
> but you should stop Mailman before make install and start it after.
>
> If you have local mods to the Mailman code or you made settings in
> Defaults.py instead of mm_cfg.py, there can be loss of those things, so
> make your settings in mm_cfg.py and if you have modes to running code,
> be sure you know what they are so you can reapply them.
>
>
> > 2) How to run the postfix as group "daemon"?
>
>
> Postfix is not the issue in your original post. Your OP referred to a
> CGI wrapper group mismatch, not a mail wrapper group mismatch.
>
> You can set the group in Apache with Apache's Group directive, but this
> is a global setting. In Apache 2.4, there is also a VHostGroup directive
> that applies only to a VirtualHost, but not in older versions. See
> <http://httpd.apache.org/docs/>.
>
> For Postfix, if delivery is via aliases, postfix will run the pipe in a
> Mailman alias as the user and group of the owner of the aliases.db file
> in which the alias is found. Note this is the primary group of the owner
> of the file, not the group of the file.
>
> --
> 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/kliu.gis%40gmail.com
>



-- 

Kai Liu
Ph.D. student
Department of Geography and GeoInformation Science
George Mason University
--
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] mailman cgi error after server restart

2015-10-07 Thread Kai Liu
Hi guys,

My server is Red Hat Enterprise Linux ES release 4. I installed mailman
2.1.3 and postfix. It has worked for 4 years. Yesterday I restarted the
server, but found I can not go to thehttp://MyDomain/mailman/create
<http://mydomain/mailman/create> page. It shows the following error:

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 group "daemon", but
the system's web server executed the CGI script as
group "apache".  Try tweaking the web server to run the
script as group "daemon", or re-run configure,
providing the command line option `--with-cgi-gid=apache'.


1) it says I could re-run configure, but I have run this about 4 years and
have many mail list. If I re-run configure, will I lose some data?

2) How to run the postfix as group "daemon"?

This question is also available at:
http://stackoverflow.com/questions/32982074/mailman-cgi-error-after-server-restart
-- 

Kai Liu
Ph.D. student
Department of Geography and GeoInformation Science
George Mason University
--
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