Re: [Mailman-Users] Sendmail getting bum rap...

2001-10-25 Thread Ralph Forsythe

 ...if I need a Ph.D. and five feet of shelf space for the manuals
 required to make it run, I don't want it on my network...


That's what separates the system engineers from the skr1pt k1d33s. ;-)

I don't like needing 30 books just to make a program work, but most of the
time that isn't required.  However anytime you start talking about
advanced-to-expert level tweaking of something, the reference library
seems to pile up quickly.  (I do have the Wall of Cisco, a ridiculous
amount of those dark blue books dedicated to routing and switching in
mundane detail...)

- Ralph


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



Re: [Mailman-Users] web interface not working...

2001-10-13 Thread Ralph Forsythe

Apache is run under 'httpd/httpd' (user/group).  I compiled mailman using 
the --with-cgi-gid=httpd as I thought it was nobody at first and got 
'expected GID xx, got GID xx' errors when viewing the pages.  I think it's 
running with the right GID now however...

- Ralph

At 10:30 AM 10/13/2001 -0400, Jon Carnes wrote:
You might want to add the user nobody (or whatever you use to run Apache)
to the group mailman.  Then make sure that the group mailman can write to
that dir and those files.

On Friday 12 October 2001 23:12, Ralph Forsythe wrote:
  Permissions on the logs dir are admin:mailman.  (admin was the acct used
  to install the program.)  Permissions on the error logfile are
  mailman:mailman -- this seems like it would work, yes?  Both the dir and
  file are U+G writeable.
 
  Oh, sorry for the HTML on the previous post.  Didn't think that coped
  over...
 
  Thanks,
  - Ralph
 
  At 08:07 PM 10/12/2001 -0700, you wrote:
Now, the mailman logs don't show anything.  However the httpd error
log shows the following output (below), which makes me think there is
some
  
   kind
  
of permission thing going on.
  
  Yes, certainly.  So surely the permissions on
   /usr/local/mailman/logs/error are gonna be interesting, yes?
  
  So..um...what are they?
  
  They oughta be group-write mailman, because error lives in
  a directory that ought to be group-sticky mailman...
 


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] web interface not working...

2001-10-12 Thread Ralph Forsythe

Ok, quick system info: Server is a Cobalt Raq3i running Linux
(glibc). Python is version 2.0.1. Other info, the mailman
home directory is '/usr/local/mailman'. Scriptalias and other
apache config was done per the docs.
When I view the page for the list (creatively titled in this case) at the
following URL, I get the message below it:

http://xyz.xyz.com/mailman/admin/pissoff
(domain changed since this is an open list)
Bug in Mailman version 2.0.6
We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of
traceback and other system information has been explicitly inhibited, but
the webmaster can find this information in the Mailman error logs. 

Now, the mailman logs don't show anything. However the httpd error
log shows the following output (below), which makes me think there is
some kind of permission thing going on. I compiled with the proper
mail-gid and cgi-gid bits as far as I know... Does anyone have an
idea as to what might be causing this? (I searched in vain in the
archives, but may have missed something...) And I did RTFM, didn't
see anything like this in there. Thanks!


[- Mailman Version: 2.0.6 -]
[- Traceback --]
Traceback (most recent call last):
 File /usr/local/mailman/scripts/driver, line 71, in
run_main
 immediate=1)
 File
/usr/local/mailman/Mailman/Logging/StampedLogger.py, line 49,
in __init__
 Logger.__init__(self, category, nofail,
immediate)
 File /usr/local/mailman/Mailman/Logging/Logger.py,
line 40, in __init__
 self.__get_f()
 File /usr/local/mailman/Mailman/Logging/Logger.py,
line 55, in __get_f
 f = self.__fp = open(self.__filename, 'a+', 1)
IOError: [Errno 13] Permission denied:
'/usr/local/mailman/logs/error'
[- Python Information -]
sys.version = 2.0.1 (#1, Oct 12 2001, 14:26:18)
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)]
sys.executable = /usr/bin/python
sys.prefix = /usr/local
sys.exec_prefix= /usr/local
sys.path = /usr/local
sys.platform = linux2
[- Environment Variables -]
 DOCUMENT_ROOT:
/home/sites/home/web
 UNIQUE_ID:
O8es78yFt28AAAlDDvE
 HTTP_ACCEPT_ENCODING: gzip,
deflate
 SERVER_PORT: 80
 PATH_TRANSLATED:
/home/sites/home/web/pissoff
 REMOTE_ADDR: 
63.227.8.161
 HTTP_ACCEPT_LANGUAGE:
en-us
 GATEWAY_INTERFACE:
CGI/1.1
 SERVER_NAME:
blue.centerone.com
 HTTP_CONNECTION:
Keep-Alive
 HTTP_USER_AGENT: Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0)
 HTTP_ACCEPT: */*
 REQUEST_URI:
/mailman/admin/pissoff
 QUERY_STRING:
 SCRIPT_FILENAME:
/usr/local/mailman/cgi-bin/admin
 SCRIPT_URL:
/mailman/admin/pissoff
 HTTP_HOST:
blue.centerone.com
 REQUEST_METHOD: GET
 SERVER_SIGNATURE:
 SCRIPT_URI:
http://blue.centerone.com/mailman/admin/pissoff
 SCRIPT_NAME:
/mailman/admin
 SERVER_ADMIN: admin
 SERVER_SOFTWARE: Apache/1.3.6
(Unix) mod_perl/1.21 mod_ssl/2.2.8 OpenSSL/0.9.2b
 PYTHONPATH:
/usr/local/mailman
 PATH_INFO: /pissoff
 SERVER_PROTOCOL: 
HTTP/1.1
 REMOTE_PORT: 17721



Re: [Mailman-Users] web interface not working...

2001-10-12 Thread Ralph Forsythe

Permissions on the logs dir are admin:mailman.  (admin was the acct used to 
install the program.)  Permissions on the error logfile are mailman:mailman 
-- this seems like it would work, yes?  Both the dir and file are U+G 
writeable.

Oh, sorry for the HTML on the previous post.  Didn't think that coped over...

Thanks,
- Ralph

At 08:07 PM 10/12/2001 -0700, you wrote:

  Now, the mailman logs don't show anything.  However the httpd error log
  shows the following output (below), which makes me think there is some 
 kind
  of permission thing going on.

Yes, certainly.  So surely the permissions on /usr/local/mailman/logs/error
are gonna be interesting, yes?

So..um...what are they?

They oughta be group-write mailman, because error lives in
a directory that ought to be group-sticky mailman...


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users