I've been running NAV (3.14.15 on Debian appliance) for a few weeks without any issues but recently I started getting errors when running the Layer 2 trace tool. I tried upgrading but I guess the package for Debian hasn't been released yet... Any suggestions would be appreciated. Thank you.
The error message is below:
MOD_PYTHON ERROR
ProcessId: 1023 Interpreter: 'nav-appliance.uninett.no'
ServerName: 'nav-appliance.uninett.no' DocumentRoot: '/usr/share/nav/htdocs'
URI: '/l2trace/' Location: '/' Directory: None Filename: '/usr/share/nav/htdocs/l2trace' PathInfo: '/'
Phase: 'PythonHandler' Handler: 'django.core.handlers.modpython'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1229, in _process_target result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1128, in _execute_target result = object(arg)
File "/usr/lib/pymodules/python2.6/django/core/handlers/modpython.py", line 228, in handler return ModPythonHandler()(req)
File "/usr/lib/pymodules/python2.6/django/core/handlers/modpython.py", line 208, in __call__ signals.request_finished.send(sender=self.__class__)
File "/usr/lib/pymodules/python2.6/django/dispatch/dispatcher.py", line 162, in send response = receiver(signal=self, sender=sender, **named)
File "/usr/lib/pymodules/python2.6/django/db/__init__.py", line 84, in close_connection conn.close()
File "/usr/lib/pymodules/python2.6/django/db/backends/__init__.py", line 70, in close self.connection.close()
InterfaceError: connection already closed
On Tue, 7 May 2013 13:23:06 +0000 (UTC) Ted theodore.dd@gmail.com wrote:
I've been running NAV (3.14.15 on Debian appliance) for a few weeks without any issues but recently I started getting errors when running the Layer 2 trace tool. I tried upgrading but I guess the package for Debian hasn't been released yet... Any suggestions would be appreciated. Thank you.
[snip]
File "/usr/lib/pymodules/python2.6/django/db/backends/__init__.py", line 70, in close self.connection.close()
InterfaceError: connection already closed
If you've done a package upgrade on the server, you may have received a PostgreSQL update that caused the PostgreSQL server to restart. That may disturb one or more of your Apache worker processes, depending on what they were doing at the moment, so you should restart Apache as well.