Martin Roll wrote, On 10-11-2006 16:09:
But when I open the browser to look at the interface (on localhost) the only thing I see is the NAV webroot directory. Do you have any idea what could be wrong?
Looks like a problem with your Apache configuration. Two questions: Is mod_python loaded by your Apache configuration? Is AllowOverride set to "All" for NAV's webroot directory? -- mvh Morten Brekkevold UNINETT
From morten.brekkevold at uninett.no Mon Nov 13 13:51:13 2006 From: morten.brekkevold at uninett.no (Morten Brekkevold) Date: Mon Nov 13 13:51:28 2006 Subject: [Nav-users] CentOS RPMs for NAV 3.1.1 Message-ID: <45586A41.1080402@uninett.no>
Hi everyone, Alexander Krapivin has most graciously provided us with updated NAV RPM packages for CentOS 4, also compatible with RHEL 4. Further install instructions for these can be found at the metanav wiki. The RPMs have not been completely tested yet, and Alexander has asked that those who use the packages report any problems to him. The packages can be downloaded at the files area on SourceForge: http://sourceforge.net/project/showfiles.php?group_id=107608 -- mvh Morten Brekkevold UNINETT
From fuchs at rrz.uni-koeln.de Mon Nov 13 16:05:15 2006 From: fuchs at rrz.uni-koeln.de (Hans-Peter Fuchs) Date: Mon Nov 13 16:05:21 2006 Subject: [Nav-users] Trying to install nav 3.1.1 Message-ID: <455897BB.16234.87A563E3@fuchs.rrz.uni-koeln.de>
Hello list, I want to install and test nav3.1.1 The configure + make + make install run without error. Afterthat I am able to connect to the webinterface and to login. But editdb gives the error: Mod_python error: "PythonHandler editdb" Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug) File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 457, in import_module module = imp.load_module(mname, f, p, d) File "/usr/local/nav/apache/webroot/editdb/editdb.py", line 29, in ? import editTables,nav.Snmp,sys,re,copy,initBox,forgetSQL,nav.web File "/usr/local/nav/lib/python/nav/Snmp.py", line 33, in ? from pysnmp import role, v1, v2c, asn1 ImportError: cannot import name role I see that this means python is unable to find module: role but this is in: /usr/lib/python2.3/site-packages/pysnmp/mapping/udp Before I tested with nav3.1.0 under rhel-as4 and installed as described in: Installing on RHEL4. The pysnmp is from this install. What am I missing or has something changed ? Gr??e Hans-Peter Fuchs Hans-Peter Fuchs - RRZK Zimmer 20 Zentrum f?r angewandte Informatik - Universit?tsweiter Service RRZK Universit?t zu K?ln - Tel: 0221-470-6972
Ah ok... I see. AllowOverride was set to "None" by someone or something. After I set it to "All" (once again) it worked! :-) Thanks a lot!
From morten.brekkevold at uninett.no Tue Nov 14 11:11:04 2006 From: morten.brekkevold at uninett.no (Morten Brekkevold) Date: Tue Nov 14 11:11:29 2006 Subject: [Nav-users] Trying to install nav 3.1.1 In-Reply-To: <455897BB.16234.87A563E3@fuchs.rrz.uni-koeln.de> References: <455897BB.16234.87A563E3@fuchs.rrz.uni-koeln.de> Message-ID: <45599638.9040800@uninett.no>
Hans-Peter Fuchs wrote, On 13-11-2006 16:05:
File "/usr/local/nav/lib/python/nav/Snmp.py", line 33, in ? from pysnmp import role, v1, v2c, asn1
ImportError: cannot import name role [...] Before I tested with nav3.1.0 under rhel-as4 and installed as described in: Installing on RHEL4. The pysnmp is from this install.
What am I missing or has something changed ?
Something has in deed changed, but I see Roger Aas' RHEL4 install instructions on the metanav wiki has not been updated. You need to completely remove pysnmp 3.3.5, and reinstall pysnmp version 2, which is the stable branch of pysnmp. I will try to update the RHEL4 instructions on the wiki... -- mvh Morten Brekkevold UNINETT
From goutrie at rapideye.de Tue Nov 14 14:33:47 2006 From: goutrie at rapideye.de (Christian Goutrie) Date: Tue Nov 14 14:34:05 2006 Subject: [Nav-users] Database problem In-Reply-To: <4552F81F.2010500@uninett.no> References: <200611071013.30970.goutrie@rapideye.de> <200611081528.21461.goutrie@rapideye.de> <4552F81F.2010500@uninett.no> Message-ID: <200611141433.47907.goutrie@rapideye.de>
On Thursday 09 November 2006 10:42, you wrote:
That's your problem, right there. You did not follow the database instructions properly. The table you just selected from is not supposed to be in the `manage` database, but rather in the `navprofiles` database.
Please read doc/sql/README over again. If there are any problems with the instructions there that made you misunderstand, please report back so we can write better instructions.
Ok, exactly that was my mistake, Layer-8-error :) Thanks for your help Christian
From fuchs at rrz.uni-koeln.de Thu Nov 16 10:07:35 2006 From: fuchs at rrz.uni-koeln.de (Hans-Peter Fuchs) Date: Thu Nov 16 10:07:46 2006 Subject: [Nav-users] small bug in initBox.py In-Reply-To: <45599638.9040800@uninett.no> References: <455897BB.16234.87A563E3@fuchs.rrz.uni-koeln.de>, <45599638.9040800@uninett.no> Message-ID: <455C3867.21303.26E21A@fuchs.rrz.uni-koeln.de>
Hello all, when tryingg to add a cisco 7606 to the database I got 'AttributeError: 'int' object has no attribute 'encode' ' in line 161 initBox.py This is because the 7606 answers with 'integers' to 1.3.6.1.4.1.9.3.6.11.1.4. With this change to initBox.py I could add this device: 162c162 < except UnicodeDecodeError, e: ---
except AttributeError or UnicodeDecodeError, e:
Gr??e Hans-Peter Fuchs Hans-Peter Fuchs - RRZK Zimmer 20 Zentrum f?r angewandte Informatik - Universit?tsweiter Service RRZK Universit?t zu K?ln - Tel: 0221-470-6972
participants (2)
-
martin.roll@elementum.info -
morten.brekkevold@uninett.no