Ansicht von 2 Antwort-Themen
  • Autor
    Beiträge
    • #11744
      Walther Corado
      Teilnehmer

        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.

        Debian/Ubuntu:
        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?

        • Dieses Thema wurde geändert vor 1 Jahr, 6 Monaten von Walther Corado.
      • #11794
        Renée Bäcker
        Teilnehmer

          You have to install the Template module. Did you run otobo.CheckModules.pl?

        • #11894
          gerald-salin
          Teilnehmer

            Hi,

            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

             

            Gérald

        Ansicht von 2 Antwort-Themen
        • Du musst angemeldet sein, um auf dieses Thema antworten zu können.