Send Netdot-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."


Today's Topics:

   1. A new flavor of "failed to resolve handler        @Netdot::Mason"?
      (??rhallur H?lfd?narson)


----------------------------------------------------------------------

Message: 1
Date: Tue, 15 Jan 2013 23:05:53 +0000
From: ??rhallur H?lfd?narson    <[email protected]>
Subject: [Netdot-users] A new flavor of "failed to resolve handler
        @Netdot::Mason"?
To: "[email protected]" <[email protected]>
Message-ID:
        <2E246831A72BF241B16CE16B9BC4BA9E74D7C58C@Skyrr-ExchMb2.skyrr.local>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

While preparing an upgrade and merge from other systems, I'm installing a test 
installation on a new box (currently running 0.9.x elsewhere), and I'm hitting 
the well known permission denied error (403+500) - the FAQ #2 one.

Eventually fixed by installing Apache2::Reload (required MM).  Perhaps checking 
for this is missing in some steps of the installation?

Here's the info I already gathered when I was to the point I needed some help - 
I hope this is useful to you.

My environment:
CentOS 6.3
Apache 2.2.15
perl 5.10.1
Netdot 1.0.4 installed with PREFIX=/opt/netdot
make testdeps shows no errors

httpd/conf.d already has perl.conf and perl-HTML-Mason.conf

Copied /opt/netdot/etc/netdot_apache2_local.conf to 
/etc/httpd/conf.d/netdot.conf, and I made only one change to netdot.conf 
(module already loaded from another include, so httpd refused to start):
# diff /opt/netdot/etc/netdot_apache2_local.conf /etc/httpd/conf.d/netdot.conf
25c25
< LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so
---
> #LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so

The lib dir is as follows, as expected:
# grep PerlSwitches netdot.conf
PerlSwitches -I/opt/netdot/lib


The following is in the httpd error_log:

[Tue Jan 15 22:18:57 2013] [error] [client xxx.xxx.xxx.xxx] failed to resolve 
handler `Netdot::Mason': Attempt to reload Netdot/Model/Zone.pm 
aborted.\nCompilation failed in require at (eval 422) line 3.\n\t...propagated 
at /usr/share/perl5/base.pm line 94.\nBEGIN failed--compilation aborted at 
(eval 421) line 1.\nBEGIN failed--compilation aborted at 
/opt/netdot/lib/Netdot/Model.pm line 418.\nCompilation failed in require at 
/opt/netdot/lib/Netdot/UI.pm line 5.\nBEGIN failed--compilation aborted at 
/opt/netdot/lib/Netdot/UI.pm line 5.\nCompilation failed in require at 
/opt/netdot/lib/Netdot/Mason.pm line 21.\nBEGIN failed--compilation aborted at 
/opt/netdot/lib/Netdot/Mason.pm line 21.\nCompilation failed in require at 
(eval 71) line 3.\n

What I've tried so far
- renaming perl.conf to 00.perl.conf, with and without the same for 
perl-HTML-Mason.conf (then I observe "reload" errors, similar to a Todd Lyons 
submitted to this list on December 14th)
- Using PerlSwitches in perl.conf instead of netdot.conf (no difference)
- Added "use lib qw( /opt/netdot/lib );" (grasping straws, I presume 
PerlSwitches -I does the same)

I also tried installing to the default /usr/local/netdot, with the same results.



Best regards,
Tolli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20130115/6f3728a7/attachment-0001.html
 

------------------------------

_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users


End of Netdot-users Digest, Vol 50, Issue 4
*******************************************

Reply via email to