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. Re: Netdot 1.0.7 on Debian Jessie: Attempt to reload
      Netdot/Model/Ipblock.pm aborted (Charles)
   2. Re: Netdot 1.0.7 on Debian Jessie: Attempt to reload
      Netdot/Model/Ipblock.pm aborted (Vincent Magnin)
   3. Re: Netdot 1.0.7 on Debian Jessie: Attempt to reload
      Netdot/Model/Ipblock.pm aborted (Matt Zagrabelny)
   4. Re: Netdot 1.0.7 on Debian Jessie: Attempt to reload
      Netdot/Model/Ipblock.pm aborted (Vincent Magnin)
   5. Re: Netdot 1.0.7 on Debian Jessie: Attempt to reload
      Netdot/Model/Ipblock.pm aborted (Charles)
   6. Re: Netdot 1.0.7 on Debian Jessie: Attempt to reload
      Netdot/Model/Ipblock.pm aborted (Matt Zagrabelny)


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

Message: 1
Date: Thu, 29 Sep 2016 14:39:03 +0530
From: Charles <[email protected]>
Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
        reload Netdot/Model/Ipblock.pm aborted
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

> Date: Tue, 27 Sep 2016 13:08:25 +0530
> From: Charles <[email protected]>
> Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
>       reload Netdot/Model/Ipblock.pm aborted
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
>> Date: Thu, 22 Sep 2016 20:55:27 +0530
>> From: Charles <[email protected]>
>> Subject: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
>>      reload Netdot/Model/Ipblock.pm aborted
>> To: [email protected]
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>> Hello Netdot users :-)
>>
>> Setting up Netdot 1.0.7 on Debian Jessie following the 1.0.5 procedure
>> from
>> https://osl.uoregon.edu/redmine/attachments/download/146/netdot-manual.pdf,
>> I got stuck at "Attempt to reload Netdot/Model/Ipblock.pm aborted"
> ...
>>
>> Any ideas?
>>
>> Best
>>
>> Charles
>
> Fixed by:
>
> 1. Running make installdeps
> (had forgotten to run make testdeps after installing packages from the
> Debian repos)
>
> 2. Increasing memory from 512 MB to 2 GB
> (after seeing OOM killer messages in /var/log/syslog)
>
> 3. Re-installing from scratch
>
> C

Scrub my last mail and sorry for the noise.  The test (does Apache start 
with no errors?) was not sufficient and I had messed up re-initialising 
the Apache perl modules.

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. 
Perhaps the error is caused by a long standing bug exposed by stricter 
checking.

Is Netdot still actively supported?  Perhaps not:
* Last release on 8 Dec 2014
* 54 unclosed issues since last release
* Browsing issues shows few responses from developer(s)

Details of my further attempts to get Netdot installed follow.

After re-initialising the Apache perl modules by aptitude purge and 
aptitude install Apache failed to start with:

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 209) 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 /etc/apache2/sites-enabled/netdot.conf 
line 32.
BEGIN failed--compilation aborted

That is the same as Support #1880 "Can not restart Apache after install 
Netdot" (https://osl.uoregon.edu/redmine/issues/1880), reported 4 Nov 
2015, unsolved, no progress since 19 Nov 2015.

The OS was CentOS 7.1.1503 so the issue is affecting at least CentOS 
7.1.1503 and Debian 8 Jessie.

I tried to debug, hampered by not being a perl programmer and by perl 
run via mod_perl having different line numbers at run time than in the 
.pm file (IIUC).  The only useful thing I found was changing the 
definition of $logger in /usr/local/netdot/lib/Netdot/Model.pm ...

[email protected]:/usr/local/netdot/lib/Netdot# diff Model.pm.org Model.pm
24c24,25
< my $logger = Netdot->log->get_logger("Netdot::Model");
---
 > #my $logger = Netdot->log->get_logger("Netdot::Model");
 > my $logger = Log::Log4perl->get_logger("Netdot::Model");

... changed the eval number in "BEGIN failed--compilation aborted at 
(eval 209) line 1."

Stuck, I installed from git.  Netdot 1.0.7 was released on 8 Dec 2014 
since when there have been 46 commits including changes to the 
installation procedure.

Starting Apache resulted in exactly the same error message.







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

Message: 2
Date: Thu, 29 Sep 2016 10:15:29 +0000
From: Vincent Magnin <[email protected]>
Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
        reload Netdot/Model/Ipblock.pm aborted
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netdot_apache24_local.conf
Type: application/octet-stream
Size: 5722 bytes
Desc: netdot_apache24_local.conf
Url : 
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20160929/98078c07/attachment-0001.obj
 

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

