MHMDhub / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

Upgrade Fails #214

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Pardon the duplication. This has been posted on the mailing list, but I figured 
it is also appropriate to log a ticket since there seem to be installer issues 
and I am dead in the water right now.

These packages are not available in my OEL repo. I haven't dug into why yet, 
but maybe they are simply not needed?
No package pkg-config available. (pkgconfig is installed)
No package libnet-devel available. (-lib and I am OK)
No package libopenssl-devel available. (-lib and I am OK)

This doesn't appear to be a problem, per-se, but it was an error, so here it is:
Executing set_date
19 Jun 11:55:46 ntpdate[16972]: the NTP socket is in use, exiting

I have had a problem with this before, but since it's already installed, I 
commented it out. That seemed to have helped.
! Finding Test::Simple@0.98 on cpanmetadb failed.
! Finding Test::Simple@0.98 on search.cpan.org failed.
! Finding Test::Simple@0.98 () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution Test::Simple@0.98 ()

I see several lines like this, which seem to not matter since it's already 
installed:
JSON::XS is up to date. (3.01)
! Finding Config::JSON on cpanmetadb failed.

Whoops, that doesn't look good:
ERROR 1452 (23000) at line 1: Cannot add or update a child row: a foreign key 
constraint fails (`syslog`.`fields_classes_map`, CONSTRAINT 
`fields_classes_map_ibfk_1` FOREIGN KEY (`field_id`) REFERENCES `fields` (`id`) 
ON DELETE CASCADE ON UPDATE CASCADE)

Various module build/test failures:
--> Working on Module::Pluggable
Fetching http://www.cpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-5.1.tar.gz 
... OK
==> Found dependencies: Module::Build
--> Working on Module::Build

Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-0.4205.tar.gz 
... OK
Configuring Module-Build-0.4205 ... OK
Building and testing Module-Build-0.4205 ... FAIL
! Installing Module::Build failed. See /root/.cpanm/build.log for details.
! Bailing out the installation for Module-Pluggable-5.1. Retry with --prompt or 
--force.

Building and testing ExtUtils-MakeMaker-6.98 ... FAIL
! Installing ExtUtils::MakeMaker failed. See /root/.cpanm/build.log for details.
! Bailing out the installation for Module-ScanDeps-1.13. Retry with --prompt or 
--force.
! Bailing out the installation for Module-Install-1.08. Retry with --prompt or 
--force.

Configuring Module-Build-Tiny-0.036 ... N/A
! Configure failed for Module-Build-Tiny-0.036. See /root/.cpanm/build.log for 
details.
! Bailing out the installation for MooseX-Storage-0.46. Retry with --prompt or 
--force.

I started to modifying install.sh by removing some of the problematic modules 
to see how far I could get and started to run into dependency hell, so I 
figured it would be best to ask for help here. Please. Help me, Martin-wan. You 
are my only hope!

Logs are attached.

Original issue reported on code.google.com by lib...@gmail.com on 25 Jun 2014 at 9:01

Attachments:

GoogleCodeExporter commented 8 years ago
Well, after a reboot I was essentially left with two problems. Both 
Module::Build::Tiny, a dependency of MooseX::Storage, and Module::Build, a 
dependency of DateTime, failed. Looking in /root/.cpanm/build.log I discovered 
this error: List::Util version 1.33 required--this is only version 1.21 at 
/usr/local/share/perl5/CPAN/Meta/Converter.pm line 12.

I added List::Util as the first argument after cpanm in the build_web_perl 
function and that brought down the dependency, so everything succeeded after 
that.

Of note is that this is Oracle Linux Server release 6.5. I performed a similar 
upgrade over the weekend on a CentOS 6.3 box and had no problems.

Original comment by lib...@gmail.com on 30 Jun 2014 at 3:24