Hei
Har f?tt installert Nav3, alt ser ut til ? v?re greit:
[root@Nav3 root]# /usr/local/nav/bin/nav status networkDiscovery: Up cricket: Up eventEngine (pid 11267) is running... maintengine: Up servicemon.py does not seem to be running... smsd.pl (pid 11298) is running... thresholdMon: Up mactrace: Up iptrace: Up safe_smsd: Up Alertengine is running with process id 11315. It has been running for 2 hours and 13 minutes.
backup: Up pping.py (pid 11327) is running... getDeviceData (pid 11341) is running... [root@Nav3 root]#
[root@Nav3 root]# /usr/local/apache/libexec/python/bin/python Python 2.2.2 (#1, May 20 2004, 20:15:27) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import psycopg import mx
[root@Nav3 root]#
men f?r ikke opp WEB-grensesnittet. I error_log f?r jeg f?lgende melding:
[Mon May 24 11:24:48 2004] [error] PythonHeaderParserHandler nav.web: Traceback (most recent call last): [Mon May 24 11:24:48 2004] [error] PythonHeaderParserHandler nav.web: File "/usr/local/apache/libexec/python/lib/python2.2/site-packages/mod_python/apac he.py", line 193, in Dispatch\n result = object(req) [Mon May 24 11:24:48 2004] [error] PythonHeaderParserHandler nav.web: File "/usr/local/nav/lib/python/nav/web/__init__.py", line 55, in headerparserhandler\n auth.authenticate(req) [Mon May 24 11:24:48 2004] [error] PythonHeaderParserHandler nav.web: AttributeError: 'module' object has no attribute 'authenticate'
Noen som har en ide om hva som er g?tt galt med installasjonen?
mvh Ketil
On 2004-05-24 10:33:52, Forselv Ketil wrote:
[Mon May 24 11:24:48 2004] [error] PythonHeaderParserHandler nav.web: Traceback (most recent call last): [Mon May 24 11:24:48 2004] [error] PythonHeaderParserHandler nav.web: File "/usr/local/apache/libexec/python/lib/python2.2/site-packages/mod_python/apac he.py", line 193, in Dispatch\n result = object(req) [Mon May 24 11:24:48 2004] [error] PythonHeaderParserHandler nav.web: File "/usr/local/nav/lib/python/nav/web/__init__.py", line 55, in headerparserhandler\n auth.authenticate(req) [Mon May 24 11:24:48 2004] [error] PythonHeaderParserHandler nav.web: AttributeError: 'module' object has no attribute 'authenticate'
Noen som har en ide om hva som er g?tt galt med installasjonen?
Dette er en bug.
Rediger /usr/local/nav/lib/python/nav/web/auth.py
Slett linjen "from nav import users"