Just upgraded OTRS to the latest version 3.0.6 by following the UPGRADE steps. Although I followed the instructions to 100%, Apache didn't start after the upgrade was done.
The following Apache error log entry indicates where the problem can be found:
[Thu Apr 14 08:58:26 2011] [error] Can't locate Crypt/PasswdMD5.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at Kernel/System/User.pm line 17.\nBEGIN failed--compilation aborted at Kernel/System/User.pm line 17.\nCompilation failed in require at Kernel/System/Web/InterfaceAgent.pm line 30.\nBEGIN failed--compilation aborted at Kernel/System/Web/InterfaceAgent.pm line 30.\nCompilation failed in require at /var/www/otrs/scripts/apache2-perl-startup.pl line 68.\nBEGIN failed--compilation aborted at /var/www/otrs/scripts/apache2-perl-startup.pl line 68.\nCompilation failed in require at (eval 2) line 1.\n
[Thu Apr 14 08:58:26 2011] [error] Can't load Perl file: /var/www/otrs/scripts/apache2-perl-startup.pl for server otrs.localhost.local:0, exiting...
We can clearly see, that the problem comes from /var/www/otrs/scripts/apache2-perl-startup.pl. Actually, you have to adjust the OTRS installation path in this file as well, if you haven't installed OTRS in /opt/otrs:
# set otrs lib path!
use lib "/opt/otrs/";
use lib "/opt/otrs/Kernel/cpan-lib";
use lib "/opt/otrs/Custom";
These paths need to be adjusted to your actual OTRS path. Unfortunately this is not mentioned in the UPGRADE guide but it isn't difficult to solve the problem.
No comments yet.
AWS Android Ansible Apache Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Coding Consul Container Containers CouchDB DB DNS Database Databases Docker ELK Elasticsearch Filebeat FreeBSD Galera GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Icingaweb2 InfluxDB Internet Java KVM Kibana Kodi Kubernetes LTS LXC Linux Logstash Mac Macintosh Mail MariaDB Minio MongoDB Monitoring Multimedia MySQL NFS Nagios Network Nginx OSSEC OTRS Office PGSQL PHP Perl Personal PostgreSQL Postgres PowerDNS Proxmox Proxy Python Rancher SSL Samba Seafile Security Shell SmartOS Solaris Surveillance SystemD Systemd TLS Tomcat Ubuntu Unix VMWare VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder