didactic_cudgel (
didactic_cudgel) wrote in
dw_dev2012-06-27 07:44 am
Entry tags:
Ubuntu upgrade to 12.04 x64
So, My Ubuntu 10.10 OS went end of support back in April, and so I thought it would be so very wise to upgrade. The upgrade from 10.10 to 11.04 went swimmingly, everything was fine on 11.04 to 11.10 and then from 11.10 to 12.04, everything went kerblooie.
When apache tries to start, it blows up on (I think) loading the modperl.pl file. I get these errors:
I did try upgrading the dw code after the first time it failed, thinking there might be a fix. I was on version 1.0.early before. It doesn't seem to have helped. I was also getting a bunch of "deprecated HASH" errors, too, but I commented the relevant lines out and it made the errors go away.
I don't know if this a linux problem, but I suspect it's more of a user problem.
I have a production installation.
When apache tries to start, it blows up on (I think) loading the modperl.pl file. I get these errors:
[Wed Jun 27 07:30:15 2012] [error] Can't locate Hash/MultiValue.pm in @INC (@INC contains: /home/dwcode/cgi-bin/x86_64-linux-gnu-thread-multi /home/dwcode/cgi-bin /home/dwcode/extlib/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at /home/dwcode/cgi-bin/DW/Request/Apache2.pm line 31.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/DW/Request/Apache2.pm line 31.\nCompilation failed in require at /home/dwcode/cgi-bin/DW/Request.pm line 30.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/DW/Request.pm line 30.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/Web.pm line 27.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/Web.pm line 27.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/NotificationMethod/Email.pm line 20.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/NotificationMethod/Email.pm line 20.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/NotificationMethod.pm line 19.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/NotificationMethod.pm line 19.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/Subscription.pm line 17.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/Subscription.pm line 17.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/ESN.pm line 18.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/ESN.pm line 18.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/Event.pm line 20.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/Event.pm line 20.\nCompilation failed in require at (eval 96) line 2.\n\t...propagated at /usr/share/perl/5.14/base.pm line 93.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/Event/PollVote.pm line 16.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/Poll.pm line 19.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/Poll.pm line 19.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/Entry.pm line 1130.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/Entry.pm line 1130.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/Event/JournalNewEntry.pm line 21.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/Event/JournalNewEntry.pm line 21.\nCompilation failed in require at /home/dwcode/cgi-bin/LJ/Protocol.pm line 22.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/LJ/Protocol.pm line 22.\nCompilation failed in require at /home/dwcode/cgi-bin/Apache/LiveJournal.pm line 25.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/Apache/LiveJournal.pm line 25.\nCompilation failed in require at /home/dwcode/cgi-bin/modperl_subs.pl line 32.\nBEGIN failed--compilation aborted at /home/dwcode/cgi-bin/modperl_subs.pl line 32.\nCompilation failed in require at /home/dwcode/cgi-bin/modperl.pl line 49.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Jun 27 07:30:15 2012] [error] Can't load Perl file: /home/dwcode/cgi-bin/modperl.pl for server bigender:0, exiting...I did try upgrading the dw code after the first time it failed, thinking there might be a fix. I was on version 1.0.early before. It doesn't seem to have helped. I was also getting a bunch of "deprecated HASH" errors, too, but I commented the relevant lines out and it made the errors go away.
I don't know if this a linux problem, but I suspect it's more of a user problem.
I have a production installation.

no subject
I had run checkconfig.pl before posting here, but all it said was TimeZone must be UTC, which seemed unrelated to my problem, and as far as I could recall, the system had always run on CDT before.
By changing the timezone to UTC, it allowed checkconfig.pl to continue running. I then got a bunch of missing modules.
I tried using the apt-get statement generated (
apt-get install libapache2-request-perl libbusiness-creditcard-perl libdata-objectdriver-perl libdigest-sha1-perl libio-aio-perl liblwpx-paranoidagent-perl libtext-markdown-perl libtheschwartz-perl)but it bailed on
E: Unable to locate package libdigest-sha1-perlevery time.
I was abl to use the apt-get statement once I removed the sha1 library. cpan on those modules also worked.
Per allendw in #dreamwidth-dev, there's a new replacement package for libdigest-sha1-perl called libdigest-sha-perl.
I had initially tried installing that, but before I tried to compile it, allendw suggested that installing the cpan for SHA instead
that seemed to sort it, but then my databases wouldn't start. I had to go into config-private.pl and change the hostname back to localhost from what I had defined it as before, but that might be more my system than a general thing.
I reran checkconfig and it came back clean, ran
bin/texttool.pl loadand was able to get apache2 to load.
Now my site is back up and running, thanks to the awesome people at #dreamwidth-dev (who are all here as well, I believe).
Thank you!