<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>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.<br class=""><br class="">root@sheliak:/usr/share/request-tracker4/etc# dpkg -l rt4\*<br class="">Desired=Unknown/Install/Remove/Purge/Hold<br class="">| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend<br class="">|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)<br class="">||/ Name           Version      Architecture Description<br class="">+++-==============-============-============-=================================<br class="">ii  rt4-apache2    4.4.1-3      all          Apache 2 specific files for reque<br class="">ii  rt4-clients    4.4.1-3      all          mail gateway and command-line int<br class="">ii  rt4-db-mysql   4.4.1-3      all          MySQL database backend for reques<br class="">un  rt4-db-postgre <none>       <none>       (no description available)<br class="">un  rt4-db-sqlite  <none>       <none>       (no description available)<br class="">un  rt4-doc-html   <none>       <none>       (no description available)<br class="">un  rt4-extension- <none>       <none>       (no description available)<br class="">un  rt4-extension- <none>       <none>       (no description available)<br class="">un  rt4-extension- <none>       <none>       (no description available)<br class="">un  rt4-extension- <none>       <none>       (no description available)<br class="">un  rt4-fcgi       <none>       <none>       (no description available)<br class="">un  rt4-standalone <none>       <none>       (no description available)<br class=""><br class=""><br class="">root@sheliak:/usr/share/request-tracker4/etc# dpkg -l request-tracker\*<br class="">Desired=Unknown/Install/Remove/Purge/Hold<br class="">| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend<br class="">|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)<br class="">||/ Name           Version      Architecture Description<br class="">+++-==============-============-============-=================================<br class="">ii  request-tracke 4.4.1-3      all          extensible trouble-ticket trackin<br class=""><br class="">And I’m seeing <br class=""><br class=""><br class="">[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)<br class="">Since your configuration exists (/etc/request-tracker4/RT_SiteConfig.pm) but is not writable, I'm refusing to do anything.<br class="">[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'<br class="">[Mon Feb 06 12:37:47.054248 2017] [:warn] [pid 3418] FastCGI: server "/usr/share/request-tracker4/libexec/rt-server.fcgi" restarted (pid 3437)<br class=""><br class="">RT couldn't connect to the database where tickets are stored.<br class="">If this is a new installation of RT, you should visit the URL below<br class="">to configure RT and initialize your database.<br class=""><br class="">If this is an existing RT installation, this may indicate a database<br class="">connectivity problem.<br class=""><br class="">The error RT got back when trying to connect to your database was:<br class=""><br class="">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.<br class="">Perhaps the DBD::Pg perl module hasn't been fully installed,<br class="">or perhaps the capitalisation of 'Pg' isn't right.<br class="">Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge, mysql.<br class=""> at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 106.<br class=""><br class=""><br class="">[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)<br class="">Since your configuration exists (/etc/request-tracker4/RT_SiteConfig.pm) but is not writable, I'm refusing to do anything.<br class="">[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'<br class="">[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<br class=""><br class="">---<br class="">TS<br class=""><a href="http://www.southofheaven.org/" class="">http://www.southofheaven.org/</a><br class="">Life begins and ends with chaos, live between the chaos!<br class=""><br class=""><blockquote type="cite" class="">On Feb 6, 2017, at 12:30 PM, Dominic Hargreaves <dom@earth.li> wrote:<br class=""><br class="">On Mon, Feb 06, 2017 at 12:15:19PM -0700, TheSin wrote:<br class=""><blockquote type="cite" class="">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.<br class=""></blockquote><br class="">Hi there,<br class=""><br class="">Sorry to hear that you had trouble. Please could you poste the exact<br class="">error messages you received so that we can help diagnose the problem?<br class=""><br class="">Relevant parts of your Apache configuration would also be useful.<br class=""><br class="">Thanks,<br class="">Dominic.<br class=""></blockquote><br class=""></div><br class=""><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; " class="">---</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; " class="">TS</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; " class=""><a href="http://www.southofheaven.org/" class="">http://www.southofheaven.org/</a></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; " class=""><font class="Apple-style-span" color="#0000EE"><span class="Apple-style-span" style="text-decoration: underline; "></span></font></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; " class="">Life begins and ends with chaos, live between the chaos!</p>
</div>
</span></div><br class=""></body></html>