Leonid Satanovsky wrote:
> Thank you, Morten ! Your patch for the Cheetah template helped and it
> all (NAV 3.1.0) was finally built (!).
No problem :) It would also be nice if you later would check that the
/ipinfo/ page still looks normal after this change.
> Now I'm going to make it work ... and actually I am a little puzzled
> by the fact that I do not find THE instructions for istallation of
> version 3.1.0 .... At the moment I use "Installing on SuSe"
> "manual"... …
[View More]we'll see how it goes...
If you're a competent Linux sysadmin, it shouldn't be a problem. Just
direct any questions to the list :)
> I DIDN'T FIND "types.sql" in /usr/local/nav/doc/sql/ while it is
> mentioned in "/usr/local/nav/doc/sql/README" file. Interesting, what
> is that supposed to mean?
Bug in the 3.1 release; types.sql is not copied by the make process, but
you will find it in the source directory doc/sql/.
--
mvh
Morten Vold
UNINETT
[View Less]
Subject: Question about auto discovery
Hi all,
I need some help!!!!!!!
In the release notes for the V3.1 date 30 June 2006:
Autodiscovery command line tool added to contrib. This tool will
try to discover every managed network device within your network,
and add them to NAV.
I really need some help about it!
For information we have about 10.000 nodes and about 300.000 ports to manage. Every routeurs and switches are CISCO devices. This for 130 locations around the world.
So you'…
[View More]ll easily understand that autodiscovery is mandatory for us!
We're currently use HPOV NNM but we want to change for something else, the probleme is that there is no autodiscovery engine working "correctly" to discover our large network.
Some softwares use range IP for discovery or use only 1 snmp community and so on....that's not the right way to discover a large network with a lot of subnets
I really think that NAV can be the right solution for us, but only if autodiscovery works fine! I hope!!!
Thanx before all for the support
Best regards from france.
Read you soon.
Patrice Pecriaux
ppecriaux(a)auchan.fr
>From kjartan.malde at uis.no Wed Aug 9 15:49:52 2006
From: kjartan.malde at uis.no (kjartan.malde(a)uis.no)
Date: Wed Aug 9 14:50:00 2006
Subject: [Nav-users] postgres and arnold
Message-ID: <OFC43206AE.E452A279-ONC12571C5.00460912-C12571C5.00467BF5(a)uis.no>
Hi
I've tried to configure Arnold, but get this error when trying the
arnold-link in webinterface. Can anyone help me?
Mod_python error: "PythonHandler arnoldhandler"
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299,
in HandlerDispatch
result = object(req)
File "/usr/local/nav/apache/webroot/arnold/arnoldhandler.py", line 95,
in handler
printBlocked(cur,page,sort, section)
File "/usr/local/nav/apache/webroot/arnold/arnoldhandler.py", line 277,
in printBlocked
cur.execute("SELECT DISTINCT identityid,orgid,ip,mac,dns,netbios,text
as reason, multiple,starttime,lastchanged,swsysname as sysname,
swmodule,swport,userlock,secret FROM identity LEFT JOIN blocked_reason
USING (blocked_reasonid) WHERE blocked_status='disabled' ORDER BY " +
sort)
ProgrammingError: ERROR: permission denied for relation identity
SELECT DISTINCT identityid,orgid,ip,mac,dns,netbios,text as reason,
multiple,starttime,lastchanged,swsysname as sysname,
swmodule,swport,userlock,secret FROM identity LEFT JOIN blocked_reason
USING (blocked_reasonid) WHERE blocked_status='disabled' ORDER BY ip
mvh
Kjartan Malde
UiS
>From stein.magnus at jodal.no Wed Aug 9 16:13:20 2006
From: stein.magnus at jodal.no (Stein Magnus Jodal)
Date: Wed Aug 9 15:13:22 2006
Subject: [Nav-users] postgres and arnold
In-Reply-To: <OFC43206AE.E452A279-ONC12571C5.00460912-C12571C5.00467BF5(a)uis.no>
References:
<OFC43206AE.E452A279-ONC12571C5.00460912-C12571C5.00467BF5(a)uis.no>
Message-ID: <1155129200.11901.4.camel(a)localhost.localdomain>
On Wed, 2006-08-09 at 14:49 +0200, kjartan.malde(a)uis.no wrote:
> Hi
>
> I've tried to configure Arnold, but get this error when trying the
> arnold-link in webinterface. Can anyone help me?
*cut*
> File "/usr/local/nav/apache/webroot/arnold/arnoldhandler.py", line 277,
> in printBlocked
> cur.execute("SELECT DISTINCT identityid,orgid,ip,mac,dns,netbios,text
> as reason, multiple,starttime,lastchanged,swsysname as sysname,
> swmodule,swport,userlock,secret FROM identity LEFT JOIN blocked_reason
> USING (blocked_reasonid) WHERE blocked_status='disabled' ORDER BY " +
> sort)
>
> ProgrammingError: ERROR: permission denied for relation identity
Hi,
It looks like the nav database user does not have permission to the
identity table (and maybe other tables) in the arnold database.
This should fix it:
$ sudo -u postgres psql arnold
ALTER TABLE identity OWNER TO nav;
Use '\d' in psql to check if the other tables and sequences also are
owned by the nav database user. Sequences are altered with exactly the
same syntax (ALTER TABLE).
--
Stein Magnus Jodal
http://www.jodal.no/
[View Less]
MetaNav 3.0.1 on Debian.
Using Tomcat4 and kaffe as described in the README.debian install dokument
that comes with the pakage. I get Network Explorer to work, but Traffic
Map only hangs on loading (in IE and Mozilla) and require the browser to
be killed. I can not get the tomcat localhost:8080 test page to show.
Using Tomcat5.12 and 5.17 with jre1-5.0 I get the tomcat test page,
localhost:8080, to work. But Network Explorer gives me an error message
(copy in the bottom of the mail) and …
[View More]Traffic Map has the same problem as
with tomcat4. I can not find a similar configuration file that is
described in README.debian as /etc/default/tomcat4, where
TOMCAT_SECURITY=no is set.
I have tried to use the kaffe version that works somewhat with tomca4 for
5.12 and 5.17, with no success and jre1-5.0 for tomcat4, but that does not
work either. Tried with JDK1-5.0 too, but with the same result.
Can anyone point me in the direction of a solution to this problem?
ERROR MESSAGE:
Could not connect to servlet
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/nav/web/pyproxy/proxy.py", line
61, in handler
user=user, session=req.session.id)
File "/usr/lib/python2.3/site-packages/nav/web/pyproxy/proxy.py", line
124, in doRequest
request.request(method, path, query, headers)
File "/usr/lib/python2.3/httplib.py", line 721, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.3/httplib.py", line 742, in _send_request
self.endheaders()
File "/usr/lib/python2.3/httplib.py", line 715, in endheaders
self._send_output()
File "/usr/lib/python2.3/httplib.py", line 600, in _send_output
self.send(msg)
File "/usr/lib/python2.3/httplib.py", line 567, in send
self.connect()
File "/usr/lib/python2.3/httplib.py", line 551, in connect
raise socket.error, msg
error: (111, 'Connection refused')
---
Marius Fr?island
[View Less]
Problem 1, was caused by me attempting to add the same device with
different IP address twice, resulting in identical serial number.
-----Original Message-----
From: "Marius Fr?island" <sommerjobb(a)froisland.no>
To: nav-users(a)itea.ntnu.no
Date: Mon, 31 Jul 2006 14:46:41 +0200
Subject: Some problems.
> I'm using version 3.0.1 on debian and have a few problems that I hope
> some
> of you can help me with.
>
>
> PROBLEM 1
> When adding IP devices: Everything looks …
[View More]fine when entering incormation
> in
> the first "Add IP device", MetaNav is able to contact the device and
> get
> serialnumer. But when I clik continue for the second "Add IP device"
> page
> I get a error message and the device is not added.
> I even tried to go back, back in the browser and change only the IP and
> that would work for some addresses. So this error seems to be
> conected to the device it contacts, not the room, location and such
> information.
>
> Error message:
> Mod_python error: "PythonHandler editdb"
>
> Traceback (most recent call last):
>
> File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
> 299,
> in HandlerDispatch
> result = object(req)
>
> File "/var/www/nav/editdb/editdb.py", line 156, in handler
> output = editPage(req,pageList[table](),request,unicodeError)
>
> File "/var/www/nav/editdb/editdb.py", line 463, in editPage
> outputForm,action)
>
> File "/var/www/nav/editdb/editdb.py", line 2435, in add
> disabled=True))
>
> TypeError: __init__() takes at least 2 non-keyword arguments (1 given)
>
>
> PROBLEM 2
> When I try to enter Toolbox->Traffic Map (vlanPlot)
>
> Tried on windows xp with different browsers
> in firefox it crashes the browser and I have to use taske manager to
> kill it.
> in IE it just stands loading for ever.
> in opera i get the applet but on lue the color map and the choices, not
> the actuall map. The top drop down box is empty, the other one has
> reasonable choices.
>
> Marius Froisland
[View Less]