Mailman init script doesn't work and webpage doesn't show list of lists
I am upgrading a list server from an old Fedora system to a RHEL 6.5 server and migration of mailman isn't going well. Mailman (on both systems) is installed with the RH provided RPM (mailman-2.1.12-18.el6.x86_64)
The first issue on the new server is that the mailman init script does not
function, fails with this message "Starting mailman: Site list is missing:
mailman". I can manually run bin/mailmanctl start
and the service seems
to start. Once the service is started I can get to the admin page and list
overview page but the page indicates that there are no publicly advertised
lists, even though all of the lists indicate "advertised = 1" in the dumpdb.
Here are some steps I've taken:
moved data/archive and mailman configs and Apache configs from old server to new updated URL's ./withlist -l -r fix_url list_name --urlhost=host2.domain.com Checked all settings in Default.py and mm_cfg.py updated /etc/aliases /usr/lib/mailman/bin/check_perms /usr/lib/mailman/bin/check_perms -f /usr/lib/mailman/bin/list_lists (displays the lists I migrated from the old server) /usr/lib/mailman/bin/dumpdb /var/lib/mailman/lists/list_name/config.pck
~/list_name /usr/lib/mailman/bin/config_list -o list_name-conf (compared to old server and everything looks in order)
If I create a newlist from the command line it is able to create the list and sends me an email, but I am unable to create lists from the web interface.
Any ideas?
Hi,
Have a look at the paths. I think RH installs things non-mailman style so maybe some files are in the wrong place for the rpm. I upgraded from mailman on RHEL3 to RHEL 6 and had these sort of issues.
regards
Steven Jones
Technical Specialist - Linux RHCE
Victoria University ITS,
Level 8 Rankin Brown Building,
Wellington, NZ
6012
0064 4 463 6272
From: Mailman-Users mailman-users-bounces+steven.jones=vuw.ac.nz@python.org on behalf of Jimmy g17jimmy@gmail.com Sent: Thursday, 12 June 2014 9:10 a.m. To: Mailman-Users@python.org Subject: [Mailman-Users] Mailman init script doesn't work and webpage doesn't show list of lists
I am upgrading a list server from an old Fedora system to a RHEL 6.5 server and migration of mailman isn't going well. Mailman (on both systems) is installed with the RH provided RPM (mailman-2.1.12-18.el6.x86_64)
The first issue on the new server is that the mailman init script does not
function, fails with this message "Starting mailman: Site list is missing:
mailman". I can manually run bin/mailmanctl start
and the service seems
to start. Once the service is started I can get to the admin page and list
overview page but the page indicates that there are no publicly advertised
lists, even though all of the lists indicate "advertised = 1" in the dumpdb.
Here are some steps I've taken:
moved data/archive and mailman configs and Apache configs from old server to new updated URL's ./withlist -l -r fix_url list_name --urlhost=host2.domain.com Checked all settings in Default.py and mm_cfg.py updated /etc/aliases /usr/lib/mailman/bin/check_perms /usr/lib/mailman/bin/check_perms -f /usr/lib/mailman/bin/list_lists (displays the lists I migrated from the old server) /usr/lib/mailman/bin/dumpdb /var/lib/mailman/lists/list_name/config.pck
~/list_name /usr/lib/mailman/bin/config_list -o list_name-conf (compared to old server and everything looks in order)
If I create a newlist from the command line it is able to create the list and sends me an email, but I am unable to create lists from the web interface.
Any ideas?
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/steven.jones%40vuw.ac....
On 06/11/2014 02:10 PM, Jimmy wrote:
I am upgrading a list server from an old Fedora system to a RHEL 6.5 server and migration of mailman isn't going well. Mailman (on both systems) is installed with the RH provided RPM (mailman-2.1.12-18.el6.x86_64)
The first issue on the new server is that the mailman init script does not function, fails with this message "Starting mailman: Site list is missing: mailman". I can manually run
bin/mailmanctl start
and the service seems to start. Once the service is started I can get to the admin page and list overview page but the page indicates that there are no publicly advertised lists, even though all of the lists indicate "advertised = 1" in the dumpdb.
The files installed by the RH RPM are not in the same places they were in your old Fedora system. See the FAQ at http://wiki.list.org/x/KYCB.
Here are some steps I've taken:
moved data/archive and mailman configs and Apache configs from old server to new
But probably not to the places the new Mailman expects them to be. Again, see the above FAQ.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks to Mark and Steven, but it seems that the paths are consistent between servers. I just inherited the server and need to get it on a supported OS. Here is the old server info:
Fedora release 13 (Goddard) mailman-2.1.12-17.fc13.i686
New server info: Red Hat Enterprise Linux Server release 6.5 (Santiago) mailman-2.1.12-18.el6.x86_64
Any other ideas?
Thanks
On Thu, Jun 12, 2014 at 12:37 AM, Mark Sapiro mark@msapiro.net wrote:
I am upgrading a list server from an old Fedora system to a RHEL 6.5 server and migration of mailman isn't going well. Mailman (on both systems) is installed with the RH provided RPM (mailman-2.1.12-18.el6.x86_64)
The first issue on the new server is that the mailman init script does not function, fails with this message "Starting mailman: Site list is missing: mailman". I can manually run
bin/mailmanctl start
and the service seems to start. Once the service is started I can get to the admin page andOn 06/11/2014 02:10 PM, Jimmy wrote: list
overview page but the page indicates that there are no publicly advertised lists, even though all of the lists indicate "advertised = 1" in the dumpdb.
The files installed by the RH RPM are not in the same places they were in your old Fedora system. See the FAQ at http://wiki.list.org/x/KYCB.
Here are some steps I've taken:
moved data/archive and mailman configs and Apache configs from old server to new
But probably not to the places the new Mailman expects them to be. Again, see the above FAQ.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better 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/g17jimmy%40gmail.com
On 06/12/2014 05:51 AM, Jimmy wrote:
Thanks to Mark and Steven, but it seems that the paths are consistent between servers. I just inherited the server and need to get it on a supported OS. Here is the old server info:
So you manually run '/some/path/to/bin/mailmanctl start' and it works, but you run 'service mailman start' and it complains there's no site list. Look at /etc/init.d/mailman and see what mailmanctl it's running. It must be different from the one you run by hand. Once you find that, it may clue you as to where your different lists/ and other directories are.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Yep, done that too. Here is a little demo of what I'm seeing:
========================= [root@mailman-server ~]$/usr/lib/mailman/bin/mailmanctl start Starting Mailman's master qrunner. [root@mailman-server ~]$/usr/lib/mailman/bin/mailmanctl status mailman (pid 8337) is running... [root@mailman-server ~]$/usr/lib/mailman/bin/mailmanctl stop Shutting down Mailman's master qrunner
[root@mailman-server ~]$service mailman start Starting mailman: Site list is missing: mailman [FAILED]
The relevant portions of the mailman init script:
========================= MAILMANHOME=/usr/lib/mailman MAILMANCTL=$MAILMANHOME/bin/mailmanctl
function start() { echo -n $"Starting $prog: " mailman-update-cfg daemon $MAILMANCTL -s -q start RETVAL=$? if [ $RETVAL -eq 0 ] then touch /var/lock/subsys/$prog InstallCron else RETVAL=6 fi echo return $RETVAL }
Thanks!
On Thu, Jun 12, 2014 at 2:55 PM, Mark Sapiro mark@msapiro.net wrote:
On 06/12/2014 05:51 AM, Jimmy wrote:
Thanks to Mark and Steven, but it seems that the paths are consistent between servers. I just inherited the server and need to get it on a supported OS. Here is the old server info:
So you manually run '/some/path/to/bin/mailmanctl start' and it works, but you run 'service mailman start' and it complains there's no site list. Look at /etc/init.d/mailman and see what mailmanctl it's running. It must be different from the one you run by hand. Once you find that, it may clue you as to where your different lists/ and other directories are.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 06/12/2014 12:38 PM, Jimmy wrote:
The relevant portions of the mailman init script:
========================= MAILMANHOME=/usr/lib/mailman MAILMANCTL=$MAILMANHOME/bin/mailmanctl
Does this file perhaps contain anything like
if [ -f /etc/sysconfig/mailman ] ; then . /etc/sysconfig/mailman fi
that would override those settings from another file?
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Jimmy
-
Mark Sapiro
-
Steven Jones