Send Netdot-users mailing list submissions to netdot-users@osl.uoregon.edu
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 netdot-users-requ...@osl.uoregon.edu You can reach the person managing the list at netdot-users-ow...@osl.uoregon.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Netdot-users digest..." Today's Topics: 1. Re: Netdot 1.0.7 on Debian Jessie: Attempt to reload Netdot/Model/Ipblock.pm aborted (Phil Regnauld) 2. Re: Netdot 1.0.7 on Debian Jessie: Attempt to reload Netdot/Model/Ipblock.pm aborted (Charles) ---------------------------------------------------------------------- Message: 1 Date: Thu, 29 Sep 2016 23:01:05 +0200 From: Phil Regnauld <regna...@nsrc.org> Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to reload Netdot/Model/Ipblock.pm aborted To: Matt Zagrabelny <mzagr...@d.umn.edu> Cc: netdot-users@osl.uoregon.edu Message-ID: <20160929210105.gk1...@macbook.x0.dk> Content-Type: text/plain; charset=us-ascii Matt Zagrabelny (mzagrabe) writes: > > https://osl.uoregon.edu/redmine/projects/netdot/repository/revisions/9ec7993c97eef51674ce170eaa7b80ecbdbbd046 > > There were other ones as well to get things like REST functioning > correctly with apache 2.4, fix stack traces, format MAC address, add > export hooks, etc. If someone has a list of those patches and pointers to them, that'd be aweesome. May be a good idea to maintain that somewhere. ------------------------------ Message: 2 Date: Fri, 30 Sep 2016 14:49:29 +0530 From: Charles <c...@aurinoco.net> Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to reload Netdot/Model/Ipblock.pm aborted To: netdot-users@osl.uoregon.edu Message-ID: <5410ae57-d128-490e-4bed-8abdc28be...@aurinoco.net> Content-Type: text/plain; charset=windows-1252; format=flowed > Date: Thu, 29 Sep 2016 10:15:29 +0000 > From: Vincent Magnin <vincent.mag...@unil.ch> > Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to > reload Netdot/Model/Ipblock.pm aborted > To: "netdot-users@osl.uoregon.edu" <netdot-users@osl.uoregon.edu> > Message-ID: <1475144129766.51...@unil.ch> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Charles, > > Did you check the mailing list archive? > - http://osl.uoregon.edu/pipermail/netdot-users/2016-April/002076.html > >> Is Netdot known to work with perl in the 5.20 version installed by >> Debian 8 Jessie? The git's installation procedure says "Perl 5.6.1 or >> later". A 14 point release change may be too much for compatibility. > > It seems that you need a patched netdot_apache24_local.conf conf file. > > I was able to use netdot on a Ubuntu 16.04 LTS using the supplied conf file > (perl 5.22). > > > Regards, > > Vincent Thanks Vincent For future reference, here's what I did, including a context diff for the patch. ~# ln -s /usr/local/netdot/etc/netdot_apache24_local.conf /etc/apache2/sites-available/netdot ~# diff -u /usr/local/netdot/etc/netdot_apache24_local.conf{.org,} --- /usr/local/netdot/etc/netdot_apache24_local.conf.org 2016-09-29 13:02:32.366545852 +0530 +++ /usr/local/netdot/etc/netdot_apache24_local.conf 2016-09-30 11:35:03.032178417 +0530 @@ -29,6 +29,10 @@ PerlSwitches -I/usr/local/netdot/lib <Perl> +# http://osl.uoregon.edu/pipermail/netdot-users/2016-April/002080.html +PerlModule Apache::LogSTDERR + HookStderr logs/stderr_log + # Set up the Mason handler and global variables and import modules. use Netdot::Mason; Then Apache started :D But opening http://<server ID>/netdot gave "You don't have permission to access /netdot on this server" and this familiar message in /var/log/apache/error: [Fri Sep 30 14:39:43.030669 2016] [perl:error] [pid 10161:tid 139888670263040] [client 10.10.50.110:47062] failed to resolve handler `Netdot::Mason': Attempt to reload Netdot/Model/Device.pm aborted.\nCompilation failed in require at /usr/share/perl/5.20/base.pm line 100.\n\t...propagated at /usr/share/perl/5.20/base.pm line 110.\nBEGIN failed--compilation aborted at (eval 241) line 1.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 381.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 21.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 21.\nCompilation failed in require at (eval 57) line 2.\n Expanding the message: [Fri Sep 30 14:39:43.030669 2016] [perl:error] [pid 10161:tid 139888670263040] [client 10.10.50.110:47062] failed to resolve handler `Netdot::Mason': Attempt to reload Netdot/Model/Device.pm aborted. Compilation failed in require at /usr/share/perl/5.20/base.pm line 100. ...propagated at /usr/share/perl/5.20/base.pm line 110. BEGIN failed--compilation aborted at (eval 241) line 1. BEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 381. Compilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 5. BEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 5. Compilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 21. BEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 21. Compilation failed in require at (eval 57) line 2. I repeated the test to confirm that the message was generated on opening http://<server ID>/netdot not before. Confirmed. Charles > -------------- next part -------------- ... > ------------------------------ > > Message: 6 > Date: Thu, 29 Sep 2016 09:33:21 -0500 > From: Matt Zagrabelny <mzagr...@d.umn.edu> > Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to > reload Netdot/Model/Ipblock.pm aborted > To: Charles <c...@aurinoco.net> > Cc: netdot-users@osl.uoregon.edu > Message-ID: > <caolfk3wbj5b+dghf8aorxpueptrab5wvry+zuuxwscv0yxg...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > On Thu, Sep 29, 2016 at 8:18 AM, Charles <c...@aurinoco.net> wrote: >> On 29/09/16 16:41, Matt Zagrabelny wrote: ... >> Thanks Matt. That's good news. Do you have any further information on the >> patches you applied? > > The main one was the apache 2.4 config file git commit. > > https://osl.uoregon.edu/redmine/projects/netdot/repository/revisions/9ec7993c97eef51674ce170eaa7b80ecbdbbd046 > > There were other ones as well to get things like REST functioning > correctly with apache 2.4, fix stack traces, format MAC address, add > export hooks, etc. Thanks Matt. I'm looking forward to those :p ------------------------------ _______________________________________________ Netdot-users mailing list Netdot-users@osl.uoregon.edu https://osl.uoregon.edu/mailman/listinfo/netdot-users End of Netdot-users Digest, Vol 90, Issue 7 *******************************************