Skip to Content.
Sympa Menu

en - Help - fastcgi server for wwsympa

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Mike Burgett" <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: Help - fastcgi server for wwsympa
  • Date: Sun, 14 Jul 2002 13:32:41 -0700

Hello,

I am trying to set up sympa (3.3.5) for the first time, and support
wwsympa from an existing apache server, via VirtualHost.

I've already installed mysql, and seem to have that configured to
make sympa.pl happy.

After making sure I have suexec compiled, and in place, I added
these lines to my httpd.conf :

FastCgiWrapper /usr/local/sbin/suexec

<VirtualHost _default_:8080>
User sympa
Group sympa

FastCgiServer /home/sympa/bin/wwsympa.fcgi -processes 2
<Location /wws>
SetHandler fastcgi-script
</Location>

ScriptAlias /wws /home/sympa/bin/wwsympa.fcgi

</VirtualHost>

group and user sympa exist as uid/gid 5000.

When I start apache now (apachectl startssl)

I get the following in the httpd-error.log :

[Sun Jul 14 13:05:13 2002] [notice] Apache/1.3.26 (Unix) mod_fastcgi/2.2.12
mod_perl/1.27 mod_ssl/2.8.9 OpenSSL/0.9.6a configured -- resuming normal
operations
[Sun Jul 14 13:05:13 2002] [notice] suEXEC mechanism enabled (wrapper:
/usr/local/sbin/suexec)
[Sun Jul 14 13:05:13 2002] [info] Server built: Jul 14 2002 11:12:45
[Sun Jul 14 13:05:13 2002] [notice] Accept mutex: flock (Default: flock)
[Sun Jul 14 13:05:13 2002] [warn] FastCGI: server
"/home/sympa/bin/wwsympa.fcgi" (uid 5000, gid 5000) started (pid 31968)
failed to open log file
fopen: No such file or directory
[Sun Jul 14 13:05:13 2002] [warn] FastCGI: server
"/home/sympa/bin/wwsympa.fcgi" (pid 31968) terminated by calling exit with
status '1'
[Sun Jul 14 13:05:18 2002] [warn] FastCGI: server
"/home/sympa/bin/wwsympa.fcgi" (uid 5000, gid 5000) restarted (pid 31969)
failed to open log file
fopen: No such file or directory
[Sun Jul 14 13:05:18 2002] [warn] FastCGI: server
"/home/sympa/bin/wwsympa.fcgi" (pid 31969) terminated by calling exit with
status '1'

This repeats every 5 seconds, or so, as the fastcgi servers restarts
are attempted.

The 'failed to open log file' seemed to indicate it was failing
around line 332 of wwsympa.fcgi :

&Log::do_openlog($wwsconf->{'log_facility'}, $Conf{'log_socket_type'},
'wwsympa');
&do_log('info', 'WWSympa started');

but even commenting these lines out doesn't change the failure
signature at all. Since 'WWSympa started' doesn't get logged, I
assume the failure is occuring before this line.

sympa, bounced, archived, and task_manager do not seem to have any
problems logging to syslog, so I am not sure why wwsympa should
have this trouble. The only file they complain about missing, is
auth.conf (I haven't been able to figure out what I need to put in
this file yet.) Sending an email sympa for 'help' seems to work.

Turning up apache's log level to 'debug' has not produced any new
info. Neither does turning up sympa.conf's log level.

At this point, I'm a bit out of ideas, and going a bit log-blind.

Any suggestions or pointers would be greatly appreciated.

Thanks,
Mike








Archive powered by MHonArc 2.6.19+.

Top of Page