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