[rt-users] PerlRequire /data/rt3/bin/webmux.pl

testwreq wreq testwreq at gmail.com
Tue Apr 10 09:13:58 EDT 2012


 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120410/66e6295c/attachment.htm>


More information about the rt-users mailing list