Re: [gentoo-user] Mailman trouble [SEMI-SOLVED]

2008-02-15 Thread Johannes Skov Frandsen

kashani wrote:

Johannes Skov Frandsen wrote:

Anybody had the same problem and found a solution?

Worst case scenario, how do I move my existing lists to a fresh 
installation of mailman?




http://forums.gentoo.org/viewtopic-t-641573-highlight-.html

There are a couple twists. You'll need to update the mailman user to 
point to the right homedir, make sure your lists are in the right 
place, etc.


kashani
Reading through the different links and forum threads posted here I 
decided to revert to a working version of mailman:


I edited /etc/portage/package.mask and added the following line:

>net-mail/mailman-2.1.9

and then I ran:

emerge -vauDN world

Everything seems to be working again now, so I'm just crossing my 
fingers and waiting for a new ebuild that handles the upgrade smoother.



--

Regards / Venlig hilsen

Johannes Skov Frandsen

/You live and learn. At any rate, you live. [Marvin]/

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Mailman trouble

2008-02-14 Thread kashani

Johannes Skov Frandsen wrote:

Anybody had the same problem and found a solution?

Worst case scenario, how do I move my existing lists to a fresh 
installation of mailman?




http://forums.gentoo.org/viewtopic-t-641573-highlight-.html

There are a couple twists. You'll need to update the mailman user to 
point to the right homedir, make sure your lists are in the right place, 
etc.


kashani
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Mailman trouble

2008-02-14 Thread Ed Santiago
>For some reason my mailman has stopped responding... probably after a 
>upgrade but I'm not sure.

The mailman update this week [2.1.9-r3] broke things horrendously.
In short, things moved from /usr/local/mailman to /usr/mailman
and /var/mailman but there wasn't a single release note about it.

The solution is documented here:

http://the-hug.org/opus379.html

Note that the procedure documented there does not include
fixing cron; you'll need to fix paths in the mailman crontab.

Be very careful to note the difference between /var and /usr
in the new mailman paths.

Good luck,
Ed
-- 
Ed Santiago   Toolsmith   [EMAIL PROTECTED]

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Mailman trouble

2008-02-14 Thread David Relson
On Thu, 14 Feb 2008 15:04:59 +0100
Johannes Skov Frandsen wrote:

> Hi
> 
> For some reason my mailman has stopped responding... probably after a 
> upgrade but I'm not sure.
> 
> I can't seem to start or stop mailman...
> 
> # /etc/init.d/mailman stop
>  * Stopping mailman 
> ...   
>   
> 
> [ !! ]
> # /etc/init.d/mailman start
>  * WARNING:  mailman has already been started.
> 
> I tried to start mailman manually with '/usr/lib/mailman/mailmanctl 
> start' but got this error:
> 
> Site list is missing: mailman
> 
> Then I ask mailman to display my lists with  '/usr/lib/mailman/bin/ 
> list_lists' which gave me this response:
> 
> No matching mailing lists found
> 
> which is somewhat odd as I checked that the lists was located where
> they have been the whole time at '/usr/local/mailman/lists/' which
> was the case.
> 
> I have tried to kill all mailman processes but without any luck in 
> regards to starting the service again.
> 
> My best bet is that I have missed some crucial change when  accepted 
> changes to a conf file after an upgrade using dispatch-conf, but I
> have no idea which.
> 
> Anybody had the same problem and found a solution?
> 
> Worst case scenario, how do I move my existing lists to a fresh 
> installation of mailman?

A couple of thoughts:

Perhaps an upgrade now has mailman looking in /usr/mailman/lists rather
than /usr/local/mailman/lists

I often run "strace -feopen program ..." to determine what files
'program' is opening (or attempting to open).  Doing that can help find
out where mailman is looking for its lists.

Lastly, configuration files are so important that I save copies of
working versions.  When something breaks, at least I can compare the
b0rked versions to working versions.  Any version control system (rcs,
csv, subversion, ...) would work for this.

HTH,

David
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Mailman trouble

2008-02-14 Thread Dale

Johannes Skov Frandsen wrote:

Hi

For some reason my mailman has stopped responding... probably after a 
upgrade but I'm not sure.


I can't seem to start or stop mailman...

# /etc/init.d/mailman stop
* Stopping mailman 
... 
[ !! ]

# /etc/init.d/mailman start
* WARNING:  mailman has already been started.

I tried to start mailman manually with '/usr/lib/mailman/mailmanctl 
start' but got this error:


Site list is missing: mailman

Then I ask mailman to display my lists with  '/usr/lib/mailman/bin/ 
list_lists' which gave me this response:


No matching mailing lists found

which is somewhat odd as I checked that the lists was located where 
they have been the whole time at '/usr/local/mailman/lists/' which was 
the case.


I have tried to kill all mailman processes but without any luck in 
regards to starting the service again.


My best bet is that I have missed some crucial change when  accepted 
changes to a conf file after an upgrade using dispatch-conf, but I 
have no idea which.


Anybody had the same problem and found a solution?

Worst case scenario, how do I move my existing lists to a fresh 
installation of mailman?




I'm not sure about mailman but this is how I handle a service that is 
giving me fits.  /etc/init.d/ stop.  Then I use ps aux and 
make sure there are no living processes still there and kill them if 
needed.  Then I do a /etc/init.d/ zap then do a 
/etc/init.d/ start.  Cross all fingers at that point.


I'm not sure if it will help or not but until some mailman guru comes 
along, it may be worth thinking about trying.  YMMV.


Dale

:-)  :-)
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Mailman trouble

2008-02-14 Thread Johannes Skov Frandsen

Hi

For some reason my mailman has stopped responding... probably after a 
upgrade but I'm not sure.


I can't seem to start or stop mailman...

# /etc/init.d/mailman stop
* Stopping mailman 
... 
[ !! ]

# /etc/init.d/mailman start
* WARNING:  mailman has already been started.

I tried to start mailman manually with '/usr/lib/mailman/mailmanctl 
start' but got this error:


Site list is missing: mailman

Then I ask mailman to display my lists with  '/usr/lib/mailman/bin/ 
list_lists' which gave me this response:


No matching mailing lists found

which is somewhat odd as I checked that the lists was located where they 
have been the whole time at '/usr/local/mailman/lists/' which was the case.


I have tried to kill all mailman processes but without any luck in 
regards to starting the service again.


My best bet is that I have missed some crucial change when  accepted 
changes to a conf file after an upgrade using dispatch-conf, but I have 
no idea which.


Anybody had the same problem and found a solution?

Worst case scenario, how do I move my existing lists to a fresh 
installation of mailman?


--

Regards / Venlig hilsen

Johannes Skov Frandsen

/You live and learn. At any rate, you live. [Marvin]/

--
gentoo-user@lists.gentoo.org mailing list