Skip to content

RHEL 5: Can't locate App/Info/HTTPD/Apache.pm in @INC #621

@XXLRay

Description

@XXLRay

I am trying to install octopussy-1.0.14 on Red Hat Enterprise Linux Client release 5.11 (Tikanga) with perl, v5.8.8 built for x86_64-linux-thread-multi.:

I followed the install instructions for CentOS on http://www.octopussy.pm/documentation/guides/administrator_guide/01_installation

When executing cpan Apache::ASP App::Info App::Info::HTTPD Cache::Cache Crypt::PasswdMD5 I get the error message:

Result: FAIL
Failed 6/21 test programs. 62/475 subtests failed.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

And when I want to start octopussy:

/etc/init.d/octopussy web-start
Can't locate App/Info/HTTPD/Apache.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/Octopussy/System.pm line 13.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Octopussy/System.pm line 13.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/Octopussy/Device.pm line 26.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Octopussy/Device.pm line 26.
Compilation failed in require at /etc/init.d/octopussy line 41.
BEGIN failed--compilation aborted at /etc/init.d/octopussy line 41.

So I guess something fails when I try to install the Apache perl modules- How can I get around this?

Edit 1: I found another discussion but it didn't help me #242

Edit 2: I was able to go through the installation process by:

cpan
force install Apache::ASP
force install App::Info
force install App::Info::HTTPD
force install Cache::Cache
force install Crypt::PasswdMD5

But when I now try to start octopussy by /etc/init.d/octopussy web-start; /etc/init.d/octopussy start

I get the error message:

octopussy Dispatcher Started.
octopussy RRD Started.
octopussy Scheduler Started.
octopussy Sender Started.
octopussy Pusher Started.
octopussy Commander Started.
Can't locate Time/Piece.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/sbin/octo_scheduler line 23.
BEGIN failed--compilation aborted at /usr/sbin/octo_scheduler line 23.

Edit 3: Also needed to do:

cpan Time::Piece
cpan
force install DateTime::Format::Strptime
exit

Now I have a login screen at https://my.server.name:8888 after /etc/init.d/octopussy start although it still gives me:

DateTime version 1 required--this is only version 0.50 at /usr/lib/perl5/site_perl/5.8.8/DateTime/Format/Strptime.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/Format/Strptime.pm line 7.
Compilation failed in require at /usr/sbin/octo_pusher line 25.
BEGIN failed--compilation aborted at /usr/sbin/octo_pusher line 25.

So something in the installation guide seems not to be fitting RHEL 5.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions