Hi all, I have a postGIS database with data that I'm trying to connect to from featureserver, but I get:<br><br><pre>An error occurred: could not connect to server: Permission denied<br>        Is the server running locally and accepting
<br>        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?<br><br> File "./FeatureServer/Server.py", line 232, in cgiHandler<br> format, content = service.dispatchRequest( params, path_info, host, post_data, request_method, accepts )
<br> File "./FeatureServer/Server.py", line 105, in dispatchRequest<br> datasource.begin()<br> File "./FeatureServer/DataSource/PostGIS.py", line 19, in begin<br> self.db = psycopg2.connect(self.dsn
)</pre><br>When I try from python command-line:<br>>>> psycopg2.connect("dbname=test")<br><connection object at 0x2a9559c128; dsn: 'dbname=test', closed: 0><br><br>This is just after starting up:
<br>[postgres@niceguy bin]$ ./startup.sh<br>
[postgres@niceguy bin]$ LOG: database system was shut down at 2007-07-13 10:29:00 CDT<br>LOG: checkpoint record is at 0/BEB2E8<br>LOG: redo record is at 0/BEB2E8; undo record is at 0/0; shutdown TRUE<br>LOG: next transaction ID: 0/22600; next OID: 16943
<br>LOG: next MultiXactId: 1; next MultiXactOffset: 0<br>LOG: database system is ready<br><br><br>I can ./psql test and browse around the db, but apparently the dsn is closed :(<br><br><br>Is there an extra step I need to take for giving featureserver permissions, or does anybody have ideas about this?
<br><br>Any help would be extremely appreciated.<br>Thanks!<br>-Ed<br>