I have follow the instruction on http://metanav.ntnu.no/moin.cgi/InstallingOnRHEL4
But I installed SUlinux and firewall. The installation went great, and when I run /usr/local/nav/bin/nav status everything is up and running.
mactrace: Up cricket: Up eventEngine (pid 3020) is running... logengine: Up maintengine: Up servicemon.py (pid 3054) is running... smsd.pl (pid 3082) is running... thresholdMon: Up networkDiscovery: Up iptrace: Up safe_smsd: Up getDeviceData (pid 3114) is running... backup: Up pping.py (pid 3123) is running... Alertengine is running with process id 3156. It has been running for 0 minutes and 8 seconds.
When I tried to access the webpage I get this error
Mod_python error: "PythonHeaderParserHandler nav.web"
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/lib/python/nav/web/__init__.py", line 55, in headerparserhandler nav.web.auth.authenticate(req)
File "/usr/local/nav/lib/python/nav/web/auth.py", line 90, in authenticate conn = db.getConnection('navprofile', 'navprofile')
AttributeError: 'module' object has no attribute 'getConnection'
And on the console I get even more errors
# audit(1123578062.447.0): avc: denied { execute } for pid=1791 comm=httpd path=/usr/lib/python2.3/site-packages/psycopgmodule.so dev=dm-0 ino=489605 scontext=user_u:system_r:httpd_t tcontext=root:object_r:etc_t tclass=file
Peder Magne Sefland
Avd. ingeni?r | Divisional Engineer IT-avd. | Computer Dep. H?gskulen i Volda | Volda University College Postboks 500 | Post Box 500 6101 VOLDA | N-6100 VOLDA | NORWAY 70075284 (kontor) | +4770075284 (Office) 90823914 (mob.) | +4790823914 (mobile)