Diego Rodrigo | 1 Sep 10:58 2011
Picon

No topology view

Hi,

I have this error when I try to display the topology view. The file
/opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png does not exist :

Permission denied: open( /opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png, 0x241 ) at
/usr/local/share/perl/5.10.1/GraphViz.pm line 1195

Stack:
  [/usr/share/perl/5.10/Carp.pm:44]
  [/usr/local/share/perl/5.10.1/IPC/Run.pm:1301]
  [/usr/local/share/perl/5.10.1/IPC/Run.pm:2202]
  [/usr/local/share/perl/5.10.1/IPC/Run.pm:2775]
  [/usr/local/share/perl/5.10.1/IPC/Run.pm:1449]
  [/usr/local/share/perl/5.10.1/GraphViz.pm:1195]
  [/usr/local/share/perl/5.10.1/GraphViz.pm:996]
  [/opt/netdot/lib/Netdot/UI.pm:1834]
  [/opt/netdot/lib/Netdot/UI.pm:1873]
  [/opt/netdot/htdocs/management/device.html:1420]
  [/opt/netdot/htdocs/management/autohandler:79]
  [/usr/local/share/perl/5.10.1/HTML/Mason/Request.pm:948]
  [/opt/netdot/htdocs/masondata/obj/1163513996/management/autohandler.obj:21]
  [/opt/netdot/htdocs/autohandler:79]

Stack:
  [/usr/local/share/perl/5.10.1/IPC/Run.pm:2338]
  [/usr/local/share/perl/5.10.1/IPC/Run.pm:2775]
  [/usr/local/share/perl/5.10.1/IPC/Run.pm:1449]
  [/usr/local/share/perl/5.10.1/GraphViz.pm:1195]
  [/usr/local/share/perl/5.10.1/GraphViz.pm:996]
(Continue reading)

Maciej Kazulak | 2 Sep 17:21 2011
Picon

Re: No topology view

W dniu 01.09.2011 10:58, Diego Rodrigo pisze:
> Hi,
> 
> I have this error when I try to display the topology view. The file
/opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png does not exist :
> 
> 
> Permission denied: open( /opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png, 0x241 ) at
/usr/local/share/perl/5.10.1/GraphViz.pm line 1195
> 

Hi,

Netdot creates those .png files on the fly. Check the permissions on
/opt/netdot/htdocs/img/graphs. It should be something like:
drwxr-x---  2 www   www    1024  2 wrz 16:45 graphs
where www is the user your apache server is running as. Apache must be
able to write to that directory!

> Stack:
>   [/usr/share/perl/5.10/Carp.pm:44]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:1301]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:2202]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:2775]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:1449]
>   [/usr/local/share/perl/5.10.1/GraphViz.pm:1195]
>   [/usr/local/share/perl/5.10.1/GraphViz.pm:996]
>   [/opt/netdot/lib/Netdot/UI.pm:1834]
>   [/opt/netdot/lib/Netdot/UI.pm:1873]
>   [/opt/netdot/htdocs/management/device.html:1420]
(Continue reading)

Kevin Tucker | 4 Sep 14:33 2011

Installing 0.9.9 on Ubuntu 11.04

I have installed Netdot according to the instructions found at: http://snazone.blogspot.com/2011/07/installing-and-setting-up-netdot-on.html.  However i keep getting the error below on two different installs of Ubuntu 11.04.  Can someone please point me into the right direction of where to look or what to do to fix this?  The apache error log is completely empty for today after multiple restarts so there is no additional data in that file.  


Syntax error on line 28 of /etc/apache2/conf.d/netdot_apache2_local.conf:

Can't use an undefined value as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation failed in require at (eval 97) line 3.\n\t...propagated at /usr/share/perl/5.10/base.pm line 93.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line 3.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN failed--compilation aborted\t(in cleanup) Can't use an undefined value as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation failed in require at (eval 97) line 3.\n\t...propagated at /usr/share/perl/5.10/base.pm line 93.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line 3.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN failed--compilation aborted at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\n

Action 'configtest' failed.

The Apache error log may have more information.

   ...fail!


Thank you,


Kevin Tucker

