RT Maintenance: Difference between revisions

From Pumping Station One
cleaning up
Wikibot (talk | contribs)
m Robot: Cosmetic changes
Line 1: Line 1:
== Symptoms of a borked perl ==
== Symptoms of a borked perl ==


* The server produces little or no logs
* The server produces little or no logs
* running /opt/rt4/sbin/rt-server produces a segmentation fault
* running /opt/rt4/sbin/rt-server produces a segmentation fault
* running make testdeps in ~/rt-4.2.3 produces a segmentation fault
* running make testdeps in ~/rt-4.2.3 produces a segmentation fault


Generally a borked perl is caused by an upgrade to a c lib without rebuilding the associated perl module, most commonly libmariadb.
Generally a borked perl is caused by an upgrade to a c lib without rebuilding the associated perl module, most commonly libmariadb.
Line 9: Line 9:
=== Rebuild Perl ===
=== Rebuild Perl ===


The RT instance doesn't use pacman to manage perl libs, just core perl itself. CPAN is used to manage perl libs.
The RT instance doesn't use pacman to manage perl libs, just core perl itself. CPAN is used to manage perl libs.


     rm -rf /usr/bin/vendor_perl
     rm -rf /usr/bin/vendor_perl