hello everyone, This is Patrick here, when I start the nav, and I need to login to the web interface which webroot is :"/usr/local/nav/apache/webroot", but the web shows :
Mod_python error: "PythonHeaderParserHandler nav.web"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/usr/local/nav/lib/python/nav/web/__init__.py", line 48, in headerparserhandler
File "/usr/local/nav/lib/python/nav/web/auth.py", line 32, in ?
File "/usr/local/nav/lib/python/nav/db/__init__.py", line 29, in ? import psycopg
ImportError: /usr/lib/python2.4/site-packages/psycopgmodule.so: failed to map segment from shared object: Permission denied Can anyone who can help me get out of this problem please?
--------------------------------- ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä-3.5GÈÝÁ¿£¬20MžœŒþ£¡ From wj_peng24 at yahoo.com.cn Fri Jun 23 11:20:20 2006 From: wj_peng24 at yahoo.com.cn (wenjun peng) Date: Fri Jun 23 04:20:30 2006 Subject: [Nav-users] quesstion about the web interface Message-ID: 20060623022020.96085.qmail@web15905.mail.cnb.yahoo.com
hello, I am using Nav-3.0.1, and I installed both psycopg-1.1.21and psycopg2-2.0b8, when I start nav, it works , everything seems ok, but the web interface dosen't work, it shows the following thing as blew:
Mod_python error: "PythonHeaderParserHandler nav.web"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/usr/local/nav/lib/python/nav/web/__init__.py", line 48, in headerparserhandler
File "/usr/local/nav/lib/python/nav/web/auth.py", line 32, in ?
File "/usr/local/nav/lib/python/nav/db/__init__.py", line 29, in ? import psycopg
ImportError: /usr/lib/python2.4/site-packages/psycopgmodule.so: failed to map segment from shared object: Permission denied
Is there any problem with the psycopg? Or there is other problems? This problem puzzled me for already 3 weeks, can anyone who can help me ?
from Patrick 23rd Jun 2006
--------------------------------- Mp3·è¿ñËÑ-ОèÈÈžèžßËÙÏ From SLander at hearstsc.com Tue Jun 27 17:06:31 2006 From: SLander at hearstsc.com (SLander@hearstsc.com) Date: Tue Jun 27 22:02:31 2006 Subject: [Nav-users] Translate a log file? In-Reply-To: 20060622031019.19020.qmail@web15906.mail.cnb.yahoo.com Message-ID: OF16D0584B.FB5F02C2-ON8525719A.006D6B7D-8525719A.006E13C6@hearstsc.com
Could anyone translate these warnings to English? I am not sure what they are telling me. This is from the networkDiscovery-topology.html file
Generated on: Tue Jun 27 14:35:03 EDT 2006 ---->[WARNING]: Boks(8): Floor28-6513-1, mer enn en link til boks(31) floor28-3750-4.home.com, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(8): Floor28-6513-1, mer enn en link til boks(20) floor28-3.home.com, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(8): Floor28-6513-1, mer enn en link til boks(20) floor28-3.home.com, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(8): Floor28-6513-1, mer enn en link til boks(52) sc-bw-gw.home.com, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(9): Floor28-6513-2, mer enn en link til boks(20) floor28-3.home.com, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(9): Floor28-6513-2, mer enn en link til boks(20) floor28-3.home.com, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(28): floor28srv-3.home.com, mer enn en link til boks(59) WDSU-UU-GW, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(95): STAE-CORE-SW1, mer enn en link til boks(93) STAE-NEWS-SW1, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(95): STAE-CORE-SW1, mer enn en link til boks(97) STAE-TRAFFIC-SW1, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(95): STAE-CORE-SW1, mer enn en link til boks(93) STAE-NEWS-SW1, uten at vi vet mp i andre enden. ---->[WARNING]: Boks(95): STAE-CORE-SW1, mer enn en link til boks(97) STAE-TRAFFIC-SW1, uten at vi vet mp i andre enden. [WARNING] Conflicting boksbak in mp vs. mpBoksbak for Boks(9): Floor28-6513-2 Mp: 253 bmp: BoksMpBak [boksbak=8, toIfindex=null], bmpA: BoksMpBak [boksbak=38, toIfindex=51] [WARNING] Conflicting boksbak in mp vs. mpBoksbak for Boks(20): floor28-3.home.com Mp: 50 bmp: BoksMpBak [boksbak=8, toIfindex=84], bmpA: BoksMpBak [boksbak=9, toIfindex=71] [WARNING] Conflicting boksbak in mp vs. mpBoksbak for Boks(33): floor29-2.home.com Mp: 50 bmp: BoksMpBak [boksbak=8, toIfindex=37], bmpA: BoksMpBak [boksbak=9, toIfindex=53] [WARNING] Conflicting boksbak in mp vs. mpBoksbak for Boks(38): hsc30-2.home.com Mp: 50 bmp: BoksMpBak [boksbak=8, toIfindex=null], bmpA: BoksMpBak [boksbak=9, toIfindex=40] [Guess] Boks(8): Floor28-6513-1 Mp: 74 Boksbak(31): floor28-3750-4.home.com [Guess] Boks(8): Floor28-6513-1 Mp: 266 Boksbak(31): floor28-3750-4.home.com
Also, still having a problem with viewing rrd files from within report, where the URL is something like: http://navhost/browse/rrd/datasources?id=7099& I get back a blank screen. I have found that a file is created in /tmp - the above created a file /tmp/rrd_764614789.gif. But - it appears NAV is not associating the file rrd_764614789.gif with the id 7099 in the above URL.. Also, in the apache error log there will be an error: [Tue Jun 27 15:53:55 2006] [notice] child pid 14045 exit signal Segmentation fault (11)
Can anyone point me in a direction to look? I am wondering if this is something as simple as the graph file being generated in /tmp, and what ever displays it expecting the file to be somewhere else?
Thanks Scott
This e-mail message is intended only for the personal use of the recipient(s) named above. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the Hearst Service Center (cadmin@hearstsc.com) immediately by email and delete the original message.
From sommerjobb at froisland.no Thu Jun 29 10:05:52 2006
From: sommerjobb at froisland.no (Marius =?iso-8859-1?Q?Fr=F8island?=) Date: Thu Jun 29 09:08:37 2006 Subject: [Nav-users] Could not connect to servlet in network explorer Message-ID: WorldClient-F200606290905.AA05520037@froisland.no
Opening network explorer I get the following error, I just installed the software and am at a loss for what is wrong with my installation.
Current path: Home > Network explorer
Could not connect to servlet
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/nav/web/pyproxy/proxy.py", line 61, in handler user=user, session=req.session.id) File "/usr/lib/python2.3/site-packages/nav/web/pyproxy/proxy.py", line 124, in doRequest request.request(method, path, query, headers) File "/usr/lib/python2.3/httplib.py", line 721, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.3/httplib.py", line 742, in _send_request self.endheaders() File "/usr/lib/python2.3/httplib.py", line 715, in endheaders self._send_output() File "/usr/lib/python2.3/httplib.py", line 600, in _send_output self.send(msg) File "/usr/lib/python2.3/httplib.py", line 567, in send self.connect() File "/usr/lib/python2.3/httplib.py", line 551, in connect raise socket.error, msg error: (111, 'Connection refused')