<div><span><p>I have installed Netdot according to the instructions found at:&nbsp;<a href="http://snazone.blogspot.com/2011/07/installing-and-setting-up-netdot-on.html" target="_blank"><span>http://snazone.blogspot.com/2011/07/installing-and-setting-up-netdot-on.html</span></a>. &nbsp;However i keep getting the error below on two different installs of Ubuntu 11.04. &nbsp;Can someone please point me into the right direction of where to look or what to do to fix this? &nbsp;The apache error log is completely empty for today after multiple restarts so there is no additional data in that file. &nbsp;</p>

<p><br></p>
<p>Syntax error on line 28 of /etc/apache2/conf.d/netdot_apache2_local.conf:</p>
<p>Can't use an undefined value as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation failed in require at (eval 97) line 3.\n\t...propagated at /usr/share/perl/5.10/≤a href="http://base.pm/" target="_blank"><span>base.pm</span></a> line 93.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line 3.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN failed--compilation aborted\t(in cleanup) Can't use an undefined value as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation failed in require at (eval 97) line 3.\n\t...propagated at /usr/share/perl/5.10/≤a href="http://base.pm/" target="_blank"><span>base.pm</span></a> line 93.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line 3.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN failed--compilation aborted at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\n</p>

<p>Action 'configtest' failed.</p>
<p>The Apache error log may have more information.</p>
<p>&nbsp; &nbsp;...fail!</p>
<p><br></p>
<p>Thank you,</p>
<p><br></p>
<p>Kevin Tucker</p></span></div>
Maciej Kazulak | 4 Sep 15:01 2011
Picon

Re: Installing 0.9.9 on Ubuntu 11.04

W dniu 04.09.2011 14:33, Kevin Tucker pisze:
> I have installed Netdot according to the instructions found
> at: http://snazone.blogspot.com/2011/07/installing-and-setting-up-netdot-on.html.
>  However i keep getting the error below on two different installs of
> Ubuntu 11.04.  Can someone please point me into the right direction of
> where to look or what to do to fix this?  The apache error log is
> completely empty for today after multiple restarts so there is no
> additional data in that file.  
> 
> 
> Syntax error on line 28 of /etc/apache2/conf.d/netdot_apache2_local.conf:
> 
> Can't use an undefined value as an ARRAY reference at
> /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation
> failed in require at (eval 97) line 3.\n\t...propagated at
> /usr/share/perl/5.10/base.pm <http://base.pm/> line 93.\nBEGIN
> failed--compilation aborted at
> /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line
> 3.\nCompilation failed in require at
> /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN
> failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm
> line 284.\nCompilation failed in require at
> /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation
> aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation
> failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line
> 9.\nBEGIN failed--compilation aborted at
> /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in
> require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN
> failed--compilation aborted\t(in cleanup) Can't use an undefined value
> as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm
> line 30.\nCompilation failed in require at (eval 97) line
> 3.\n\t...propagated at /usr/share/perl/5.10/base.pm <http://base.pm/>
> line 93.\nBEGIN failed--compilation aborted at
> /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line
> 3.\nCompilation failed in require at
> /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN
> failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm
> line 284.\nCompilation failed in require at
> /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation
> aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation
> failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line
> 9.\nBEGIN failed--compilation aborted at
> /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in
> require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN
> failed--compilation aborted at
> /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\n
> 
> Action 'configtest' failed.
> 
> The Apache error log may have more information.
> 
>    ...fail!
> 
> 
> Thank you,
> 
> 
> Kevin Tucker
> 
> 
> 
> _______________________________________________
> Netdot-users mailing list
> Netdot-users@...
> https://osl.uoregon.edu/mailman/listinfo/netdot-users

See this thread:
http://osl.uoregon.edu/pipermail/netdot-users/2011-May/000801.html

Carefully check your Site.conf and see if IGNOREVLANS is defined
correctly. The OP above got rid of the problem by running make install
again but I would hardly consider that a solution.
Diego Rodrigo | 5 Sep 09:24 2011
Picon

Re: No topology view

You were right. It´s working now

Thanks a lot, 

www.unitronics.es 

DIEGO RODRIGO
Customer Service Manager
drodrigo <at> unitronics.es

Plataforma Logística de Zaragoza Pla-Za
Edificio Technocenter
C/Bari, 31 Ofic. 318 y 319
50197 Zaragoza
Tel:
902 107 670 – Ext. 1711
Aviso legal

-----Mensaje original-----
De: netdot-users-bounces <at> osl.uoregon.edu [mailto:netdot-users-bounces <at> osl.uoregon.edu] En
nombre de Maciej Kazulak
Enviado el: viernes, 02 de septiembre de 2011 17:21
Para: netdot-users <at> osl.uoregon.edu
Asunto: Re: [Netdot-users] No topology view

W dniu 01.09.2011 10:58, Diego Rodrigo pisze:
> Hi,
> 
> I have this error when I try to display the topology view. The file
/opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png does not exist :
> 
> 
> Permission denied: open( 
> /opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png, 0x241 ) at 
> /usr/local/share/perl/5.10.1/GraphViz.pm line 1195
> 

Hi,

Netdot creates those .png files on the fly. Check the permissions on /opt/netdot/htdocs/img/graphs. It
should be something like:
drwxr-x---  2 www   www    1024  2 wrz 16:45 graphs
where www is the user your apache server is running as. Apache must be able to write to that directory!

> Stack:
>   [/usr/share/perl/5.10/Carp.pm:44]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:1301]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:2202]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:2775]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:1449]
>   [/usr/local/share/perl/5.10.1/GraphViz.pm:1195]
>   [/usr/local/share/perl/5.10.1/GraphViz.pm:996]
>   [/opt/netdot/lib/Netdot/UI.pm:1834]
>   [/opt/netdot/lib/Netdot/UI.pm:1873]
>   [/opt/netdot/htdocs/management/device.html:1420]
>   [/opt/netdot/htdocs/management/autohandler:79]
>   [/usr/local/share/perl/5.10.1/HTML/Mason/Request.pm:948]
>   [/opt/netdot/htdocs/masondata/obj/1163513996/management/autohandler.obj:21]
>   [/opt/netdot/htdocs/autohandler:79]
> 
> Stack:
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:2338]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:2775]
>   [/usr/local/share/perl/5.10.1/IPC/Run.pm:1449]
>   [/usr/local/share/perl/5.10.1/GraphViz.pm:1195]
>   [/usr/local/share/perl/5.10.1/GraphViz.pm:996]
>   [/opt/netdot/lib/Netdot/UI.pm:1834]
>   [/opt/netdot/lib/Netdot/UI.pm:1873]
>   [/opt/netdot/htdocs/management/device.html:1420]
>   [/opt/netdot/htdocs/management/autohandler:79]
>   [/usr/local/share/perl/5.10.1/HTML/Mason/Request.pm:948]
>   [/opt/netdot/htdocs/masondata/obj/1163513996/management/autohandler.obj:21]
>   [/opt/netdot/htdocs/autohandler:79]
> 
> 
> Trace begun at /usr/local/share/perl/5.10.1/HTML/Mason/Exceptions.pm 
> line 129 HTML::Mason::Exceptions::rethrow_exception('Permission 
> denied: open( /opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png, 
> 0x241 ) at /usr/local/share/perl/5.10.1/GraphViz.pm line 
> 1195^J^JStack:^J  [/usr/share/perl/5.10/Carp.pm:44]^J  
> [/usr/local/share/perl/5.10.1/IPC/Run.pm:1301]^J  
> [/usr/local/share/perl/5.10.1/IPC/Run.pm:2202]^J  
> [/usr/local/share/perl/5.10.1/IPC/Run.pm:2775]^J  
> [/usr/local/share/perl/5.10.1/IPC/Run.pm:1449]^J  
> [/usr/local/share/perl/5.10.1/GraphViz.pm:1195]^J  
> [/usr/local/share/perl/5.10.1/GraphViz.pm:996]^J  
> [/opt/netdot/lib/Netdot/UI.pm:1834]^J  
> [/opt/netdot/lib/Netdot/UI.pm:1873]^J  
> [/opt/netdot/htdocs/management/device.html:1420]^J  
> [/opt/netdot/htdocs/management/autohandler:79]^J  
> [/usr/local/share/perl/5.10.1/HTML/Mason/Request.pm:948]^J  
> [/opt/netdot/htdocs/masondata/obj/1163513996/management/autohandler.ob
> j:21]^J  [/opt/netdot/htdocs/autohandler:79]^J^JStack:^J  
> [/usr/local/share/perl/5.10.1/IPC/Run.pm:2338]^J  
> [/usr/local/share/perl/5.10.1/IPC/
Run.pm:2775]^J  [/usr/local/share/perl/5.10.1/IPC/Run.pm:1449]^J 
[/usr/local/share/perl/5.10.1/GraphViz.pm:1195]^J 
[/usr/local/share/perl/5.10.1/GraphViz.pm:996]^J  [/opt/netdot/lib/Netdot/UI.pm:1834]^J 
[/opt/netdot/lib/Netdot/UI.pm:1873]^J  [/opt/netdot/htdocs/management/device.html:1420]^J 
[/opt/netdot/htdocs/management/autohandler:79]^J 
[/usr/local/share/perl/5.10.1/HTML/Mason/Request.pm:948]^J 
[/opt/netdot/htdocs/masondata/obj/1163513996/management/autohandler.obj:21]^J 
[/opt/netdot/htdocs/autohandler:79]^J') called at /usr/local/share/perl/5.10.1/IPC/Run.pm
line 2871
> IPC::Run::start('ARRAY(0xbb6c1b68)', 'SCALAR(0xbae0c790)', '>', 
> 'IPC::Run::binmode_pseudo_filter=CODE(0xbb6cbeb0)', 
> '/opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png') called at 
> /usr/local/share/perl/5.10.1/IPC/Run.pm line 1449 
> IPC::Run::run('ARRAY(0xbb6c1b68)', 'SCALAR(0xbae0c790)', '>', 
> 'IPC::Run::binmode_pseudo_filter=CODE(0xbb6cbeb0)', 
> '/opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png') called at 
> /usr/local/share/perl/5.10.1/GraphViz.pm line 1195 
> GraphViz::_as_generic('GraphViz=HASH(0xbb6d12d0)', '-Tpng', 'digraph 
> test {^J^Irankdir=LR;^J^Iratio="fill";^J^Ibgcolor="#ffffff00";^J^Inode 
> [fillcolor="#ffffff88", fontsize="10", height="0.25", shape="record", 
> style="filled"];^J^Iedge [dir="none", 
> labelfontsize="8"];^J^Ialhshaco0001 
> [URL="device.html?id=162&view=Topology&toponames=0&topovlans=0", 
> color="red", label="alhshaco0001", shape="record"];^J^Ialhshage0001 
> [URL="device.html?id=167&view=Topology&toponames=0&topovlans=0", 
> label="alhshage0001", shape="record"];^J^Ialhshaplab01 
> [URL="device.html?id=170&view=Topology&toponames=0&topovlans=0", 
> label="alhshaplab01", shape="record"];^J^Ialhshaplpr01 
> [URL="device.html?id=171&view=Topology&toponames=0&topovlans=0", 
> label="alhshaplpr01", shape="record"];^J^Ialhshage0002 
> [URL="device.html?id=168&view=Topology&toponames=0&topovlans=0", 
> label="alhshage0002", shape="record"];^J^Ialhshahb0001 
> [URL="device.html?id=165&view=Topology&toponames=0&topovlans=0", 
> label="alhshahb0001", shap
e="record"];^J^Ialhshaco0002
[URL="device.html?id=164&view=Topology&toponames=0&topovlans=0", label="alhshaco0002",
shape="record"];^J^Ialhshaplpe01
[URL="device.html?id=169&view=Topology&toponames=0&topovlans=0", label="alhshaplpe01",
shape="record"];^J^Ialhshaco0001 -> alhshaco0002 [color="black",
headURL="view.html?table=Interface&id=9572", headlabel="10623",
tailURL="view.html?table=Interface&id=9472", taillabel="10624"];^J^Ialhshaco0001 ->
alhshaco0002 [color="black", headURL="view.html?table=Interface&id=9581", headlabel="5001",
tailURL="view.html?table=Interface&id=9509", taillabel="5001"];^J^Ialhshaco0001 ->
alhshage0001 [color="black", headURL="view.html?table=Interface&id=9671", headlabel="10101",
tailURL="view.html?table=Interface&id=9435", taillabel="10119"];^J^Ialhshaco0001 ->
alhshage0002 [color="black", headURL="view.html?table=Interface&id=9724", headlabel="10101",
tailURL="view.html?table=Interface&id=9467", taillabel="10619"];^J^Ialhshaco0001 ->
alhshahb0001  [color="black", headURL="view.html?table=Interface&id=9596", headlabe
> l="10107", tailURL="view.html?table=Interface&id=9471", 
> taillabel="10623"];^J^Ialhshaco0001 -> alhshaplab01 [color="black", 
> headURL="view.html?table=Interface&id=9785", headlabel="10101", 
> tailURL="view.html?table=Interface&id=9441", 
> taillabel="10125"];^J^Ialhshaco0001 -> alhshaplpe01 [color="black", 
> headURL="view.html?table=Interface&id=9753", headlabel="10101", 
> tailURL="view.html?table=Interface&id=9475", 
> taillabel="10627"];^J^Ialhshaco0001 -> alhshaplpr01 [color="black", 
> headURL="view.html?table=Interface&id=9841", headlabel="10101", 
> tailURL="view.html?table=Interface&id=9443", 
> taillabel="10127"];^J}^J', 
> '/opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png') called at 
> /usr/local/share/perl/5.10.1/GraphViz.pm line 996 
> GraphViz::AUTOLOAD('GraphViz=HASH(0xbb6d12d0)', 
> '/opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png') called at 
> /opt/netdot/lib/Netdot/UI.pm line 1834 
> Netdot::UI::build_device_topology_graph('Netdot::UI=HASH(0xbb1daf48)', 
> 'web_path', '/netdot/', 'specific_vlan', 0, 'depth', 1, 'vlans', 
> 'HASH(0xbb6c1bb8)', 'show_names', 0, 'direction', 'left_right', 
> 'show_vlans', 0, 'filename', 
> '/opt/netdot/htdocs/img/graphs/Device-162-1-0-0-0.png', 'view', 
> 'Topology', 'id', 162) called at /opt/netdot/lib/Netdot/UI.pm line 
> 1873 
> Netdot::UI::build_device_topology_graph_html('Netdot::UI=HASH(0xbb1daf
> 48)', 'id', 162, 'view', 'Topology', 'depth', 1, 'web_path', 
> '/netdot/', 'show_vlans', 0, 'show_names', 0, 'direction', 
> 'left_right', 'specific_vlan', 0) called at 
> /opt/netdot/htdocs/management/device.html line 1420 
> HTML::Mason::Commands::__ANON__('view', 'Topology', 'id', 162, 
> 'showheader', 1, 'page', 'DEVICE') called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135 
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> bb575b78)', 'view', 'Topology', 'id', 162, 'showheader', 1, 'page', 
> 'DEVICE') called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm 
> line 1302 eval {...} at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292 
> HTML::Mason::Request::comp(undef, undef, undef, 'view', 'Topology', 
> 'id', 162, 'showheader', 1, 'page', 'DEVICE') called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 955 
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=H
> ASH(0xbb5193f8)', 'page', 'DEVICE') called at 
> /opt/netdot/htdocs/management/autohandler line 79 
> HTML::Mason::Commands::__ANON__('view', 'Topology', 'id', 162, 
> 'showheader', 1) called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 157 
> HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileB
> ased=HASH(0xbb5768f8)', 'main', 'view', 'Topology', 'id', 162, 
> 'showheader', 1) called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 948 
> HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandle
> r=HASH(0xbb5193f8)', 'main', 'view', 'Topology', 'id', 162, 
> 'showheader', 1) called at 
> /opt/netdot/htdocs/masondata/obj/1163513996/management/autohandler.obj 
> line 21 HTML::Mason::Commands::__ANON__('view', 'Topology', 'id', 162, 
> 'showheader', 1) called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135 
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> bb5768f8)', 'view', 'Topology', 'id', 162, 'showheader', 1) called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1302 eval 
> {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292 
> HTML::Mason::Request::comp(undef, undef, undef, 'view', 'Topology', 
> 'id', 162, 'showheader', 1) called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 955 
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=H
> ASH(0xbb5193f8)', 'showheader', 1) called at 
> /opt/netdot/htdocs/autohandler line 79 
> HTML::Mason::Commands::__ANON__('view', 'Topology', 'id', 162) called 
> at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135 
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x
> bb5aaeb0)', 'view', 'Topology', 'id', 162) called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1297 eval 
> {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292 
> HTML::Mason::Request::comp(undef, undef, undef, 'view', 'Topology', 
> 'id', 162) called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 481 eval {...} 
> at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 481 eval 
> {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 433
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0
> xbb5193f8)') called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 168
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::Apach
> eHandler=HASH(0xbb5193f8)') called at 
> /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 825 
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler
> =HASH(0xbae8e790)', 'Apache2::RequestRec=SCALAR(0xbae943e0)') called 
> at /opt/netdot/lib/Netdot/Mason.pm line 36
> Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0xbae943e0)') 
> called at -e line 0 eval {...} at -e line 0
> 
> Regards,
> 
> www.unitronics.es
> 
> DIEGO RODRIGO
> Customer Service Manager
> drodrigo <at> unitronics.es
> 
> Plataforma Logística de Zaragoza Pla-Za Edificio Technocenter C/Bari, 
> 31 Ofic. 318 y 319
> 50197 Zaragoza
> Tel:
> 902 107 670 – Ext. 1711
> Aviso legal
> 
> _______________________________________________
> Netdot-users mailing list
> Netdot-users <at> osl.uoregon.edu
> https://osl.uoregon.edu/mailman/listinfo/netdot-users
_______________________________________________
Netdot-users mailing list
Netdot-users <at> osl.uoregon.edu
https://osl.uoregon.edu/mailman/listinfo/netdot-users

_______________________________________________
Netdot-users mailing list
Netdot-users <at> osl.uoregon.edu
https://osl.uoregon.edu/mailman/listinfo/netdot-users
Heidrich Attila | 5 Sep 10:31 2011
Picon

Deleting all address spaces

Hi!

I am doing an import of our current IP space. There are some 30K of them
alltogether, and there is no difference currently among
container/subnet/static addresses, so this is really far from being
straightforward, sometimes I have to start the whole process over.

How can I delete all root blocks and children without clicking several
times one and every root block on the web interface? It takes some falf
an hour every time (even a bit more for all ~30 blocks), which would bw
OK, but I have to sit in front of the browser to check when a specific
deletation finished!

Attila
--------------
Ezen uzenet kizarolag a cimzettjenek szol es olyan bizalmas jellegu
informaciokat tartalmazhat, amelyek feltarasat jogszabaly vagy szerzodes
tiltja. Amennyiben a jelen uzenetet On teves kezbesites folytan kapta,
kerjuk haladektalanul ertesitsen bennunket es az uzenetet annak
csatolmanyaival egyutt torolje. Amennyiben On nem cimzettje a jelen
uzenetnek, annak es mellekleteinek elolvasasa, masolasa, tovabbitasa, vagy
barmely celbol torteno felhasznalasa szigoruan tilos. Megjegyezzuk, hogy az
e-mail utjan torteno kozlesek nem garantaljak az elkuldott uzenetek
bizalmas jellegenek es teljessegenek megorzeset, valamint az uzenetek
megfelelo kezbesiteset. A fentieken tulmenoen, az Invitel Holdings A/S,
annak kapcsolt vallalkozasai, illetve az altaluk megbizott
harmadik felek a jelen e-mail cimrol kuldott, vagy arra erkezo barmely
uzenetet ellenorizhetnek, lemasolhatnak, felhasznalhatnak vagy harmadik fel
reszere tovabbithatnak.

This message is intended exclusively for its addressee and may contain
confidential information protected from disclosure by law or contract. If
you have received this message in error, please immediately notify us and
delete it together with its attachments. If you are not an addressee of
this message, reading, copying, distribution or use for any purpose of the
contents of this message or its attachments is strictly forbidden.
Additionally, please note that communication by email guarantees neither
the confidentiality nor the completeness or proper receipt of the messages
sent. Furthermore, Invitel Holdings A/S, its affiliates and
third parties retained by them may monitor, copy, use or forward to third
parties any outgoing messages from and incoming messages to this email
address.

Kevin Tucker | 4 Sep 14:12 2011

Installing 0.9.9 on Ubuntu 11.04

I have installed Netdot according to the instructions found at: http://snazone.blogspot.com/2011/07/installing-and-setting-up-netdot-on.html.  However i keep getting the error below on two different installs of Ubuntu 11.04.  Can someone please point me into the right direction of where to look or what to do to fix this?  The apache error log is completely empty for today after multiple restarts so there is no additional data in that file.  


Syntax error on line 28 of /etc/apache2/conf.d/netdot_apache2_local.conf:
Can't use an undefined value as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation failed in require at (eval 97) line 3.\n\t...propagated at /usr/share/perl/5.10/base.pm line 93.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line 3.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN failed--compilation aborted\t(in cleanup) Can't use an undefined value as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation failed in require at (eval 97) line 3.\n\t...propagated at /usr/share/perl/5.10/base.pm line 93.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line 3.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN failed--compilation aborted at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\n
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!

Thank you,

Kevin Tucker
Fort Worth, TX

<div>
<p>I have installed Netdot according to the instructions found at:&nbsp;<a href="http://snazone.blogspot.com/2011/07/installing-and-setting-up-netdot-on.html">http://snazone.blogspot.com/2011/07/installing-and-setting-up-netdot-on.html</a>. &nbsp;However i keep getting the error below on two different installs of Ubuntu 11.04. &nbsp;Can someone please point me into the right direction of where to look or what to do to fix this? &nbsp;The apache error log is completely empty for today after multiple restarts so there is no additional data in that file. &nbsp;</p>
<div>
<div><br></div>
<div>
<div>Syntax error on line 28 of /etc/apache2/conf.d/netdot_apache2_local.conf:</div>
<div>Can't use an undefined value as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation failed in require at (eval 97) line 3.\n\t...propagated at /usr/share/perl/5.10/≤a href="http://base.pm">base.pm</a> line 93.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line 3.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN failed--compilation aborted\t(in cleanup) Can't use an undefined value as an ARRAY reference at /usr/local/netdot/lib/Netdot/Model/Device.pm line 30.\nCompilation failed in require at (eval 97) line 3.\n\t...propagated at /usr/share/perl/5.10/≤a href="http://base.pm">base.pm</a> line 93.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model/Device/Airespace.pm line 3.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Model.pm line 284.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 22.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm line 9.\nCompilation failed in require at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\nBEGIN failed--compilation aborted at /etc/apache2/conf.d/netdot_apache2_local.conf line 31.\n</div>
<div>Action 'configtest' failed.</div>
<div>The Apache error log may have more information.</div>
<div>&nbsp; &nbsp;...fail!</div>
</div>
<div><br></div>
<div>Thank you,</div>
<div><br></div>
<div>Kevin Tucker</div>
<div>Fort Worth, TX</div>
<div><br></div>
</div>
</div>
Thomas Mieslinger | 6 Sep 21:33 2011
Picon

