Re[4]: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers
Hi Richard and Tokio, i tried executing admin from the shell as nobody and it did work. (there was some html-ouput) So there must be a problem with the apache configuration. Here are my changes to httpd.conf: VirtualHost x.x.x.x:80 ServerName xxx.xxx SuexecUserGroup nobody nobody DocumentRoot /usr/local/mailman/ ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/ Alias /pipermail/ /usr/local/mailman/archives/public/ CustomLog /var/log/httpd/mailmanhttpd_access.log %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-agent}i\ ErrorLog /var/log/httpd/mailmanhttpd_error.log /VirtualHost Are there any other settings which are important? i can't find anything in the installation instructions.. Thanks again.. Ralph -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
Re[5]: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers
i found this in the suexec-log (of apache): uid: (99/nobody) gid: (99/99) cmd: admin cannot run as forbidden uid (99/admin) ?! why is this uid forbidden? where to configure? -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
Re: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers
i tried executing admin from the shell as nobody and it did work. (there was some html-ouput) So there must be a problem with the apache configuration. Here are my changes to httpd.conf: VirtualHost x.x.x.x:80 ServerName xxx.xxx SuexecUserGroup nobody nobody You have suexec turned on. Mailman cgi is setgid but apache suexec refuses to execute s[ug]id program. Googling by 'mailman suexec' hits this page. http://www.pookey.co.uk/suexec-mailman.xml -- Tokio Kikuchi tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
Re: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers
Hi, http://myserver/mailman/admin Internal Server Error The httpd-log says: Premature End of script headers: admin What do you get if you cd prefix/cgi-bin ; ./admin ? -- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
[Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers
Hello everyone, i noticed that other people have a similiar issue, but there was no help yet. I installed mailman and after doing the necessary changes to httpd.conf i tried to check out if the cgi will work or not. and it does not. http://myserver/mailman/admin will give a Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. The httpd-log says: Premature End of script headers: admin apache runs the cgi-bin as user/group: nobody where is the error? i followed the instructions.. seems that something's wrong with python?!! thanks! Ralph -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
Re: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers
Anything logged in the Mailman error log ($prefix/logs/error)? What OS? What version of MM? How installed? On 20 Aug 2004, at 17:52, [EMAIL PROTECTED] wrote: Hello everyone, i noticed that other people have a similiar issue, but there was no help yet. I installed mailman and after doing the necessary changes to httpd.conf i tried to check out if the cgi will work or not. and it does not. http://myserver/mailman/admin will give a Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. The httpd-log says: Premature End of script headers: admin apache runs the cgi-bin as user/group: nobody where is the error? i followed the instructions.. seems that something's wrong with python?!! thanks! Ralph -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
Re[2]: [Mailman-Users] Problems installing Mailman on RedHat and Apache - Premature End of script headers
Hi Richard! There's no log in $prefix/logs/error.. does that mean apache doesn't even start the cgi? My versions: RedHat 9 Apache 2.0.48 Python 2.3.4 Mailman 2.1.5 I installed following the INSTALL-Instructions.. (compiling etc. i arrived at httpd.conf and did the changes..) I just upgraded to Python 2.3.4 and recompiled mailman but the error still occurs. Anything logged in the Mailman error log ($prefix/logs/error)? What OS? What version of MM? How installed? Hello everyone, i noticed that other people have a similiar issue, but there was no help yet. I installed mailman and after doing the necessary changes to httpd.conf i tried to check out if the cgi will work or not. and it does not. http://myserver/mailman/admin will give a Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. The httpd-log says: Premature End of script headers: admin apache runs the cgi-bin as user/group: nobody where is the error? i followed the instructions.. seems that something's wrong with python?!! thanks! -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
[Mailman-Users] Problems installing mailman on Solaris 8
Hi all, We are attempting to install mailman on a solaris 8 box. We installed python via a package from sunfreeware.com and compiled and installed mailman from source. However when we try to access the admin script, we get the following error: admin(11198): [- Traceback --] admin(11198): Traceback (most recent call last): admin(11198): File /usr/local/mailman/scripts/driver, line 80, in run_main admin(11198): import Mailman.pythonlib.cgi admin(11198): File /usr/local/mailman/Mailman/pythonlib/cgi.py, line 35, in ? admin(11198): from StringIO import StringIO admin(11198): ImportError: cannot import name StringIO admin(11198): [- Python Information -] which is a complete mystery to us, a web search and a search of the archives reveals that this problem has been reported before in 2001 but no solution was provided, just the question. Has anyone got a suggestion for how we can resolve this? What are we doing wrong? Thanks Alex Heatley Unix System Administrator Systems Management Group Phone (+64) 4 916 3142 Fax (+64) 4 917 0050 --- This email message and any attachment(s) is intended only for the person(s) or entity(entities) to whom it is addressed. The information it contains may be classified as IN CONFIDENCE and may be legally privileged. If you are not the intended recipient any use, disclosure or copying of the message or attachment(s) is strictly prohibited. If you have received this message in error please notify us immediately and destroy it and any attachment(s). Thank you. The Ministry of Social Development accepts no responsibility for changes made to this message or to any attachment(s) after transmission from the Ministry. --- -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
RE: [Mailman-Users] Problems installing Mailman 2.1b3
As a guess, I would say that you have a routing problem with your MTA (postfix). You might need to setup Postfix so that it allows relaying from 127.0.0.1 (localhost). As to the footer, try sending a text message to the list and see if the footer is included then. I'm guessing again, but you are probably sending HTML email to the list, and the email is constructed so that it stops displaying before the footer text. Hope this helps - Jon Carnes On Wed, 2002-10-16 at 04:02, Benas Adomavicius wrote: Dear Jon, Thanks for your info. This helped immensly. Mailman has installed and is running. A strange thing that has come up, which I am still trying to trace down. I have created a test mailing list. When mailing to local clients (email addresses on my local network) everything works like a charm. However, when I add outside email addresses, message does not go out! Further more, no evidence of that message is present in the mailman logs either! Very strange, currently I am looking at my postfix logs seeing what happened to that email. Also it seems that mailman does not place a footer at the end of messages either. Have you encountered something similar in past? Thanks in advance, Benas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Carnes Sent: Tuesday, October 15, 2002 7:19 PM To: Benas Adomavicius Cc: [EMAIL PROTECTED] Subject: Re: [Mailman-Users] Problems installing Mailman 2.1b3 Interesting... there was a comment last week about Red Hat's 8.0 distribution - they didn't include some of the Python modules needed for the installation of Mailman. I wonder if this is also true for Mandrake 8.1. Have you tried it on Mandrake 8.2? You might try going back to the install CD and installing all packages related to Python. Good Luck On Tue, 2002-10-15 at 03:41, Benas Adomavicius wrote: Hi all, I have tried installing Mailman 2.1b3 on Mandrake 8.1 system. ./Configure went fine, however upon make install i received following error: Compiling /var/lib/mailman/Mailman/Utils.py ... Compiling /var/lib/mailman/Mailman/Version.py ... Compiling /var/lib/mailman/Mailman/__init__.py ... Compiling /var/lib/mailman/Mailman/htmlformat.py ... Compiling /var/lib/mailman/Mailman/i18n.py ... Listing /var/lib/mailman/Mailman/pythonlib ... Compiling /var/lib/mailman/Mailman/versions.py ... Traceback (most recent call last): File bin/update, line 46, in ? from Mailman import Utils File /var/lib/mailman/Mailman/Utils.py, line 34, in ? import email.Iterators ImportError: No module named email.Iterators make: *** [update] Error 1 Does anyone know how I could resolve it? It seems to be asking for module email.iterators, where could I find it? Transtrado International transport and logistics phone +370 5 279 fax +370 5 2793025 ICQ: 16733824 -- Mailman-Users mailing list [EMAIL PROTECTED] 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/ -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
[Mailman-Users] Problems installing Mailman 2.1b3
Hi all, I have tried installing Mailman 2.1b3 on Mandrake 8.1 system. ./Configure went fine, however upon make install i received following error: Compiling /var/lib/mailman/Mailman/Utils.py ...Compiling /var/lib/mailman/Mailman/Version.py ...Compiling /var/lib/mailman/Mailman/__init__.py ...Compiling /var/lib/mailman/Mailman/htmlformat.py ...Compiling /var/lib/mailman/Mailman/i18n.py ...Listing /var/lib/mailman/Mailman/pythonlib ...Compiling /var/lib/mailman/Mailman/versions.py ...Traceback (most recent call last): File "bin/update", line 46, in ? from Mailman import Utils File "/var/lib/mailman/Mailman/Utils.py", line 34, in ? import email.IteratorsImportError: No module named email.Iteratorsmake: *** [update] Error 1 Does anyone know how I could resolve it? It seems to be asking for module email.iterators, where could I find it? TranstradoInternational transport and logisticsphone +370 5 279fax +370 5 2793025ICQ: 16733824
Re: [Mailman-Users] Problems installing Mailman 2.1b3
BA == Benas Adomavicius [EMAIL PROTECTED] writes: BA Hi all, BA I have tried installing Mailman 2.1b3 on Mandrake 8.1 BA system. ./Configure went fine, however upon make install i BA received following error: | Compiling /var/lib/mailman/Mailman/Utils.py ... | Compiling /var/lib/mailman/Mailman/Version.py ... | Compiling /var/lib/mailman/Mailman/__init__.py ... | Compiling /var/lib/mailman/Mailman/htmlformat.py ... | Compiling /var/lib/mailman/Mailman/i18n.py ... | Listing /var/lib/mailman/Mailman/pythonlib ... | Compiling /var/lib/mailman/Mailman/versions.py ... | Traceback (most recent call last): | File bin/update, line 46, in ? | from Mailman import Utils | File /var/lib/mailman/Mailman/Utils.py, line 34, in ? | import email.Iterators | ImportError: No module named email.Iterators | make: *** [update] Error 1 BA Does anyone know how I could resolve it? It seems to be asking BA for module email.iterators, where could I find it? I'm betting that the root cause of this is the same as the paths.py problem on RH. Are you using Python installed from RPM? If so, be sure you install the devel package as well, otherwise your Python will not have the distutils package, which is essential for installing Mailman. From-source installs of Python will not have this problem, but it looks like RPM packagers have decided to put distutils in the devel packages. In MM2.1b4, configure will bark loudly if the distutils package isn't available. -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] 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/
[Mailman-Users] Problems Installing Mailman
Hi, I'm attempting to install Mailman 2.0.8 on Debian GNU/Linux 2.2 and am having problems. The install seemed to go smoothly up until I created the test list. That seemed to go ok and I got an email from mail-owner about the new list including the URLs of the two web pages. However when I try and go to them I'm told that the page is not found. When I try and send a help command to [EMAIL PROTECTED] I get the message shown below. I'm rather new to Linux. It seemed like the Apache install went OK because I can get to the standard info page. Any help would be appreciated! Thanks! Bruce --- This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. The following address(es) failed: [EMAIL PROTECTED]: generated |/home/mailman/mail/wrapper mailcmd test: Child process of address_pipe transport returned 2 from command: /home/mailman/mail/wrapper The following text was generated during the delivery attempt: -- |/home/mailman/mail/wrapper mailcmd test -- Failure to exec script. WANTED gid 8, GOT gid 31. (Reconfigure to take 31?) Bruce W. Bodnyk Staff Engineer, CAE Development FCI Electronics 825 Old Trail Road Etters, PA 17319-9351 Phone: (717) 938-7543 Fax: (717) 938-7224 E-Mail: [EMAIL PROTECTED] -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] Problems installing Mailman...
Thanks for the help, after a bit more tweaking, I'm up and running! Turned out to be mostly permissions... but I'm still having to hand edit the mm_py.cfg and Defaults.py to get around some domain name issues... If I figure that one out I'll post a note to the list. Yay! TJ From: John [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Mailman-Users] Problems installing Mailman... - Original Message - From: TJ Snider [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 20, 2001 10:35 PM Subject: [Mailman-Users] Problems installing Mailman... Hi Folks, I've been trying for the last day and a bit trying to get Mailman installed, with mixed results. -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
[Mailman-Users] Problems installing Mailman...
Hi Folks, I've been trying for the last day and a bit trying to get Mailman installed, with mixed results. I'm a long term(16 yrs) developer mostly C/C++ Java on Mac and Winedows, but have some old BSD experience. I'm still coming up to speed with all the sys admin bits of Linux, (I used to help admin an old BSD 4.2 box). I'm also new to Python, but it looks pretty simple to pickup. I have a RH 6.2 system with a 2.4 kernel, and Exim as the mailer. Python is 1.5.2. I'm running Apache 1.3.17 with a total of 3 virtual domain(one IP), and I'm running my own DNS for all three such as(names not real); a.com b.org c.net with a.com being the 'host' domain. I've installed mailman, defaulting to /home/mailman and am able to send the mail for the test mailing list, so the mail path works. However I note that the configuration script picks up c.net as the domain name... despite the hostname being a.com, so there's a chance that my DNS configuration isn't quite what mailman wants. I am unable to get to www.a.com/mailman/, and I've pretty scrupulously followed the install instructions. I've tried several different configuration options but to little avail. Does this scenario twig anyones memory, or does anyone have any suggestions for what to try next? Thanks hopefully in advance, TJ -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] Problems installing Mailman...
- Original Message - From: "TJ Snider" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 20, 2001 10:35 PM Subject: [Mailman-Users] Problems installing Mailman... Hi Folks, I've been trying for the last day and a bit trying to get Mailman installed, with mixed results. I'm a long term(16 yrs) developer mostly C/C++ Java on Mac and Winedows, but have some old BSD experience. I'm still coming up to speed with all the sys admin bits of Linux, (I used to help admin an old BSD 4.2 box). I'm also new to Python, but it looks pretty simple to pickup. I have a RH 6.2 system with a 2.4 kernel, and Exim as the mailer. Python is 1.5.2. I'm running Apache 1.3.17 with a total of 3 virtual domain(one IP), and I'm running my own DNS for all three such as(names not real); a.com b.org c.net with a.com being the 'host' domain. I've installed mailman, defaulting to /home/mailman and am able to send the mail for the test mailing list, so the mail path works. However I note that the configuration script picks up c.net as the domain name... despite the hostname being a.com, so there's a chance that my DNS configuration isn't quite what mailman wants. I am unable to get to www.a.com/mailman/, and I've pretty scrupulously followed the install instructions. I don't understand why that shouldn't be possible. (1) where /mailman/ lives under is pretty much defined by your httpd setup. make sure you have a directory-directive that makes /home/mailman/cgi-bin accessible. In the VirtualHost directive for www.a.com, add a ScriptAlias-directive such as: ScriptAlias /mailman/ "/home/mailman/cgi-bin/" (2) take a look at /home/mailman/Mailman/mm_py.cfg. make sure that "default host name" is set to "a.com" and "default url" is set to http://www.a.com/mailman/ DO NOT FORGET THE TRAILING SLASH for "default url". If you have any problems, look at your webserver logs, they shall help you.. as far as I can tell, if you follow these instructions, there shouldn't be any problems.. John I've tried several different configuration options but to little avail. Does this scenario twig anyones memory, or does anyone have any suggestions for what to try next? Thanks hopefully in advance, TJ -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
[Mailman-Users] problems installing mailman
Hi , I'm trying to install mailman in an SGI running IRIX 6.5 with sendmail and python 2.0. Configuring and installing seems to go without problems. I check permissions runnning bin/chech_perms in /home/mailman and no errors are reported. I Start cron and then create a test list and keep getting error reports from cron sent to my email address. I change the configuration to include several reasonable gids (i.e. the first time I installed I had SYSLOG reports regarding gid and use them to change it with a new installation). But I keep getting similar cron errors (the only difference is that now there no error reports in SYSLOG). Checking the logs/error file in mailman this is what I have: Apr 11 18:55:08 2001 gate_news(76900): Traceback (most recent call last): Apr 11 18:55:08 2001 gate_news(76900): File "/home/mailman/cron/gate_news", line 222, in ? Apr 11 18:55:08 2001 gate_news(76900): main() Apr 11 18:55:08 2001 gate_news(76900): File "/home/mailman/cron/gate_news", line 203, in main Apr 11 18:55:08 2001 gate_news(76900): process_lists(lock) Apr 11 18:55:08 2001 gate_news(76900): File "/home/mailman/cron/gate_news", line 140, in process_lists Apr 11 18:55:08 2001 gate_news(76900): mlist = MailList.MailList(listname, lock=0) Apr 11 18:55:08 2001 gate_news(76900): File "/home/mailman/Mailman/MailList.py", line 79, in __init__ Apr 11 18:55:08 2001 gate_news(76900): self.Load() Apr 11 18:55:08 2001 gate_news(76900): File "/home/mailman/Mailman/MailList.py", line 891, in Load Apr 11 18:55:08 2001 gate_news(76900): dict, e = self.__load(dbfile) Apr 11 18:55:08 2001 gate_news(76900): File "/home/mailman/Mailman/MailList.py", line 868, in __load Apr 11 18:55:08 2001 gate_news(76900): fp = open(dbfile) Apr 11 18:55:08 2001 gate_news(76900): IOError : [Errno 13] Permission denied: '/home/mailman/lists/test/config.db' ANy clues? What am I doing wrong? Thanks, mario -- Mario Diaz The University of Texas at Brownsville [EMAIL PROTECTED]Voice:956-5746641FAX: (956) 5746642 http://utopia.utb.edu/mario -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users