Re: [Mailman-Users] Using CLI to admin

2009-12-08 Thread David Andrews

At 12:11 PM 12/1/2009, Mark Sapiro wrote:

Cameron Smith wrote:

I am tasked with removing a mailman list using CLI on a cpanel install.

When I run the list_lists command in bin I get this:

# python list_lists
Traceback (most recent call last):
  File list_lists, line 44, in ?
import paths
ImportError: No module named paths


See the FAQ at http://wiki.list.org/x/sYA9.

Assuming that FAQ is correct about where things are located and cPanel
hasn't broken things too badly, try

/usr/local/cpanel/3rdparty/mailman/bin/list_lists

If that is what you ran, then there is no
/usr/local/cpanel/3rdparty/mailman/bin/paths.py file. That file needs
to be there for any of the /usr/local/cpanel/3rdparty/mailman/bin/
commands to run. If it isn't there, there might be one in
/usr/local/cpanel/3rdparty/mailman/cron which you could copy to
/usr/local/cpanel/3rdparty/mailman/bin/


I believe in cPanel, there is also a button somewhere in the web UI 
to remove a list.


Dave


--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Using CLI to admin

2009-12-01 Thread Cameron Smith
I am tasked with removing a mailman list using CLI on a cpanel install.

When I run the list_lists command in bin I get this:

# python list_lists
Traceback (most recent call last):
  File list_lists, line 44, in ?
import paths
ImportError: No module named paths


How can I get a list of the lists to then proceed to using rmlist?

Thank you,
Cameron
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Using CLI to admin

2009-12-01 Thread Mark Sapiro
Cameron Smith wrote:

I am tasked with removing a mailman list using CLI on a cpanel install.

When I run the list_lists command in bin I get this:

# python list_lists
Traceback (most recent call last):
  File list_lists, line 44, in ?
import paths
ImportError: No module named paths


See the FAQ at http://wiki.list.org/x/sYA9.

Assuming that FAQ is correct about where things are located and cPanel
hasn't broken things too badly, try

/usr/local/cpanel/3rdparty/mailman/bin/list_lists

If that is what you ran, then there is no
/usr/local/cpanel/3rdparty/mailman/bin/paths.py file. That file needs
to be there for any of the /usr/local/cpanel/3rdparty/mailman/bin/
commands to run. If it isn't there, there might be one in
/usr/local/cpanel/3rdparty/mailman/cron which you could copy to
/usr/local/cpanel/3rdparty/mailman/bin/

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Using CLI to admin

2009-12-01 Thread Cameron Smith
On Tue, Dec 1, 2009 at 10:11 AM, Mark Sapiro m...@msapiro.net wrote:
 Cameron Smith wrote:

I am tasked with removing a mailman list using CLI on a cpanel install.

When I run the list_lists command in bin I get this:

# python list_lists
Traceback (most recent call last):
  File list_lists, line 44, in ?
    import paths
ImportError: No module named paths


 See the FAQ at http://wiki.list.org/x/sYA9.

 Assuming that FAQ is correct about where things are located and cPanel
 hasn't broken things too badly, try

 /usr/local/cpanel/3rdparty/mailman/bin/list_lists

 If that is what you ran, then there is no
 /usr/local/cpanel/3rdparty/mailman/bin/paths.py file. That file needs
 to be there for any of the /usr/local/cpanel/3rdparty/mailman/bin/
 commands to run. If it isn't there, there might be one in
 /usr/local/cpanel/3rdparty/mailman/cron which you could copy to
 /usr/local/cpanel/3rdparty/mailman/bin/

 --
 Mark Sapiro m...@msapiro.net        The highway is for gamblers,
 San Francisco Bay Area, California    better use your sense - B. Dylan



Thank you Mark!

I will check for that file.
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org