Obsolete Releases > SME 8.x Contribs

'Internal Server Error' after expanding template

(1/1)

seabro:
Hi all,

I am following the instructions at http://wiki.contribs.org/OTRS to setup OTRS

The only difference it I have downloaded a newer version of OTRS. (3.2.3-01) and I am using SME server 8.

All is well until I create the httpd template and expand it.

After doing this, my webserver is broken. (Internal Server Error regardless of what URL I try to access).

The template looks like this.

#OTRS

Alias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"

PerlRequire /opt/otrs/scripts/apache2-perl-startup.pl

PerlModule Apache::Reload
PerlInitHandler Apache::Reload

MaxRequestsPerChild 400

<Location /otrs>
   ErrorDocument 403 /otrs/customer.pl
   ErrorDocument 403 /otrs/index.pl
   AllowOverride All
   SetHandler perl-script
   PerlResponseHandler ModPerl::Registry
   PerlOptions +ParseHeaders
   Options +ExecCGI +FollowSymlinks
</Location>
<Directory "/opt/otrs/bin/cgi-bin/">
           AllowOverride None
           Options +ExecCGI -Includes
           Order allow,deny
           Allow from all
</Directory>
<Directory "/opt/otrs/var/httpd/htdocs/">
         AllowOverride None
         Order allow,deny
         Allow from all
</Directory>


I have all the required deps, as I ran otrs.CheckModules.pl and the only modules I don't have are optional.

I have also run:

signal-event post-upgrade
signal-event reboot

But that didn't help.


I am running in a VM and have a snapshot I can revert to just before the template creation/expansion so I know thats what breaks my webserver.

Any assistance appreciated.

seabro

mmccarn:
You should get some useful pointers from testing your httpd configuration:

--- Code: ---httpd -t
--- End code ---

And of course, everything (except OTRS) should work again if you move your custom template fragment OUT of the various /etc/e-smith/template* folders and do this:
--- Code: ---expand-template /etc/httpd/conf/httpd.conf
sv t httpd-e-smith

--- End code ---


--- Quote from: http://doc.otrs.org/3.2/en/html/installation.html#installation-on-centos ---We ship separate RPMs for versions 5 and 6 of RHEL and CentOS.
--- End quote ---
Have you got the Centos 5 version?

Navigation

[0] Message Index

Go to full version