[rt-users] PerlRequire /data/rt3/bin/webmux.pl
testwreq wreq
testwreq at gmail.com
Tue Apr 10 09:38:46 EDT 2012
Unfortunately, this is the only error in the apache logs:
[Tue Apr 10 09:07:10 2012] [error] "use" not allowed in expression at
/data/rt3/bin/webmux.pl line 49, at end of line\nsyntax error at
/data/rt3/bin/webmux.pl line 49, near "use strict"\nBEGIN not safe after
errors--compilation aborted at /data/rt3/bin/webmux.pl line
58.\nCompilation failed in require at (eval 7) line 1.\n
I am able to start apache if I comment PerlRequire /data/rt3/bin/webmux.pl in
the apache conf files.
On Tue, Apr 10, 2012 at 9:26 AM, Ruslan Zakirov <ruz at bestpractical.com>wrote:
> there should be more errors. what you pasted is too late to understand
> where the real problem is.
>
> On Tue, Apr 10, 2012 at 17:13, testwreq wreq <testwreq at gmail.com> wrote:
> >
> > I upgraded centos from 5.5 to 5.8 . I am unable to start the http
> server.
> > The error in the logs is
> > "use" not allowed in expression at /data/rt3/bin/webmux.pl line 49, at
> end
> > of line\nsyntax error at /data/rt3/bin/webmux.pl line 49, near "use
> > strict"\nBEGIN not safe after errors--compilation aborted at
> > /data/rt3/bin/webmux.pl line 58.\nCompilation failed in require at
> (eval 7)
> > line 1
> >
> > If the comment the PerlRequire line in my conf file, I can start the
> httpd
> > server. Any ideas how to fix this?
> >
> > <VirtualHost *:443>
> > ServerName devrt.cs.stonybrook.edu
> > DocumentRoot /data/rt3/share/html
> > AddDefaultCharset UTF-8
> > PerlModule Apache::DBI
> > PerlRequire /data/rt3/bin/webmux.pl
> >
> > <Location />
> > SetHandler perl-script
> > PerlHandler RT::Mason
> > </Location>
> > ErrorLog logs/ssl_error_log
> > TransferLog logs/ssl_access_log
> > LogLevel warn
> > <Directory />
> > SSLRequireSSL
> > </Directory>
> > SSLEngine on
> > SSLProtocol all -SSLv2
> > SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
> > SSLCACertificateFile
> > /etc/sslcertificate/devwww_cs_sunysb_edu_interm.cer
> > SSLCertificateFile
> /etc/sslcertificate/devwww_cs_sunysb_edu_cert.cer
> > SSLCertificateKeyFile
> /etc/sslcertificate/devwww.cs.sunysb.edu.key
> > </VirtualHost>
> >
> > Thanks much.
>
>
>
> --
> Best regards, Ruslan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120410/e0dba939/attachment.htm>
More information about the rt-users
mailing list