Office: (610)-527-0900
Direct: (610)-896-6186
Mobile: (610)-420-2646
The One Main Line Address You Need To Know!
Specializing in the Sale and Purchase of Fine Homes and Estates on Philadelphia's Main Line.
Mod_python error: "PythonHandler ContentGenerator"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/usr/local/pie/ContentGenerator.py", line 197, in handler
    o=c.executeChildren(headNode)

  File "ContentExecutor.py", line 52, in executeChildren
    outv.append(self.executeNode(a))

  File "ContentExecutor.py", line 138, in executeNode
    opc=fptr(pc)

  File "CGMCE.py", line 1509, in include
    data=ATfuncs.PMLS(pc.vars,pc.getContentExecutor().executeChildren(headNode))

  File "ContentExecutor.py", line 52, in executeChildren
    outv.append(self.executeNode(a))

  File "ContentExecutor.py", line 138, in executeNode
    opc=fptr(pc)

  File "CGMCE.py", line 1351, in cedb
    pc.vars[name]=PGDBC.PostgresqlDBConnection(dbname,dbhost,dbuser,dbpass)

  File "/usr/local/pie/PGDBC.py", line 36, in __init__
    self.dbconn=pg.connect(dbname,dbhost,5432,None,None, dbuser, dbpass)

InternalError: could not connect to server: Connection refused
	Is the server running on host "localhost" and accepting
	TCP/IP connections on port 5432?