Skip to Content.
Sympa Menu

en - Re: [sympa-users] problems uploading to shared file area

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Miles Fidelman <address@concealed>
  • To: Sylvain Amrani <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] problems uploading to shared file area
  • Date: Tue, 26 Sep 2006 15:49:23 -0400

Sylvain Amrani wrote:
Miles Fidelman a écrit :
Sylvain Amrani wrote:
Miles Fidelman a écrit :
Hi Folks,

I recently migrated to the latest version of Sympa (well actually to
5.2.1) from a 3.x version. I thought everything was working fine, but
now we discovered that nobody can upload files to shared file areas.

Permissions seem to be set correctly, but hitting the upload button
give a "server error" message, but other than the do_d_upload entry,
there is nothing in the log to indicate what might be going wrong.
did you check the apache error log ?

Sylvain
Silly me - thanks for pointing that out. Here's what was in the
Apache error log:

[Tue Sep 26 11:05:37 2006] [error] [client 24.63.94.143] FastCGI:
server "/home/
sympa/bin/wwsympa.fcgi" stderr: CGI::Fast::upload: syntax error at
/home/sympa/b
in/wwsympa.fcgi line 11211, referer:
http://lists.neighborhood.net/index.html/d_
read/hmnewsnotes/Newsnotes%202006_2007/
[Tue Sep 26 11:05:37 2006] [error] [client 24.63.94.143] FastCGI:
server "/home/
sympa/bin/wwsympa.fcgi" stderr: CGI::Fast::upload: syntax error at
/home/sympa/b
in/wwsympa.fcgi line 11211, referer:
http://lists.neighborhood.net/index.html/d_
read/hmnewsnotes/Newsnotes%202006_2007/
[Tue Sep 26 11:05:37 2006] [error] [client 24.63.94.143] FastCGI:
incomplete hea
ders (0 bytes) received from server "/home/sympa/bin/wwsympa.fcgi",
referer: htt
p://lists.neighborhood.net/index.html/d_read/hmnewsnotes/Newsnotes%202006_2007/

[Tue Sep 26 11:05:37 2006] [warn] FastCGI: server
"/home/sympa/bin/wwsympa.fcgi"
(pid 3367) terminated by calling exit with status '255'
[Tue Sep 26 11:05:37 2006] [warn] FastCGI: server
"/home/sympa/bin/wwsympa.fcgi"
restarted (pid 31073)

Looks like something is broken in wwwsympa.fcgi! Anybody know if this
is a known bug, or
if it's fixed in 5.2.2?

I don't think it's sympa related. It's a call to the standard upload()
sub introduced in CGI 2.47.

Sure Sympa does not examine the upload() return code, but your 'syntax
error' seems to be CGI related.
Ok.. but from the logs, it looks like
- the web page posts the upload request
- wwsympa logs entry to the do_d_upload subroutine in wwsympa.fcgi
- at that point that fastcgi process seems to die on a syntax error
- note that other than this everything seems to be working (other commands process just fine)

Somehow this seems like either a bug in the do_d_upload routine, or an incompatible change in the fastcgi perl package

Anybody have any ideas on how to diagnose or fix this?

Thanks,

Miles



Archive powered by MHonArc 2.6.19+.

Top of Page