Advertisement
Guest User

Untitled

a guest
Sep 7th, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.19 KB | None | 0 0
  1.  
  2. OperationalError at /main/desktop/
  3.  
  4. FATAL:  sorry, too many clients already
  5.  
  6. Request Method:     GET
  7. Request URL:    http://127.0.0.1:8000/main/desktop/
  8. Django Version:     1.3.1
  9. Exception Type:     OperationalError
  10. Exception Value:    
  11.  
  12. FATAL:  sorry, too many clients already
  13.  
  14. Exception Location:     /opt/noc/contrib/lib/django/db/backends/postgresql_psycopg2/base.py in _cursor, line 140
  15. Python Executable:  /usr/bin/python
  16. Python Version:     2.6.6
  17. Python Path:    
  18.  
  19. ['/opt/noc/contrib/lib/South-0.7.3-py2.6.egg',
  20.  '/opt/noc/contrib/lib/coverage-3.5.1-py2.6-linux-x86_64.egg',
  21.  '/opt/noc/contrib/lib/protobuf-2.4.1-py2.6.egg',
  22.  '/opt/noc/contrib/lib/pyasn1-0.1.2-py2.6.egg',
  23.  '/opt/noc/contrib/lib/pysnmp-4.2.1-py2.6.egg',
  24.  '/opt/noc/contrib/lib/python_creole-0.2.4-py2.6.egg',
  25.  '/opt/noc/contrib/lib/Pygments-1.2.2-py2.6.egg',
  26.  '/opt/noc/contrib/lib/Jinja2-2.2.1-py2.6.egg',
  27.  '/opt/noc/contrib/lib/Sphinx-1.0.7-py2.6.egg',
  28.  '/opt/noc/contrib/lib/mongoengine-0.6.1-py2.6.egg',
  29.  '/opt/noc/contrib/lib/pymongo-2.2.1-py2.6-linux-x86_64.egg',
  30.  '/opt/noc/contrib/lib/tornado-2.2-py2.6.egg',
  31.  '/opt/noc',
  32.  '/opt',
  33.  '/opt/noc/contrib/lib',
  34.  '/opt/noc/scripts',
  35.  '/usr/lib/python2.6',
  36.  '/usr/lib/python2.6/plat-linux2',
  37.  '/usr/lib/python2.6/lib-tk',
  38.  '/usr/lib/python2.6/lib-old',
  39.  '/usr/lib/python2.6/lib-dynload',
  40.  '/usr/local/lib/python2.6/dist-packages',
  41.  '/usr/lib/python2.6/dist-packages',
  42.  '/usr/lib/pymodules/python2.6']
  43.  
  44. Server time:    Птн, 7 Сен 2012 10:06:12 +0400
  45. Traceback
  46. Environment:
  47.  
  48.  
  49. Request Method: GET
  50. Request URL: http://127.0.0.1:8000/main/desktop/
  51.  
  52. Django Version: 1.3.1
  53. Python Version: 2.6.6
  54. Installed Applications:
  55. ['django.contrib.auth',
  56.  'django.contrib.contenttypes',
  57.  'django.contrib.sessions',
  58.  'django.contrib.sites',
  59.  'django.contrib.admin',
  60.  'django.contrib.messages',
  61.  'tagging',
  62.  'south',
  63.  'noc.main',
  64.  'noc.gis',
  65.  'noc.inv',
  66.  'noc.sa',
  67.  'noc.fm',
  68.  'noc.pm',
  69.  'noc.cm',
  70.  'noc.ip',
  71.  'noc.vc',
  72.  'noc.dns',
  73.  'noc.peer',
  74.  'noc.kb']
  75. Installed Middleware:
  76. ['django.middleware.common.CommonMiddleware',
  77.  'django.contrib.sessions.middleware.SessionMiddleware',
  78.  'django.middleware.locale.LocaleMiddleware',
  79.  'django.contrib.messages.middleware.MessageMiddleware',
  80.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  81.  'noc.lib.middleware.HTTPBasicAuthMiddleware',
  82.  'django.middleware.doc.XViewMiddleware',
  83.  'django.middleware.transaction.TransactionMiddleware',
  84.  'noc.lib.middleware.TLSMiddleware']
  85.  
  86.  
  87. Traceback:
  88. File "/opt/noc/contrib/lib/django/core/handlers/base.py" in get_response
  89.   89.                     response = middleware_method(request)
  90. File "/opt/noc/lib/middleware.py" in process_request
  91.   24.         if request.user.is_authenticated():
  92. File "/opt/noc/contrib/lib/django/contrib/auth/middleware.py" in __get__
  93.   9.             request._cached_user = get_user(request)
  94. File "/opt/noc/contrib/lib/django/contrib/auth/__init__.py" in get_user
  95.   110.         user = backend.get_user(user_id) or AnonymousUser()
  96. File "/opt/noc/main/auth/backends/base.py" in get_user
  97.   32.             return self.User.objects.get(pk=user_id)
  98. File "/opt/noc/contrib/lib/django/db/models/manager.py" in get
  99.   132.         return self.get_query_set().get(*args, **kwargs)
  100. File "/opt/noc/contrib/lib/django/db/models/query.py" in get
  101.   344.         num = len(clone)
  102. File "/opt/noc/contrib/lib/django/db/models/query.py" in __len__
  103.   82.                 self._result_cache = list(self.iterator())
  104. File "/opt/noc/contrib/lib/django/db/models/query.py" in iterator
  105.   273.         for row in compiler.results_iter():
  106. File "/opt/noc/contrib/lib/django/db/models/sql/compiler.py" in results_iter
  107.   680.         for rows in self.execute_sql(MULTI):
  108. File "/opt/noc/contrib/lib/django/db/models/sql/compiler.py" in execute_sql
  109.   734.         cursor = self.connection.cursor()
  110. File "/opt/noc/contrib/lib/django/db/backends/__init__.py" in cursor
  111.   250.             cursor = self.make_debug_cursor(self._cursor())
  112. File "/opt/noc/contrib/lib/django/db/backends/postgresql_psycopg2/base.py" in _cursor
  113.   140.             self.connection = Database.connect(**conn_params)
  114.  
  115. Exception Type: OperationalError at /main/desktop/
  116. Exception Value: FATAL:  sorry, too many clients already
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement