Tagged: Problem Install OTOBO on Centos7
14. July 2021 at 9:35 - Views: 268 #11744Walther CoradoParticipant
hello everyone, thank you in advance for your support and collaboration, trying to use this solution in a company, we are currently using OTRS version 3.1.10 and want to implement otobo as a new solution without using our old database.
we have done everything indicated in the installation manual, using the server with Centos 7 operating system and all the Software requirements, when try to do this part of the installation
Configure Apache without SSL support
Copy the template file /opt/otobo/scripts/apache2-httpd.include.conf to the apache sites-available directory. In most cases it is not necessary to edit the template. Then activate the new configuration.
root> cp /opt/otobo/scripts/apache2-httpd.include.conf /etc/apache2/sites-available/zzz_otobo.conf
root> a2ensite zzz_otobo.conf
root> systemctl restart apache2
(Reference the installation manual)
with the equivalent Centos commands and I get this problem when restarting the apache2 service
/var/log/httpd/error_log:[Fri Jul 09 13:43:24.474258 2021] [perl:error] [pid 4742] Unable to locate Template. pm in @inc (@inc contains: /opt/otobo/Custom /opt/otobo/Kernel/cpan-lib /opt/otobo/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) in /opt/otobo/scripts/apache2-perl-startup.pl line 72.BEGIN failed–compilation aborted in /opt/otobo/scripts/apache2-perl-startup.pl line 72.Compilation failed on require in (eval 2) line 1.
/var/log/httpd/error_log:[Fri Jul 09 13:43:24.474275 2021] [perl:error] [pid 4742] Cannot load Perl file: /opt/otobo/scripts/apache2-perl-startup.pl for server …………
we accessed apache2-perl-startup.pl with the vi command and commented out or disabled line 72 to read as follows
Preload the dependencies that are always used.
#use Template ();
use Encode qw(:all);
and run the restart for apache2 and the problem is solved but when I try to access the installer.pl in my browser it does not run, can you help me?
- This topic was modified 1 year, 6 months ago by Walther Corado.
3. August 2021 at 11:36 #11794Renée BäckerParticipant
You have to install the Template module. Did you run otobo.CheckModules.pl?
8. September 2021 at 5:47 #11894gerald-salinParticipant
I would like to migrate from OTRS 6 to OTOBO 10 on a CentOS 7 server, on which OTRS6 is currently running fine.
CentOS 7 has perl verion 5.16 by default, but minimum version required for OTOBO is 5.24. I managed to install perl v5.30 with perlbrew, but unable to install mod_perl for this version, so that apache still uses perl 5.16….
How did you manage to install/configure a perl version compatible with OTOBO?
Thank you for your help
- You must be logged in to reply to this topic.