[Mailman-Users] Re: mailman won't start - no Defaults module

2025-03-10 Thread Jim Dory
Sorry - I was able to fix this when I found this page: 
https://support.cpanel.net/hc/en-us/community/posts/29645975750423-Tier-Current-126-0-2-has-broken-mailman


saying:

sys.path.append('/usr/local/cpanel/3rdparty/mailman/Mailman') was missing in 
mm_cfg.py , it only had
"from Defaults import *", should be

import sys
###
# Here's where we get the distributed defaults.

sys.path.append('/usr/local/cpanel/3rdparty/mailman/Mailman')
from Defaults import *

##
# Put YOUR site-specific settings below this line.

But now I see the archives have stopped collecting for the last month (March). 
On to another issue...

Jim


On 3/10/25 8:50 PM, Jim Dory wrote:
I'm on a shared server with mailman v2 and when I logged in, it the WHM interface said there was an update - so I 
clicked the update button that was presented and it updated CPanel. Now the service mailman is not starting.


The error is not finding the module "Defaults" called out on line 49 of this file: 
/usr/local/cpanel/3rdparty/mailman/Mailman/mm_cfg.py


There is a Defaults.py in that same directory.. but I don't know if that is what it wants. I have opened a trouble 
ticket but while I wait, maybe someone here has a quick answer. Here is the error I'm seeing:


Service Error
(XID 75wg2f) The “mailman” service failed to start.

Startup Log
Mar 11 04:26:43 compute.nomekennelclub.com systemd[1]: Starting mailman 
services...
Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: Traceback 
(most recent call last):
Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: File 
"/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 106, in 

Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: from 
Mailman import mm_cfg
Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/mm_cfg.py", line 49, in 

Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: from 
Defaults import *
Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: 
ModuleNotFoundError: No module named 'Defaults'
Mar 11 04:26:43 compute.nomekennelclub.com systemd[1]: mailman.service: Control 
process exited, code=exited status=1
Mar 11 04:26:43 compute.nomekennelclub.com systemd[1]: mailman.service: Failed 
with result 'exit-code'.
Mar 11 04:26:43 compute.nomekennelclub.com systemd[1]: Failed to start mailman 
services.



--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org


[Mailman-Users] mailman won't start - no Defaults module

2025-03-10 Thread Jim Dory
I'm on a shared server with mailman v2 and when I logged in, it the WHM interface said there was an update - so I 
clicked the update button that was presented and it updated CPanel. Now the service mailman is not starting.


The error is not finding the module "Defaults" called out on line 49 of this file: 
/usr/local/cpanel/3rdparty/mailman/Mailman/mm_cfg.py


There is a Defaults.py in that same directory.. but I don't know if that is what it wants. I have opened a trouble 
ticket but while I wait, maybe someone here has a quick answer. Here is the error I'm seeing:


Service Error
(XID 75wg2f) The “mailman” service failed to start.

Startup Log
Mar 11 04:26:43 compute.nomekennelclub.com systemd[1]: Starting mailman 
services...
Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: Traceback 
(most recent call last):
Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: File 
"/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 106, in 

Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: from 
Mailman import mm_cfg
Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: File 
"/usr/local/cpanel/3rdparty/mailman/Mailman/mm_cfg.py", line 49, in 

Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: from 
Defaults import *
Mar 11 04:26:43 compute.nomekennelclub.com restartsrv_mailman[2272]: 
ModuleNotFoundError: No module named 'Defaults'
Mar 11 04:26:43 compute.nomekennelclub.com systemd[1]: mailman.service: Control 
process exited, code=exited status=1
Mar 11 04:26:43 compute.nomekennelclub.com systemd[1]: mailman.service: Failed 
with result 'exit-code'.
Mar 11 04:26:43 compute.nomekennelclub.com systemd[1]: Failed to start mailman 
services.

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@mail-archive.com


[Mailman-Users] Re: Month of March archives webpage has no messages showing

2025-03-10 Thread Mark Sapiro

On 3/11/25 12:32 PM, Jim Dory wrote:
I realize this may be a CPanel issue, but perhaps someone familiar with 
that can help out.


The web page for the list archives says 60 messages but none are 
visible. The messages are in the list directory. The unusual thing for 
this month is the "Starting: None". The other months previous all have 
the start date of the beginning of that particular month.


The shared server I'm hosted on is using UTC time of the server 
location, not my location. So although it is March 10 here now as I 
write this, it is showing March 11 tomorrow morning. I don't know if I'm 
supposed to change it to my location or leave it.. has been an issue 
particularly before. So I'm inclined to leave it.


Here's the March archives listing:


  March 2025 Archives by thread

  * *Messages sorted by:*[ subject ]
    [ author
    ] [ date ]
    
  * *More info on this list... *


*Starting:*/None/


None is strange here.


*Ending:*/Tue Mar 11 04:59:52 UTC 2025/
*Messages:*60


Links to all the messages should be here.


*Last message date:*/Tue Mar 11 04:59:52 UTC 2025/
*Archived on:*/Tue Mar 11 05:00:02 UTC 2025/

  * *Messages sorted by:*[ subject ]
    [ author
    ] [ date ]
    
  * *More info on this list... *



/This archive was generated by Pipermail 0.09 (Mailman edition)./


The above is a static page (re)generated by Mailman with each post. This 
process is not happening correctly. It is another cPanel issue with the 
upgrade, but I have no idea what is wrong or how to fix it. 
https://support.cpanel.net/hc/en-us/community/posts/29645975750423/comments/30554741757079 
points out this issue.


It appears cPanel Mailman is now running under Python 3. I'm not 
surprised there are issues. Migrating Mailman 2.1 to Python 3 is not an 
easy task,


--
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
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@mail-archive.com


[Mailman-Users] Re: Month of March archives webpage has no messages showing

2025-03-10 Thread Jim Dory

On 3/10/25 10:49 PM, Mark Sapiro wrote:

On 3/11/25 12:32 PM, Jim Dory wrote:

I realize this may be a CPanel issue, but perhaps someone familiar with that 
can help out.

The web page for the list archives says 60 messages but none are visible. The messages are in the list directory. The 
unusual thing for this month is the "Starting: None". The other months previous all have the start date of the 
beginning of that particular month.


The shared server I'm hosted on is using UTC time of the server location, not my location. So although it is March 10 
here now as I write this, it is showing March 11 tomorrow morning. I don't know if I'm supposed to change it to my 
location or leave it.. has been an issue particularly before. So I'm inclined to leave it.


Here's the March archives listing:


  March 2025 Archives by thread

  * *Messages sorted by:*[ subject ]
    [ author
    ] [ 
date ]

    
  * *More info on this list... *

*Starting:*/None/


None is strange here.


*Ending:*/Tue Mar 11 04:59:52 UTC 2025/
*Messages:*60


Links to all the messages should be here.


*Last message date:*/Tue Mar 11 04:59:52 UTC 2025/
*Archived on:*/Tue Mar 11 05:00:02 UTC 2025/

  * *Messages sorted by:*[ subject ]
    [ author
    ] [ 
date ]

    
  * *More info on this list... *


/This archive was generated by Pipermail 0.09 (Mailman edition)./


The above is a static page (re)generated by Mailman with each post. This process is not happening correctly. It is 
another cPanel issue with the upgrade, but I have no idea what is wrong or how to fix it. 
https://support.cpanel.net/hc/en-us/community/posts/29645975750423/comments/30554741757079 points out this issue.


It appears cPanel Mailman is now running under Python 3. I'm not surprised there are issues. Migrating Mailman 2.1 to 
Python 3 is not an easy task,


Thanks Mark. I'll pass that on to the trouble ticket I have with the support staff. Not a critical issue at least.. not 
sure how many of the subscribers actually look at the archives.. but I would like to get it sorted.


--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org


[Mailman-Users] Month of March archives webpage has no messages showing

2025-03-10 Thread Jim Dory

I realize this may be a CPanel issue, but perhaps someone familiar with that 
can help out.

The web page for the list archives says 60 messages but none are visible. The messages are in the list directory. The 
unusual thing for this month is the "Starting: None". The other months previous all have the start date of the beginning 
of that particular month.


The shared server I'm hosted on is using UTC time of the server location, not my location. So although it is March 10 
here now as I write this, it is showing March 11 tomorrow morning. I don't know if I'm supposed to change it to my 
location or leave it.. has been an issue particularly before. So I'm inclined to leave it.


Here's the March archives listing:


 March 2025 Archives by thread

 * *Messages sorted by:*[ subject ]
   
[
 author
   ] 
[
 date ]
   

 * *More info on this list... 
*

*Starting:*/None/
*Ending:*/Tue Mar 11 04:59:52 UTC 2025/
*Messages:*60

*Last message date:*/Tue Mar 11 04:59:52 UTC 2025/
*Archived on:*/Tue Mar 11 05:00:02 UTC 2025/

 * *Messages sorted by:*[ subject ]
   
[
 author
   ] 
[
 date ]
   

 * *More info on this list... 
*


/This archive was generated by Pipermail 0.09 (Mailman edition)./

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/
Member address: arch...@jab.org