Skip to Content.
Sympa Menu

en - RE: [sympa-users] When I try to run the sym-lynk wws in my cgi-bin, I get a 500 error

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Adam Bernstein" <address@concealed>
  • To: "Eric Sandquist" <address@concealed>, <address@concealed>
  • Subject: RE: [sympa-users] When I try to run the sym-lynk wws in my cgi-bin, I get a 500 error
  • Date: Tue, 23 Jul 2002 19:38:46 -0700

One thing you may need to do is to create "topics.conf" in ~sympa/etc.
Can be blank I think, or can be copied from the sample somewhere, but
it doesn't get created at installation and Sympa crashes without it. This
is apparently an installation bug that others (including me) have run
into -- Sympa team, can we get it fixed?

But as previously mentioned, if you can't run FastCGI because of your
virtual hosting situation, I would say pick a different list server.
WWSympa is essentially unusable as a regular CGI, since every single
click in the UI means waiting for the script to load and run anew. Hell
on the system, and unacceptably slow especially for multiple users.

adam
--
......................................................................
Tech consulting and virus-protected Member of Tech Underground
email & list service for nonprofits http://tech-underground.org
http://amberbug.org 415-596-6384

"By cutting off the opportunity for exoneration, [the federal death penalty]
denies due process and, indeed,
is tantamount to foreseeable, state-sponsored murder of innocent human
beings."
http://www.nytimes.com/2002/07/01/nyregion/01CND-DEAT.html


