[Mailman-Users] Can't run qrunner because of permissions problem

2005-11-17 Thread Eric Evans
Hello,

Because I was having so much difficulty with my old, established Mailman 
installation on one of our Suns, I decided to try installing Mailman on a 
different machine to see if I get better results there.  I've installed the 
latest version of Mailman but when I try running mailmanctl to start up the 
qrunner, I get the following message:

Traceback (most recent call last):
   File bin/mailmanctl, line 547, in ?
 main()
   File bin/mailmanctl, line 410, in main
 fp = open(mm_cfg.PIDFILE, 'w')
IOError: [Errno 13] Permission denied: 
'/usr/local/mailman/data/master-qrunner.pid'

I've checked the permissions with check_perms and there are no permissions 
problems indicated.  Anybody have any idea what is going on here?

Thanks very much,
Eric

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Can't run qrunner because of permissions problem

2005-11-17 Thread Eric Evans
Thanks for you response, Mark.  However, I've tried running mailmanctl both 
as root and as mailman and it still fails with the permission denied error 
on the pid file.  So now I'm wondering if there is some kind of 
incompatibility between the new version of Mailman and Solaris 8?  We have 
run Mailman 2.1.2 successfully on Solaris 8 before, but we recently 
upgraded to 2.1.5.  If anybody has any further suggestions for things to 
try, I'd appreciate hearing them.

Thanks,
Eric

The user that ran bin/mailmanctl does not have permission to create
and/or write to the file '/usr/local/mailman/data/master-qrunner.pid'.

the bin/* scripts are normally not setgid which means you have to run
bin/mailmanctl as a user (e.g. mailman) that has permission.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Can't run qrunner because of permissions problem

2005-11-17 Thread John Dennis
On Thu, 2005-11-17 at 12:09 -0500, Eric Evans wrote:
 Thanks for you response, Mark.  However, I've tried running mailmanctl both 
 as root and as mailman and it still fails with the permission denied error 
 on the pid file.  So now I'm wondering if there is some kind of 
 incompatibility between the new version of Mailman and Solaris 8?  We have 
 run Mailman 2.1.2 successfully on Solaris 8 before, but we recently 
 upgraded to 2.1.5.  If anybody has any further suggestions for things to 
 try, I'd appreciate hearing them.

mailmanctl will attempt to run as mm_cfg.MAILMAN_GROUP,
mm_cfg.MAILMAN_USER if you run it as root unless you defeat it with the
-u or --run-as-user argument.

Let's start with the basics, what are the owner and group for the pid
file which cannot be modified? If they are not mm_cfg.MAILMAN_GROUP,
mm_cfg.MAILMAN_USER then remove the file manually because most likely
someone during initial testing/setup ran it in some other way. You
should then be fine.

Do verify the values of mm_cfg.MAILMAN_GROUP, mm_cfg.MAILMAN_USER.
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp