Bug 11859 - mga-mirrors can't be started
Summary: mga-mirrors can't be started
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Olivier Thauvin
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2013-12-02 23:17 CET by Manuel Hiebel
Modified: 2015-03-31 16:07 CEST (History)
0 users

See Also:
Source RPM: mga-mirrors
CVE:
Status comment:


Attachments

Description Manuel Hiebel 2013-12-02 23:17:18 CET
[manu@vosdook ~]$ mga_mirrors_server.pl -d
You are loading Catalyst::Engine::HTTP explicitly.

This is almost certainly a bad idea, as Catalyst::Engine::HTTP
has been removed in this version of Catalyst.

Please update your application's scripts with:

  catalyst.pl -force -scripts MyApp

to update your scripts to not do this.
Base class package "Class::Data::Inheritable" is empty.
    (Perhaps you need to 'use' the module which defines that package first,
    or make that module available in @INC (@INC contains: /usr/bin/../lib /usr/lib/perl5/site_perl/5.16.3/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.16.3 /usr/lib/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.16.3 /usr/lib/perl5/5.16.3/x86_64-linux-thread-multi /usr/lib/perl5/5.16.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.16.2 /usr/lib/perl5/vendor_perl/5.16.2/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.14.2 /usr/lib/perl5/vendor_perl/5.14.1 /usr/lib/perl5/vendor_perl/5.14.0 /usr/lib/perl5/vendor_perl/5.12.3 /usr/lib/perl5/vendor_perl/5.12.2 /usr/lib/perl5/vendor_perl .).
 at /usr/lib/perl5/vendor_perl/5.16.2/Catalyst/Plugin/Prototype.pm line 4.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.16.2/Catalyst/Plugin/Prototype.pm line 4.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.16.2/Catalyst.pm line 2987.
	Catalyst::setup_plugins('MGA::Mirrors', 'ARRAY(0x30cc8a0)') called at /usr/lib/perl5/vendor_perl/5.16.2/Catalyst.pm line 1109
	Catalyst::setup('MGA::Mirrors') called at /usr/lib/perl5/vendor_perl/5.16.2/MGA/Mirrors.pm line 46
	require MGA/Mirrors.pm called at /usr/bin/mga_mirrors_server.pl line 66
	main::__ANON__() called at /usr/bin/mga_mirrors_server.pl line 107
Compilation failed in require at /usr/bin/mga_mirrors_server.pl line 66.

Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-12-02 23:17:32 CET

Keywords: (none) => Triaged
Assignee: bugsquad => nanardon

Comment 1 Manuel Hiebel 2013-12-02 23:24:10 CET
after installing perl-Class-Data-Inheritable

it still fail:


You are loading Catalyst::Engine::HTTP explicitly.

This is almost certainly a bad idea, as Catalyst::Engine::HTTP
has been removed in this version of Catalyst.

Please update your application's scripts with:

  catalyst.pl -force -scripts MyApp

to update your scripts to not do this.
mkdir /tmp/mga
mkdir /tmp/mga/mirrors
MGA::Mirrors::View::GraphViz is using the deprecated Catalyst::Base, update your application as this will be removed in the next major release at /usr/lib/perl5/vendor_perl/5.16.2/Catalyst/Base.pm line 7.
Failed to open /etc/mga-mirrors.ini: Permission non accordée at /usr/lib/perl5/vendor_perl/5.16.2/MGA/Mirrors/DB.pm line 18.
Couldn't instantiate component "MGA::Mirrors::Model::Mirrors", "Can't bless non-reference value at /usr/lib/perl5/vendor_perl/5.16.2/MGA/Mirrors/Model/Mirrors.pm line 28."Compilation failed in require at /usr/bin/mga_mirrors_server.pl line 66.
Comment 2 Manuel Hiebel 2013-12-02 23:55:43 CET
Ok it's because it was not as root, but it still fail. And as I can't found any doc, I don't continue anymore my search
Comment 3 Olivier Thauvin 2013-12-03 00:23:43 CET
It looks like it failed to load or connect to database.

Can it read its configuration ? Does the configuration contains information need ?
Comment 4 Manuel Hiebel 2013-12-03 10:25:00 CET
yes it can read configuration, looks like perl-Catalyst-Devel was missing too.

For the information needed in the configuration file I have no ideas, I don't know how this should work.
Comment 5 Marja Van Waes 2015-03-31 16:07:11 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.