Hi,
i'm trying to get NAV running, because I am mainly interested in the network discovery part.
After following the instructions in INSTALL, generating the databases, configuring apache2 and recompiling templates, I get this error-message:
---------------------------------------------------------------------
Mod_python error: "PythonHeaderParserHandler nav.web"
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/usr/lib/python2.4/nav/web/__init__.py", line 59, in headerparserhandler nav.web.auth.authenticate(req)
File "/usr/lib/python2.4/nav/web/auth.py", line 97, in authenticate if not checkAuthorization(user, req.unparsed_uri):
File "/usr/lib/python2.4/nav/web/auth.py", line 49, in checkAuthorization return nav.auth.hasPrivilege(user, 'web_access', uri)
File "/usr/lib/python2.4/nav/auth.py", line 48, in hasPrivilege user.cachePrivileges()
File "/usr/lib/python2.4/nav/auth.py", line 90, in cachePrivileges groups = account.getChildren(navprofiles.Accountingroup)
File "/usr/local/lib/python2.4/site-packages/forgetSQL.py", line 811, in getChildren return forgetter.getAll(whereList, orderBy=orderBy)
File "/usr/local/lib/python2.4/site-packages/forgetSQL.py", line 679, in getAll ids = cls.getAllIDs(where, orderBy=orderBy)
File "/usr/local/lib/python2.4/site-packages/forgetSQL.py", line 743, in getAllIDs curs.execute(sql)
ProgrammingError: ERROR: relation "accountingroup" does not exist
SELECT AccountInGroup.accountid, groupid FROM AccountInGroup WHERE (AccountInGroup.accountid='0')
------------------------------------------------------------------------------
I If I try sql by hand in the CLI, it works. I'm puzzled now. Any idea, how to get it working? Some case-sensitive related problems?
Some further Information:
SuSE 10.1
Nav 3.1.0. from source
Python 2.4.2 from RPM postgres 8.1.3 from RPM CHEETAH 1.0 (could not use v2, there were some syntax changes?!) from source apache 2.2.0 from RPM mod_python 3.2.10 from source
perl v5.8.8 from RPM java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) from RPM
Thanks in advcance
Christian
From morten.brekkevold at uninett.no Wed Nov 8 14:38:52 2006
From: morten.brekkevold at uninett.no (Morten Brekkevold) Date: Wed Nov 8 14:39:37 2006 Subject: [Nav-users] Announcement: NAV 3.1.1 is out Message-ID: 4551DDEC.7010009@uninett.no
NAV 3.1.0 is now available for download at SourceForge, see http://sourceforge.net/projects/nav :-)
This is mainly a bugfix release, and some serious issues have been fixed in this version, including one security vulnerability discovered by Jim Gallacher.
Binary packages for Debian will be available at a later time. The Debian package is maintained by Morten Werner Olsen, and he is currently polishing his nearly finished packaging of the 3.1.0 release.
We would also like to welcome anyone interested in maintaining packages for RPM-based distributions!
Christian Goutrie wrote, On 07-11-2006 10:13:
ProgrammingError: ERROR: relation "accountingroup" does not exist
SELECT AccountInGroup.accountid, groupid FROM AccountInGroup WHERE (AccountInGroup.accountid='0')
I If I try sql by hand in the CLI, it works. I'm puzzled now. Any idea, how to get it working? Some case-sensitive related problems?
Exactly what did you do when you say you tried "sql by hand in the CLI"? Which arguments did you pass to psql, and which SQL statements did you run?