> -----Original Message-----
> From: Eric Sandquist [mailto:address@concealed]
> Sent: Tuesday, July 23, 2002 5:19 PM
> To: address@concealed
> Subject: RE: [sympa-users] When I try to run the sym-lynk wws in my
> cgi-bin, I get a 500 error
>
>
> Here is a sample from my sympa log file of the errors:
>
> Jul 23 19:14:12 josiah wwsympa[6138]: WWSympa started
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file fr.cat version
> 3.3a
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file us.cat version
> 3.3a
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file es.cat version
> 3.3.3
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file de.cat version
> 3.3a
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file it.cat version
> 2.5.4
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file cn.cat version
> 2.8.1
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file tw.cat version 2.5
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file fi.cat version
> 2.5.4
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file pl.cat version
> 2.8.1
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file cz.cat version
> 3.1b.12
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file hu.cat version
> 3.3a
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file ro.cat version
> 3.3a
> Jul 23 19:14:12 josiah wwsympa[6138]: Loading locale file et.cat version
> 3.3a
> Jul 23 19:14:12 josiah wwsympa[6138]: Unable to read
> Jul 23 19:14:12 josiah wwsympa[6138]: Unable to open scenario file
> topics_visibility., please report to listmaster
> Jul 23 19:14:12 josiah wwsympa[6138]: internal error : configuration for
> operation topics_visibility is not yet performed by scenario
> Jul 23 19:14:13 josiah wwsympa[6138]: [client 216.138.72.34]
> do_sendpasswd(address@concealed)
> Jul 23 19:14:13 josiah wwsympa[6138]: Cannot create
> /address@concealed :
> Permission denied
> Jul 23 19:14:13 josiah wwsympa[6138]: [client 216.138.72.34] do_loginrequest
>
> -----Original Message-----
> From: Eric Sandquist [mailto:address@concealed]
> Sent: Tuesday, July 23, 2002 6:58 PM
> To: address@concealed
> Subject: RE: [sympa-users] When I try to run the sym-lynk wws in my
> cgi-bin, I get a 500 error
>
>
> OK.. due to an error on my part, I lost your replies... however, I did read
> them.
>
> I am unable to use the fastcgi service, since I am using a managed server
> and the source for my apache has been removed and recompiling it would void
> my service agreement. If someone has another way to get fastcgi loaded let
> me know...
>
> THe whole problem seems to be a permissions issue when attampting to run as
> a regular cgi. It seems that for a script to run it must have the same name
> and group as the owner of the virtual server it is running in. So, for the
> site I am trying to get this working for - www.messianicgroups.com, it is
> messianic.messianicgrp. So if I copy wwsympa.fcgi to my cgi-bin for this
> server and set the uid.gid for this it runs, but it does not interact with
> the 4 scripts running in the background.
>
> Why? because the uid.gid is different. The background scripts are running
> as sympa.sympa.
>
> So, is the only method to correct this to recompile sympa into the
> messianicgroups directory and set the uid.gid to messianic.messianic.grp?
> Or do I need to create a virtual server under apache for sympa?
>
> I tried using the c prog modification in the documentation... it compiles,
> it runs from the command line, but when I attempt to call it using my
> browser from cgi-bin, I get the 500 error again... if you want to see:
>
> www.messianicgroups.com/cgi-bin/wwsympa.fcgi - this works, sort of but
> doesn't really do anything..
> www.messianicgroups.com/cgi-bin/test.cgi - gives a 500 error
> www.messianicgroups.com.cgi-bin/wws - is a link to the wwsympa.fcgi in the
> sympa installation folder, it gives a 500 error too..
>
>
> www.messianicgroups.com/wws - gives 404 error
>
> Currently httpd.conf for this vserver is:
>
> <virtualhost www.messianicgroups.com>
> ScriptAlias /cgi-bin/ /www/messianicgroups/cgi-bin/
> ScriptAlias /cgi-messianicgroups/ /www/messianicgroups/cgi-bin/
> ScriptAlias /mailman/ /www/messianicgroups/mailman/cgi-bin/
> Alias /wws /www/sympa/cgi/wwsympa.fcgi
> Alias /pipermail/ /www/messianicgroups/mailman/archives/public/
> User messianic
> Group messianicgrp
> ServerAdmin address@concealed
> ServerName www.messianic.com
> ErrorDocument 404 /missing.html
> DocumentRoot /www/messianicgroups
> TransferLog logs/messianicgroups-access-log
> </virtualhost>
>
>
> Am I missing something??? Or did this "Custom RH7.2" bite me again?/
>
> Eric Sandquist
> Systems Engineer - IHMS.net
>
> -----Original Message-----
> From: Eric Sandquist [mailto:address@concealed]
> Sent: Wednesday, July 17, 2002 5:21 PM
> To: address@concealed
> Subject: [sympa-users] When I try to run the sym-lynk wws in my cgi-bin,
> I get a 500 error
>
>
>
> When I try to run wws in my cgi-bin, I get a 500 - Internal Server Error.
> If I copy wwsympa.fcgi to the cgi-bin and run it, it appears to run OK at
> first, but it seems that most of the functions just don't work...
>
> Any Ideas?
>
> <virtualhost www.xxxxxxxxxxxxxxx.com>
> ScriptAlias /cgi-bin/ /www/xxxxxxxxxxxxxxx/cgi-bin/
> ScriptAlias /cgi-xxxxxxxxxxxxx/ /www/xxxxxxxxxxxxxxxxxx/cgi-bin/
> ScriptAlias /mailman/ /www/xxxxxxxxxxxxx/mailman/cgi-bin/
> Alias /wws /www/sympa/cgi/wwsympa.fcgi
> Alias /pipermail/ /www/xxxxxxxxxxx/mailman/archives/public/
> User xxxxxxxxxxxxx
> Group xxxxxxxxxxxxxxgrp
> ServerAdmin address@concealed
> ServerName www.xxxxxxxxxxxxxxx.com
> ErrorDocument 404 /missing.html
> DocumentRoot /www/xxxxxxxxxxxxxxxxxx
> TransferLog logs/xxxxxxxxxxxxxx-access-log
> </virtualhost>
>
> Also tried:
>
> <virtualhost www.xxxxxxxxxxxxxxx.com>
> ScriptAlias /cgi-bin/ /www/xxxxxxxxxxxxxxx/cgi-bin/
> ScriptAlias /cgi-xxxxxxxxxxxxx/ /www/xxxxxxxxxxxxxxxxxx/cgi-bin/
> ScriptAlias /mailman/ /www/xxxxxxxxxxxxx/mailman/cgi-bin/
> ScriptAlias /wws/ /www/sympa/cgi/wwsympa.fcgi/
> Alias /pipermail/ /www/xxxxxxxxxxx/mailman/archives/public/
> User xxxxxxxxxxxxx
> Group xxxxxxxxxxxxxxgrp
> ServerAdmin address@concealed
> ServerName www.xxxxxxxxxxxxxxx.com
> ErrorDocument 404 /missing.html
> DocumentRoot /www/xxxxxxxxxxxxxxxxxx
> TransferLog logs/xxxxxxxxxxxxxx-access-log
> </virtualhost>
>




Archive powered by MHonArc 2.6.19+.

Top of Page