On 12/6/20 3:35 PM, Dave Howorth wrote:
On Sun, 6 Dec 2020 14:41:48 -0500 Mark Hounschell <dmarkh@cfl.rr.com> wrote:
OK, I think I have that all sorted out.
smfg:/srv/www/bugzilla # ./checksetup.pl * This is Bugzilla 5.0.4 on perl 5.26.1 * Running on Linux 5.3.18-lp152.54-default #1 SMP Tue Dec 1 12:55:30 UTC 2020 (233d92e)
Checking perl modules... Checking for CGI.pm (v3.51) ok: found v4.46 Checking for Digest-SHA (any) ok: found v5.96 Checking for TimeDate (v2.23) ok: found v2.24 Checking for DateTime (v0.75) ok: found v1.45 Checking for DateTime-TimeZone (v1.64) ok: found v2.15 Checking for DBI (v1.614) ok: found v1.642 Checking for Template-Toolkit (v2.24) ok: found v2.27 Checking for Email-Sender (v1.300011) ok: found v1.300031 Checking for Email-MIME (v1.904) ok: found v1.940 Checking for URI (v1.55) ok: found v1.73 Checking for List-MoreUtils (v0.32) ok: found v0.428 Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004 Checking for JSON-XS (v2.01) ok: found v3.04
Checking available perl DBD modules... Checking for DBD-SQLite (v1.29) ok: found v1.54 Checking for DBD-Oracle (v1.19) not found Checking for DBD-Pg (v2.7.0) ok: found v3.10.4 Checking for DBD-mysql (v4.001) ok: found v4.046
The following Perl modules are optional: Checking for GD (v1.20) ok: found v2.66 Checking for Chart (v2.4.1) ok: found v2.4.10 Checking for Template-GD (any) ok: found v1.56 Checking for GDTextUtil (any) ok: found v0.86 Checking for GDGraph (any) ok: found v1.54 Checking for MIME-tools (v5.406) ok: found v5.509 Checking for libwww-perl (any) ok: found v6.31 Checking for XML-Twig (any) ok: found v3.52 Checking for PatchReader (v0.9.6) ok: found v0.9.6 Checking for perl-ldap (any) ok: found v0.65 Checking for Authen-SASL (any) ok: found v2.16 Checking for Net-SMTP-SSL (v1.01) ok: found v1.04 Checking for RadiusPerl (any) ok: found v0.32 Checking for SOAP-Lite (v0.712) ok: found v1.27 Checking for XMLRPC-Lite (v0.712) ok: found v0.717 Checking for JSON-RPC (any) ok: found v1.06 Checking for Test-Taint (v1.06) ok: found v1.06 Checking for HTML-Parser (v3.67) ok: found v3.72 Checking for HTML-Scrubber (any) ok: found v0.15 Checking for Encode (v2.21) ok: found v2.98 Checking for Encode-Detect (any) ok: found v1.01 Checking for Email-Reply (any) ok: found v1.204 Checking for HTML-FormatText-WithLinks (v0.13) ok: found v0.15 Checking for TheSchwartz (v1.07) ok: found v1.12 Checking for Daemon-Generic (any) ok: found v0.85 Checking for mod_perl (v1.999022) ok: found v2.000011 Checking for Apache-SizeLimit (v0.96) ok: found v0.97 Checking for File-MimeInfo (any) ok: found v0.28 Checking for IO-stringy (any) ok: found v2.111 Checking for Cache-Memcached (any) ok: found v1.30 Checking for File-Copy-Recursive (any) ok: found v0.38 Checking for File-Which (any) ok: found v1.22 Checking for mod_env (any) ok Checking for mod_expires (any) ok Checking for mod_headers (any) ok Checking for mod_rewrite (any) ok Checking for mod_version (any) ok Reading ./localconfig... Checking for DBD-mysql (v4.001) ok: found v4.046 Checking for MySQL (v5.0.15) ok: found v10.4.14-MariaDB
Removing existing compiled templates... Precompiling templates...done. Fixing file permissions... checksetup.pl complete.
But now I seem to be having a new problem. I am attempting to move a bugzilla database from an old Opensuse 13.2 i586 machine. I am using https://bugzilla.readthedocs.io/en/latest/installing/moving.html as reference.
I've backed up the db from the old and restored it to the new.
So that's steps 2 and 4-9 ?
Yes.
So NOW you should be running step 10 ./checksetup.pl ?
Yes I did that. At that step there was more outpit than I posted above. No errors though. I can re-install the db and show that output if you think it will help.
I'm at the ./testserver.pl http://<your-bugzilla-server>/ point.
I don't see that on the page?????????
It is on a page that is linked from that first one. "Installation and Maintenance Guide." https://bugzilla.readthedocs.io/en/latest/installing/linux.html#web-server
At a guess, BTW, you shouldn't be using root for most of this!
that's kind of why I mentioned it. The old install did not do that. I did it so I would remember. In the morning I will try another user/password.
smfg:/srv/www/bugzilla # ./testserver.pl http://10.15.15.150/ TEST-WARNING Failed to find the GID for the 'httpd' process, unable to validate webservergroup. TEST-OK Got padlock picture. TEST-OK Webserver is executing CGIs via mod_cgi. TEST-OK Webserver is preventing fetch of http://10.15.15.150/localconfig. TEST-WARNING Failed to run gdlib-config; can't compare GD versions. TEST-OK GD library generated a good PNG image. TEST-OK Chart library generated a good PNG image. TEST-OK Template::Plugin::GD is installed.
And when I go there with my browser I get
Software error:
Can't connect to the database. Error: Access denied for user 'root'@'localhost' Is your database installed and up and running? Do you have the correct username and password selected in localconfig?
For help, please send mail to the webmaster (webmaster@compro.net), giving this error message and the time and date of the error.
I did use 'root' as user in my localconfig and also used the system's root password as the password.
This machine is NOT on the intranet.
You mean Internet? Or you mean it is completely isolated?
Here is my apache2 bugzilla config file.
<VirtualHost 10.15.15.150:80> ServerAdmin webmaster@compro.net ServerName smfg.compro.net
# DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. DocumentRoot /srv/www/bugzilla/
ErrorLog /var/log/apache2/bugs-error.log CustomLog /var/log/apache2/bugs-access.log combined
# don't loose time with IP address lookups HostnameLookups Off
# needed for named virtual hosts UseCanonicalName Off
# configures the footer on server-generated documents ServerSignature Off
# Optionally, include *.conf files from /etc/apache2/conf.d/ # # For example, to allow execution of PHP scripts: # # Include /etc/apache2/conf.d/php5.conf # # or, to include all configuration snippets added by packages: Include /etc/apache2/conf.d/*.conf
# ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/srv/www/bugzilla/"
# # This should be changed to whatever you set DocumentRoot to. # <Directory "/srv/www/bugzilla/">
Require all granted Options Indexes FollowSymLinks Options +ExecCGI DirectoryIndex index.cgi index.html AddHandler cgi-script .cgi AllowOverride All
</Directory>
</VirtualHost>
This is my first attempt at setting up apache for anything. Any pointers would be appreciated.
Regards Mark
openSUSE Users mailing list -- users@lists.opensuse.org To unsubscribe, email users-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/users@lists.opensuse.org