Message: 3
Date: Thu, 29 Sep 2016 06:11:48 -0500
From: Matt Zagrabelny <[email protected]>
Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
        reload Netdot/Model/Ipblock.pm aborted
To: Charles <[email protected]>
Cc: [email protected]
Message-ID:
        <caolfk3v9vcxnt3fwwvygatm2hl4kvv4yefmdewvr2i60fuk...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Thu, Sep 29, 2016 at 4:09 AM, Charles <[email protected]> wrote:
>> Date: Tue, 27 Sep 2016 13:08:25 +0530
>> From: Charles <[email protected]>
>> Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
>>       reload Netdot/Model/Ipblock.pm aborted
>> To: [email protected]
>> Message-ID: <[email protected]>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>
>>> Date: Thu, 22 Sep 2016 20:55:27 +0530
>>> From: Charles <[email protected]>
>>> Subject: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
>>>      reload Netdot/Model/Ipblock.pm aborted
>>> To: [email protected]
>>> Message-ID: <[email protected]>
>>> Content-Type: text/plain; charset=utf-8; format=flowed
>>>
>>> Hello Netdot users :-)
>>>
>>> Setting up Netdot 1.0.7 on Debian Jessie following the 1.0.5 procedure
>>> from
>>> https://osl.uoregon.edu/redmine/attachments/download/146/netdot-manual.pdf,
>>> I got stuck at "Attempt to reload Netdot/Model/Ipblock.pm aborted"
>> ...
>>>
>>> Any ideas?
>>>
>>> Best
>>>
>>> Charles
>>
>> Fixed by:
>>
>> 1. Running make installdeps
>> (had forgotten to run make testdeps after installing packages from the
>> Debian repos)
>>
>> 2. Increasing memory from 512 MB to 2 GB
>> (after seeing OOM killer messages in /var/log/syslog)
>>
>> 3. Re-installing from scratch
>>
>> C
>
> Scrub my last mail and sorry for the noise.  The test (does Apache start
> with no errors?) was not sufficient and I had messed up re-initialising
> the Apache perl modules.
>
> Is Netdot known to work with perl in the 5.20 version installed by
> Debian 8 Jessie?

Yes. We use it with Debian 8.X Jessie.

There were a few patches we applied to get things working.

  The git's installation procedure says "Perl 5.6.1 or
> later".  A 14 point release change may be too much for compatibility.
> Perhaps the error is caused by a long standing bug exposed by stricter
> checking.
>
> Is Netdot still actively supported?

I don't know how supported it is now compared to the past due to only
having used it for less than a year. Carlos (the main dev) still works
on it.

-m


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

Message: 4
Date: Thu, 29 Sep 2016 11:13:25 +0000
From: Vincent Magnin <[email protected]>
Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
        reload Netdot/Model/Ipblock.pm aborted
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Oh sorry:

Same bug.

Seems that using mysql, no object is returned after insert (Ipblock->insert() 
returns nothing, but the object is created).

I'll try to debug it too.

Regards,

Vincent
________________________________________
De : [email protected] 
<[email protected]> de la part de Vincent Magnin 
<[email protected]>
Envoy? : jeudi 29 septembre 2016 12:15
? : [email protected]
Objet : Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to reload 
Netdot/Model/Ipblock.pm aborted

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



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

Message: 5
Date: Thu, 29 Sep 2016 18:48:44 +0530
From: Charles <[email protected]>
Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
        reload Netdot/Model/Ipblock.pm aborted
To: Matt Zagrabelny <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

On 29/09/16 16:41, Matt Zagrabelny wrote:

>> Is Netdot known to work with perl in the 5.20 version installed by
>> Debian 8 Jessie?
>
> Yes. We use it with Debian 8.X Jessie.
>
> There were a few patches we applied to get things working.
>

Thanks Matt.  That's good news.  Do you have any further information on 
the patches you applied?



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

Message: 6
Date: Thu, 29 Sep 2016 09:33:21 -0500
From: Matt Zagrabelny <[email protected]>
Subject: Re: [Netdot-users] Netdot 1.0.7 on Debian Jessie: Attempt to
        reload Netdot/Model/Ipblock.pm aborted
To: Charles <[email protected]>
Cc: [email protected]
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 <[email protected]> wrote:
> On 29/09/16 16:41, Matt Zagrabelny wrote:
>
>>> Is Netdot known to work with perl in the 5.20 version installed by
>>> Debian 8 Jessie?
>>
>>
>> Yes. We use it with Debian 8.X Jessie.
>>
>> There were a few patches we applied to get things working.
>>
>
> 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.

-m


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

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


End of Netdot-users Digest, Vol 90, Issue 6
*******************************************

Reply via email to