Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC::XML Failing #24

Open
StuartRoberts40 opened this issue Mar 16, 2019 · 10 comments
Open

RPC::XML Failing #24

StuartRoberts40 opened this issue Mar 16, 2019 · 10 comments

Comments

@StuartRoberts40
Copy link

Hi,
Been trying to install this tonight but following the instructions cpan RPC::XML i get this:

Reading '/root/.cpan/Metadata'
Database was generated on Sat, 16 Mar 2019 19:54:23 GMT
Running install for module 'RPC::XML'
Checksum for /root/.cpan/sources/authors/id/R/RJ/RJRAY/RPC-XML-0.80.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring R/RJ/RJRAY/RPC-XML-0.80.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for RPC::XML
Writing MYMETA.yml and MYMETA.json
RJRAY/RPC-XML-0.80.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for R/RJ/RJRAY/RPC-XML-0.80.tar.gz
"/usr/bin/perl" etc/make_method --base=lib/Apache/RPC/status
"/usr/bin/perl" etc/make_method --base=methods/identity
"/usr/bin/perl" etc/make_method --base=methods/introspection
"/usr/bin/perl" etc/make_method --base=methods/listMethods
"/usr/bin/perl" etc/make_method --base=methods/methodHelp
"/usr/bin/perl" etc/make_method --base=methods/methodSignature
"/usr/bin/perl" etc/make_method --base=methods/multicall
"/usr/bin/perl" etc/make_method --base=methods/status
cp lib/RPC/XML/Server.pm blib/lib/RPC/XML/Server.pm
cp lib/RPC/XML/Parser/XMLParser.pm blib/lib/RPC/XML/Parser/XMLParser.pm
cp lib/RPC/XML.pm blib/lib/RPC/XML.pm
cp methods/methodSignature.xpl blib/lib/RPC/XML/methodSignature.xpl
cp methods/identity.xpl blib/lib/RPC/XML/identity.xpl
cp lib/RPC/XML/Parser.pm blib/lib/RPC/XML/Parser.pm
cp lib/Apache/RPC/status.xpl blib/lib/Apache/RPC/status.xpl
cp methods/listMethods.xpl blib/lib/RPC/XML/listMethods.xpl
cp lib/RPC/XML/Client.pm blib/lib/RPC/XML/Client.pm
cp lib/RPC/XML/ParserFactory.pm blib/lib/RPC/XML/ParserFactory.pm
cp methods/status.xpl blib/lib/RPC/XML/status.xpl
cp methods/introspection.xpl blib/lib/RPC/XML/introspection.xpl
cp methods/multicall.xpl blib/lib/RPC/XML/multicall.xpl
cp lib/RPC/XML/Parser/XMLLibXML.pm blib/lib/RPC/XML/Parser/XMLLibXML.pm
cp lib/RPC/XML/Procedure.pm blib/lib/RPC/XML/Procedure.pm
cp lib/Apache/RPC/Status.pm blib/lib/Apache/RPC/Status.pm
cp methods/methodHelp.xpl blib/lib/RPC/XML/methodHelp.xpl
cp lib/Apache/RPC/Server.pm blib/lib/Apache/RPC/Server.pm
cp etc/make_method blib/script/make_method
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/make_method
Manifying 1 pod document
Manifying 10 pod documents
RJRAY/RPC-XML-0.80.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/.t
t/00_load.t ..................... ok
t/10_data.t ..................... ok
t/11_base64_fh.t ................ ok
t/12_nil.t ...................... ok
t/13_no_deep_recursion.t ........ ok
t/14_datetime_iso8601.t ......... ok
t/15_serialize.t ................ ok
t/20_xml_parser.t ............... ok
t/21_xml_libxml.t ............... ok
t/25_parser_negative.t .......... ok
t/29_parserfactory.t ............ ok
t/30_procedure.t ................ ok
t/35_namespaces.t ............... ok
t/40_server.t ................... 1/91

Failed test 'RPC::XML::Server::url method (set)'

at t/40_server.t line 188.

'http://[::1]:37723/'

doesn't match '(?^:http://(127[.]0[.]0[.]1|localhost|ip6-localhost|ip6-loopback|localhost[.]localdomain):37723)'

t/40_server.t ................... 41/91 Not an ARRAY reference at t/40_server.t line 333.

Looks like your test exited with 255 just after 43.

How do fix this please?
When I tried to run evilgrade I got this:

Can't locate RPC/XML.pm in @inc (you may need to install the RPC::XML module) (@inc contains: /root/Downloads/evilgrade /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /etc/perl/isrcore/shellz.pm line 36.
Compilation failed in require at ./evilgrade line 24.
BEGIN failed--compilation aborted at ./evilgrade line 24.

Can you please help?

Thank you
Stuart

@void4121
Copy link

I received the same issue not sure what to do..

@AbbashAli
Copy link

Don't panic guys...Be relaxed, That is one of the common issue
TO FIX THAT ISSUE KINDLY FOLLOW MY STEPS:-
1.Go to /etc/
2.open the host file
3.comment all lines (#) related to ipv6
4.Go to Terminal and update by using the command apt-get update
5.Enjoy and have fun :)

@mockingbi3d
Copy link

that worked for me @fireloopcreations thanks. For some reason I can't tag you

@nirazanmandal-zz
Copy link

sudo apt install librpc-xml-perl
This worked for me.

@jabbascript-injection
Copy link

Thank you so much! This worked like a charm.

@nillay
Copy link

nillay commented Apr 6, 2020

Don't panic guys...Be relaxed, That is one of the common issue
TO FIX THAT ISSUE KINDLY FOLLOW MY STEPS:-
1.Go to /etc/
2.open the host file
3.comment all lines (#) related to ipv6
4.Go to Terminal and update by using the command apt-get update
5.Enjoy and have fun :)

Don't panic guys...Be relaxed, That is one of the common issue
TO FIX THAT ISSUE KINDLY FOLLOW MY STEPS:-
1.Go to /etc/
2.open the host file
3.comment all lines (#) related to ipv6
4.Go to Terminal and update by using the command apt-get update
5.Enjoy and have fun :)

this method DIDN't Work since RPC::XML was missing.

Method which Worked :

#17 (comment)

Quoting:

Hi @Ahmedabdsalam
You have to install it using cpan:
cpan
cpan> install RPC::XML

Check it out every module and installing using the same way:
Data::Dump
Digest::MD5
Time::HiRes
RPC::XML

@manish53393679
Copy link

pls follow following steps...

Step 1 | cd /root/Downloads/evilgrade/
Step 2 | cpan Data::Dump
Step 3 | cpan Digest::MD5
Step 4 | cpan Time::HiRes
Step 5 | sudo apt-get install perl
Step 6 | if promp for yes, type y
Step 7 | sudo apt install librpc-xml-perl
Step 8 | cpan RPC::XML
Step 9 | cp -r isrcore /etc/perl

@Shubham3314
Copy link

pls follow following steps...

Step 1 | cd /root/Downloads/evilgrade/
Step 2 | cpan Data::Dump
Step 3 | cpan Digest::MD5
Step 4 | cpan Time::HiRes
Step 5 | sudo apt-get install perl
Step 6 | if promp for yes, type y
Step 7 | sudo apt install librpc-xml-perl
Step 8 | cpan RPC::XML
Step 9 | cp -r isrcore /etc/perl

@manish53393679 thanks man :)

@barriesimpson
Copy link

@manish53393679 that worked. Thank you.

@Thousif10
Copy link

sudo apt install librpc-xml-perl
This worked for me.

it worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests