Need Help

Aleksandr Rybev aleksandr.rybev at aechelon.com
Mon Mar 7 15:50:22 UTC 2022


Hello again,
I am trying to install Bugzilla v 5.x.x on Redhat 8.x.x.  When I try to run ./checksetup.pl I am receiving the following error:

Reading ./localconfig...
Checking for            DBD-mysql (v4.001)    ok: found v4.050
There was an error connecting to MySQL:

    install_driver(mysql) failed: Attempt to reload DBD/mysql.pm aborted.
Compilation failed in require at (eval 504) line 3.

 at Bugzilla/DB.pm line 1328.

This might have several reasons:

* MySQL is not running.
* MySQL is running, but there is a problem either in the
  server configuration or the database access rights. Read the Bugzilla
  Guide in the doc directory. The section about database configuration
  should help.
* Your password for the 'bugzilla' user, specified in $db_pass, is
  incorrect, in './localconfig'.
* There is a subtle problem with Perl, DBI, or MySQL. Make
  sure all settings in './localconfig' are correct. If all else fails, set
  '$db_check' to 0.


My localconfig  file set up correctly. I am able to log in to mysql using mysql username and password.

Here is more info on mysql I have installed on Redhat 8

rpm -qa | grep mysql
mysql-community-client-plugins-8.0.28-1.el8.x86_64
mysql-community-devel-8.0.28-1.el8.x86_64
mysql-community-libs-8.0.28-1.el8.x86_64
mysql-community-libs-compat-5.7.37-1.el7.x86_64
mysql80-community-release-el8-3.noarch
mysql-community-client-8.0.28-1.el8.x86_64
mysql-community-icu-data-files-8.0.28-1.el8.x86_64
mysql-community-common-8.0.28-1.el8.x86_64
mysql-community-server-8.0.28-1.el8.x86_64


Any idea, why I have this error ?

Thank you in advance,

Regards,

Aleks




-----Original Message-----
From: support-list <support-list-bounces at bugzilla.org> On Behalf Of Aleksandr Rybev
Sent: Monday, February 14, 2022 11:07 AM
To: Thorsten Schöning <tschoening at am-soft.de>; support-list at bugzilla.org
Subject: RE: Need Help

HI,
Thank you very much for your reply.
I changed these permissions, but I still have the same Issue. Anymore ideas ?
Also, my http.conf file is configured with the following information: This is from https://www.bugzilla.org/docs/4.4/en/html/configuration.html#http-apache

<Directory /var/www/html/bugzilla>
AddHandler cgi-script .cgi
Options +ExecCGI
DirectoryIndex index.cgi index.html
AllowOverride All
</Directory>



Thank you,

Aleks



-----Original Message-----
From: support-list <support-list-bounces at bugzilla.org> On Behalf Of Thorsten Schöning
Sent: Sunday, February 13, 2022 4:38 AM
To: support-list at bugzilla.org
Subject: Re: Need Help

Guten Tag Aleksandr Rybev,
am Sonntag, 13. Februar 2022 um 00:16 schrieben Sie:

> Thank you very much for the information. I resolved this Issue.[...]

It might be helpful for others to know how exactly you resolved it.

> MY permissions are: drwxr-x---. 16 root apache 4096 Feb 12 14:56 
> bugzilla -rwxrwxr-x.  1 root apache  1307 Apr 17  2019 .htaccess

Is the apache-user really the one used for your web server?

Additionally, the permissions for .htaccess look wrong, as that file doesn't need to be executed and checksetup.pl most likely doesn't apply those unnecessary/wrong permissions. The following is what checksetup.pl creates for me:

> 1169791  0 drwxr-x--- 1 root www-data  2150 Jan 16 12:24 .
> 1182496  4 -rw-r----- 1 root www-data  1307 Feb 16  2018 .htaccess

Mit freundlichen Grüßen

Thorsten Schöning

--
AM-SoFT IT-Service - Bitstore Hameln GmbH Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK

E-Mail: Thorsten.Schoening at AM-SoFT.de
Web:    http://www.AM-SoFT.de/

Tel:   05151-  9468- 0
Tel:   05151-  9468-55
Fax:   05151-  9468-88
Mobil:  0178-8 9468-04

AM-SoFT IT-Service - Bitstore Hameln GmbH, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 221853 - Geschäftsführer: Janine Galonska


Für Rückfragen stehe ich Ihnen jederzeit zur Verfügung. 

Mit freundlichen Grüßen, 

Thorsten Schöning


Telefon: +49 (0)515 94 68 - 0
Fax: 
E-Mail: TSchoening at am-soft.de

AM-Soft IT-Service - Bitstore Hameln GmbH Brandenburger Straße 7c
31789 Hameln

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen und ist ausschliesslich für den Adressaten bestimmt. Jeglicher Zugriff auf diese E-Mail durch andere Personen als den Adressaten ist untersagt. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, ist Ihnen jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Massnahmen im Vertrauen auf erlangte Information untersagt. 

This e-mail may contain confidential and/or privileged information and is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. 

Hinweise zum Datenschutz: bitstore.group/datenschutz



_______________________________________________
support-list mailing list
support-list at bugzilla.org
https://lists.bugzilla.org/listinfo/support-list
_______________________________________________
support-list mailing list
support-list at bugzilla.org
https://lists.bugzilla.org/listinfo/support-list


More information about the support-list mailing list