WeBWorK Main Forum

SOAP Error on Ubuntu 14.01

SOAP Error on Ubuntu 14.01

by Marcel Sylvester -
Number of replies: 4
I'm trying to use wwassingment with the vanilla ubuntu 14.01 image and I'm getting this error from apache: [Wed Sep 24 09:38:22.711025 2014] [perl:error] [pid 8240] [client 128.111.90.151:44066] failed to resolve handler `Apache2::SOAP': Can't locate Apache2/SOAP.pm in @INC (you may need to install the Apache2::SOAP module) (@INC contains: /opt/webwork/pg/lib /opt/webwork/webwork2/lib /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . /etc/apache2) at (eval 842) line 2.\n

Any help would be much appreciated.

Thanks,
In reply to Marcel Sylvester

Re: SOAP Error on Ubuntu 14.01

by Björn Bergstrand -
Do you have the Apache2::SOAP module installed? It's easily installed by running

cpan install Apache2::SOAP
In reply to Björn Bergstrand

Re: SOAP Error on Ubuntu 14.01

by Marcel Sylvester -
I following the following error: 

root@webwork4:/usr/lib/perl# cpan install Apache2::SOAP

CPAN: Storable loaded ok (v2.41)

Reading '/root/.cpan/Metadata'

  Database was generated on Mon, 29 Sep 2014 17:17:02 GMT

Running install for module 'Apache2::SOAP'

CPAN: Digest::SHA loaded ok (v5.92)

CPAN: Compress::Zlib loaded ok (v2.066)

Checksum for /root/.cpan/sources/authors/id/R/RK/RKOBES/Apache2-SOAP-0.73.tar.gz ok

CPAN: File::Temp loaded ok (v0.2304)

CPAN: YAML loaded ok (v1.12)

CPAN: Parse::CPAN::Meta loaded ok (v1.4414)

CPAN: CPAN::Meta loaded ok (v2.142060)

Configuring R/RK/RKOBES/Apache2-SOAP-0.73.tar.gz with Makefile.PL

[   info] generating script t/TEST

Can't find the mod_perl include dir (reason: path /usr/include/apache2 doesn't exist) at /usr/lib/perl5/Apache2/Build.pm line 2101.

Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]

  RKOBES/Apache2-SOAP-0.73.tar.gz

  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK

In reply to Marcel Sylvester

Re: SOAP Error on Ubuntu 14.01

by Arnold Pizer -
Hi,

What OS are you using?  If Ubuntu, try

sudo apt-get install libsoap-lite-perl

Arnie
In reply to Marcel Sylvester

Re: SOAP Error on Ubuntu 14.01

by Marcel Sylvester -
creating the missing directory solved installing Apache2::SAOP Then: Illegal field name 'APR::Table=HASH(0x7f4a77999868)' at /usr/local/share/perl/5.18.2/SOAP/Transport/HTTP2.pm line 103.\n
cropped up,  but downgrading HTTP::Messages from 6.06 to 6.04 seems to have done the trick. 

Thanks for the help