I am sure this is going to be easy, just not for me. I upgraded and a lot of the Packages were not compatible.
I uninstalled those that weren't compatible anymore, however, now I get an error starting httpd. From the error_log I show:
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/Modules/Znuny4OTRSRepo.pm
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/DynamicField/ObjectType/FAQ.pm
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/Modules/Znuny4OTRSRepo.pm
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/DynamicField/ObjectType/FAQ.pm
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/FAQ/Category.pm
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/FAQ/Language.pm
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/FAQ/State.pm
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/FAQ/Vote.pm
[Wed Jun 8 13:55:57 2016] -e: Apache2::Reload: Can't locate /opt/otrs//Kernel/System/FAQSearch.pm
Those were the packages I uninstalled. How do I remove them entirely so httpd doesn't error out?
My expertise level on a scale of 1 - 10 is about 4. Please be gentle.
Upgrade 3.3 to 4.0.15 httpd won't start.
Moderator: crythias
-
- Znuny newbie
- Posts: 4
- Joined: 08 Jun 2016, 21:43
- Znuny Version: 5.0.14
- Real Name: Don Bavol
- Company: Intellys
- Contact:
-
- Znuny newbie
- Posts: 4
- Joined: 08 Jun 2016, 21:43
- Znuny Version: 5.0.14
- Real Name: Don Bavol
- Company: Intellys
- Contact:
Re: Upgrade 3.3 to 4.0.15 httpd won't start.
Just to see if anyone has seen this:
Code: Select all
[root@dfw-int-otrs1 otrs]# tail /var/log/httpd/error_log
[Thu Jun 09 13:25:29 2016] [error] Can't locate Kernel/System/CacheInternal.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /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) at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nCompilation failed in require at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nCompilation failed in require at (eval 2) line 1.\n
[Thu Jun 09 13:25:29 2016] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server dfw-int-otrs1.hypr.mgt:0, exiting...
[Thu Jun 09 13:26:41 2016] [error] Can't locate Kernel/System/CacheInternal.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /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) at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nCompilation failed in require at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nCompilation failed in require at (eval 2) line 1.\n
[Thu Jun 09 13:26:41 2016] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server dfw-int-otrs1.hypr.mgt:0, exiting...
[Thu Jun 09 13:27:30 2016] [error] Can't locate Kernel/System/CacheInternal.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /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) at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nCompilation failed in require at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nCompilation failed in require at (eval 2) line 1.\n
[Thu Jun 09 13:27:30 2016] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server dfw-int-otrs1.hypr.mgt:0, exiting...
[Thu Jun 09 13:33:56 2016] [error] Can't locate Kernel/System/CacheInternal.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /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) at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nCompilation failed in require at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nCompilation failed in require at (eval 2) line 1.\n
[Thu Jun 09 13:33:56 2016] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server dfw-int-otrs1.hypr.mgt:0, exiting...
[Thu Jun 09 13:37:23 2016] [error] Can't locate Kernel/System/CacheInternal.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /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) at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/System/GeneralCatalog.pm line 19.\nCompilation failed in require at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Modules/AgentTicketZoom.pm line 32.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 130.\nCompilation failed in require at (eval 2) line 1.\n
[Thu Jun 09 13:37:23 2016] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server dfw-int-otrs1.hypr.mgt:0, exiting...
-
- Znuny newbie
- Posts: 4
- Joined: 08 Jun 2016, 21:43
- Znuny Version: 5.0.14
- Real Name: Don Bavol
- Company: Intellys
- Contact:
Re: Upgrade 3.3 to 4.0.15 httpd won't start.
So, I redid the install using tar and restored the config files. I was able to start httpd. Now I have a new error. I am going through the installs and ensuring that all the config files are correct. The error that comes up is:
Code: Select all
[root@dfw-int-otrs1 otrs]# tail /var/log/httpd/error_log
[Thu Jun 09 15:06:55 2016] [notice] Apache/2.2.15 (Unix) DAV/2 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Thu Jun 09 15:08:46 2016] [error] [client 10.71.0.80] [Thu Jun 9 15:08:46 2016] index.pl: Got no ArticleDir! at /opt/otrs/bin/cgi-bin/../../Kernel/System/Ticket/ArticleStorageDB.pm line 26.
[Thu Jun 09 15:08:46 2016] [error] [client 10.71.0.80] Premature end of script headers: index.pl
[Thu Jun 09 15:09:07 2016] [error] [client 10.71.0.80] File does not exist: /var/www/html/index.pl
[Thu Jun 09 15:09:16 2016] [error] [client 10.71.0.80] [Thu Jun 9 15:09:16 2016] index.pl: Got no ArticleDir! at /opt/otrs/bin/cgi-bin/../../Kernel/System/Ticket/ArticleStorageDB.pm line 26.
[Thu Jun 09 15:09:16 2016] [error] [client 10.71.0.80] Premature end of script headers: index.pl
[Thu Jun 09 15:09:24 2016] [error] [client 10.71.0.80] [Thu Jun 9 15:09:24 2016] index.pl: Got no ArticleDir! at /opt/otrs/bin/cgi-bin/../../Kernel/System/Ticket/ArticleStorageDB.pm line 26.
[Thu Jun 09 15:09:24 2016] [error] [client 10.71.0.80] Premature end of script headers: index.pl
[Thu Jun 09 15:09:29 2016] [error] [client 10.71.0.80] [Thu Jun 9 15:09:29 2016] index.pl: Got no ArticleDir! at /opt/otrs/bin/cgi-bin/../../Kernel/System/Ticket/ArticleStorageDB.pm line 26.
[Thu Jun 09 15:09:29 2016] [error] [client 10.71.0.80] Premature end of script headers: index.pl
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Upgrade 3.3 to 4.0.15 httpd won't start.
Add to your Kernel/Config.pm
Code: Select all
$Self->{ArticleDir} = '/opt/otrs/var/article/';
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de