Modify ↓
Opened 19 years ago
Closed 19 years ago
#5164 closed defect (worksforme)
Trac internal error
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | general | Version: | |
| Severity: | critical | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
I cannot access my Trac page as I am getting the following error:
Python Traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.5/site-packages/trac/web/main.py", line 191, in dispatch
req.perm = PermissionCache(self.env, req.authname)
File "/usr/local/lib/python2.5/site-packages/trac/perm.py", line 267, in __init__
self.perms = PermissionSystem(env).get_user_permissions(username)
File "/usr/local/lib/python2.5/site-packages/trac/perm.py", line 231, in get_user_permissions
for perm in self.store.get_user_permissions(username):
File "/usr/local/lib/python2.5/site-packages/trac/perm.py", line 110, in get_user_permissions
cursor = db.cursor()
File "/usr/local/lib/python2.5/site-packages/trac/db/util.py", line 78, in cursor
return IterableCursor(self.cnx.cursor())
File "/usr/local/lib/python2.5/site-packages/trac/db/util.py", line 78, in cursor
return IterableCursor(self.cnx.cursor())
File "/usr/local/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 2599, in cursor
return Cursor(self, name, isRefCursor)
File "/usr/local/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 2718, in __init__
self.conn._Connection__setupTransaction()
File "/usr/local/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 2510, in __setupTransaction
self.conn.query("BEGIN WORK")
OperationalError: no connection to the server
Attachments (0)
Change History (1)
comment:1 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Trac cannot connect to the database server. Check your connection string in trac.ini and check that the Postgres server does accept connections from your Trac server. If you need more help with this please use the MailingList since this is a configuration issue.