FAQ
i am getting the following error when i try to run 'createdb' command from
within the bin directory ..



/bin$ ./pg_ctl -D
/host/driveD/manualInstalls/SpatialDatabase/PostgreSQL_postGIS/installPostgreSQL/bin/UserDatabases
-l logfile start
server starting
/bin$ createdn mydb;
createdb: could not connect to database postgres: could not connect to
server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?


pls tell me where is the problem ?

Search Discussions

  • Vibhor Kumar at Jun 21, 2011 at 7:33 am

    On Jun 21, 2011, at 10:19 AM, abhisheks@cse.iitb.ac.in wrote:

    /bin$ ./pg_ctl -D
    /host/driveD/manualInstalls/SpatialDatabase/PostgreSQL_postGIS/installPostgreSQL/bin/UserDatabases
    -l logfile start
    server starting
    /bin$ createdn mydb;
    createdb: could not connect to database postgres: could not connect to
    server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?


    Logfiles can give more information on this.
    Please share the server pg_log/ and logfile information.

    Thanks & Regards,
    Vibhor Kumar
    EnterpriseDB Corporation
    The Enterprise PostgreSQL Company
    vibhor.kumar@enterprisedb.com
    Blog:http://vibhorkumar.wordpress.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-novice @
categoriespostgresql
postedJun 21, '11 at 4:56a
activeJun 21, '11 at 7:33a
posts2
users2
websitepostgresql.org
irc#postgresql

2 users in discussion

Vibhor Kumar: 1 post Abhisheks: 1 post

People

Translate

site design / logo © 2022 Grokbase