[request-tracker-maintainers] Rt 4.4.1

TheSin thesin at southofheaven.org
Mon Feb 6 19:40:00 UTC 2017


I’m just using apache2-fastcgi.conf from the rt4-apache2 package.  I’m using mysql, default port, etc etc and the config in the .d is 100% right, but the apache2-fastcgi.conf loads /etc/request-tracker4/RT_SiteConfig.pm as the default ENV and that file is black as of 4.4.  This is very easy to reproduce from starch just install request-tracker4 rt4-db-mysql rt4-apache2, I link /etc/request-tracker4/apache2-fastcgi.conf to /etc/apache2/conf-available/rt.conf, then run a2enmod fastcgi and a2enconf rt, then apache2 restart and you’ll see the issue as it gets no ENV at all so it doesn’t know what db or the db credentials.  It’s the same for rigid and mod_perl2 since they all still load the empty .pm as the ENV.

root at sheliak:/usr/share/request-tracker4/etc# dpkg -l rt4\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  rt4-apache2    4.4.1-3      all          Apache 2 specific files for reque
ii  rt4-clients    4.4.1-3      all          mail gateway and command-line int
ii  rt4-db-mysql   4.4.1-3      all          MySQL database backend for reques
un  rt4-db-postgre <none>       <none>       (no description available)
un  rt4-db-sqlite  <none>       <none>       (no description available)
un  rt4-doc-html   <none>       <none>       (no description available)
un  rt4-extension- <none>       <none>       (no description available)
un  rt4-extension- <none>       <none>       (no description available)
un  rt4-extension- <none>       <none>       (no description available)
un  rt4-extension- <none>       <none>       (no description available)
un  rt4-fcgi       <none>       <none>       (no description available)
un  rt4-standalone <none>       <none>       (no description available)


root at sheliak:/usr/share/request-tracker4/etc# dpkg -l request-tracker\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  request-tracke 4.4.1-3      all          extensible trouble-ticket trackin

And I’m seeing 


[3435] [Mon Feb  6 19:37:43 2017] [critical]: Since your configuration exists (/etc/request-tracker4/RT_SiteConfig.pm) but is not writable, I'm refusing to do anything. (/usr/share/request-tracker4/lib/RT.pm:390)
Since your configuration exists (/etc/request-tracker4/RT_SiteConfig.pm) but is not writable, I'm refusing to do anything.
[Mon Feb 06 12:37:43.053385 2017] [:warn] [pid 3418] FastCGI: server "/usr/share/request-tracker4/libexec/rt-server.fcgi" (pid 3435) terminated by calling exit with status '2'
[Mon Feb 06 12:37:47.054248 2017] [:warn] [pid 3418] FastCGI: server "/usr/share/request-tracker4/libexec/rt-server.fcgi" restarted (pid 3437)

RT couldn't connect to the database where tickets are stored.
If this is a new installation of RT, you should visit the URL below
to configure RT and initialize your database.

If this is an existing RT installation, this may indicate a database
connectivity problem.

The error RT got back when trying to connect to your database was:

install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (you may need to install the DBD::Pg module) (@INC contains: /usr/local/share/request-tracker4/lib /usr/share/request-tracker4/lib /etc/perl /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 66) line 3.
Perhaps the DBD::Pg perl module hasn't been fully installed,
or perhaps the capitalisation of 'Pg' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.
at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 106.


[3437] [Mon Feb  6 19:37:47 2017] [critical]: Since your configuration exists (/etc/request-tracker4/RT_SiteConfig.pm) but is not writable, I'm refusing to do anything. (/usr/share/request-tracker4/lib/RT.pm:390)
Since your configuration exists (/etc/request-tracker4/RT_SiteConfig.pm) but is not writable, I'm refusing to do anything.
[Mon Feb 06 12:37:47.840947 2017] [:warn] [pid 3418] FastCGI: server "/usr/share/request-tracker4/libexec/rt-server.fcgi" (pid 3437) terminated by calling exit with status '2'
[Mon Feb 06 12:37:47.840984 2017] [:warn] [pid 3418] FastCGI: server "/usr/share/request-tracker4/libexec/rt-server.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds

---
TS
http://www.southofheaven.org/
Life begins and ends with chaos, live between the chaos!

> On Feb 6, 2017, at 12:30 PM, Dominic Hargreaves <dom at earth.li> wrote:
> 
> On Mon, Feb 06, 2017 at 12:15:19PM -0700, TheSin wrote:
>> I did the update this morning which clears out /etc/request-tracker4/RT_SiteConfig.pm to prefer the .d style, sadly this make every version of apache2 configure no longer work since they are trying to load the .pm.  I’ve tried changing it to use .d/*.pm but still doesn’t work, I really need to get it back up with apache2, I don’t care if it’s perl2, rigid or fastcgi (what I was using till now).  What went wrong in the update, how can I fix this issue?  I’d make a bug report but I’m not sure if it’s a package bug of just on my end, all I know if I can’t get it to start at all and it won’t read any config and tries to use the Pg.pm no matter what I do and I”m not using Pg, I’m using mysql.
> 
> Hi there,
> 
> Sorry to hear that you had trouble. Please could you poste the exact
> error messages you received so that we can help diagnose the problem?
> 
> Relevant parts of your Apache configuration would also be useful.
> 
> Thanks,
> Dominic.



---
TS
http://www.southofheaven.org/
Life begins and ends with chaos, live between the chaos!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-request-tracker-maintainers/attachments/20170206/03a67ee4/attachment-0001.html>


More information about the pkg-request-tracker-maintainers mailing list