Help with installer.pl

Moderator: crythias

Post Reply
wphillips
Znuny newbie
Posts: 5
Joined: 19 Sep 2022, 21:51
Znuny Version: 6.4
Real Name: Walter

Help with installer.pl

Post by wphillips »

I am having issues with the installer.pl. This is a brand new install of Cent OS 8 and Znuny 6.4.2 and I followed the install instructions at https://doc.znuny.org/manual/releases/i ... stall.html. The installer.pl keeps failing at/after the database creation step.

I have added a password for the mysql root user
I have switched the host to localhost
I have entered these two lines into my /etc/my.cnf.d/znuny_config.cnf
character-set-server = utf8
collation-server = utf8_general_ci

Database check is successful and when I press next, it appears to move onto the next step but nothing is displayed on the screen. The tab on the page in firefox shows "Fatal Error - Frontend - Znuny".

In mysql I can see the table is created and the user is created. I have even attempted to do redo the installer.pl and choosing existing database and trying to connect to the database/user created and I get the same error.
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Help with installer.pl

Post by root »

Hi,

Do you have SELinux disabled?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
wphillips
Znuny newbie
Posts: 5
Joined: 19 Sep 2022, 21:51
Znuny Version: 6.4
Real Name: Walter

Re: Help with installer.pl

Post by wphillips »

That was that issue. I incorrectly disabled it temporarily instead of permanently and rebooted. Thanks for the help.
skullz
Znuny superhero
Posts: 618
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Help with installer.pl

Post by skullz »

Permanently disable selinux..
Its not only for whole istallation
wphillips
Znuny newbie
Posts: 5
Joined: 19 Sep 2022, 21:51
Znuny Version: 6.4
Real Name: Walter

Re: Help with installer.pl

Post by wphillips »

So I went ahead and did a complete reinstall with SElinux disabled this time and verified with sestatus it was disabled during the install. That allowed me to complete install without any errors and I was able to finish the installer.pl (I skipped the email setup). Now when I go to login into index.pl with root@localhost and the password provided I get an Internal Server Error webpage. Any ideas what can be causing this?
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Help with installer.pl

Post by root »

Hi,

Details on this should be available in the web server error log, should be /var/log/httpd/error_log

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
wphillips
Znuny newbie
Posts: 5
Joined: 19 Sep 2022, 21:51
Znuny Version: 6.4
Real Name: Walter

Re: Help with installer.pl

Post by wphillips »

This is what the error log shows.

ERROR: OTRS-CGI-37 Perl: 5.26.3 OS: linux Time: Tue Sep 20 14:47:05 2022

Message: Kernel::System::OAuth2Token could not be loaded: Can't locate Data/UUID.pm in @INC (you may need to install the Data::UUID module) (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /usr$
BEGIN failed--compilation aborted at /opt/otrs/Kernel/System/DBCRUD.pm line 18.
Compilation failed in require at /opt/otrs/Kernel/cpan-lib/parent.pm line 16.
BEGIN failed--compilation aborted at /opt/otrs/Kernel/System/OAuth2Token.pm line 24.
Compilation failed in require at /opt/otrs/Kernel/System/ObjectManager.pm line 255.


RemoteAddress: 10.10.10.21
RequestURI: /otrs/index.pl?

Traceback (2375):
Module: Kernel::System::ObjectManager::_DieWithError Line: 628
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 262
Module: Kernel::System::ObjectManager::Get Line: 201
Module: Kernel::Output::HTML::Notification::OAuth2TokenManagementTokenExpired::Run Line: 43
Module: Kernel::Output::HTML::Layout::NavigationBar Line: 3331
Module: Kernel::Modules::AgentDashboardCommon::Run Line: 874
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1144
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 39
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32

[Tue Sep 20 10:47:05.373114 2022] [:error] [pid 2375] Kernel::System::OAuth2Token could not be loaded: Can't locate Data/UUID.pm in @INC (you may need to install the Data::UUID module) (@INC contains$
wphillips
Znuny newbie
Posts: 5
Joined: 19 Sep 2022, 21:51
Znuny Version: 6.4
Real Name: Walter

Re: Help with installer.pl

Post by wphillips »

Figured it out. Needed to install perl-data-uuid. Thanks for pointing me in the right direction.
Post Reply