Storing dns zone views in netdot

Hi List,

I would like to store geo ip zone views in netdot. Are their any plans 
to support this? How? I have a project running and a programmer willing 
to implement basic support for this.

For very basic support I think a new table "view" with the columns id 
and name and a new column "view" in the table rr.

The intelligence to assemble the correct zone contents sits in the 
export to file code.

The column view in the table rr is nullable. rr records with view NULL 
are default records and exported to every view of a zone. The exporter 
implements a more specific rule so that records where name and type are 
available "more specific" only the more specific records are written to 
the export file. The exporter takes care of writing proper "view { }" 
commands in the export file.

I hope you like the idea.

Regards Thomas

Example:

view:
id|name
--+----
  0|se asia
  1|americas
  2|europe

rr:
name| view |type|content
----+------+----+-------
 <at>    |<NULL>|A   |2.221.23.4
 <at>    |     0|A   |11.81.112.5
 <at>    |     1 A   |17.127.12.31

zone-default
 <at>  IN A 2.221.23.4

zone-se\ asia
 <at>  IN A 11.81.112.5

zone-americas
 <at>  IN A 17.127.12.31

zone-europe
 <at>  IN A 2.221.23.4

Regards Thomas
Maciej Kazulak | 7 Sep 10:34 2011
Picon

Find unused interfaces

Hi,

Would it be possible to use netdot to create a report containing unused
interfaces/ports on chosen devices? By unused I mean link has been down
and did not come up for a certain amount of time. Google says you can
calculate the time since last link change as (sysUptime - ifLastChange)
so it seems fairly simple.

Since netdot reads stuff only at given times using cronjobs or so this
information would have to be stored somewhere in the database. Im
thinking a new column in the interface table?

What do you think list?
Phil Regnauld | 7 Sep 11:14 2011

Re: Find unused interfaces

Maciej Kazulak (mkazulak) writes:
> 
> Since netdot reads stuff only at given times using cronjobs or so this
> information would have to be stored somewhere in the database. Im
> thinking a new column in the interface table?

	Without having to extend netdot, I think you should be able to
	run a view/query that gives you exactly that information, provided
	it's already being stored by Netdot in the DB - but I need to check
	a running install to see if this is the case.

	Cheers,
	Phil

Gmane