Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PostgreSQL anyone?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tycho
n00b
n00b


Joined: 22 Apr 2002
Posts: 3

PostPosted: Fri Apr 26, 2002 3:02 am    Post subject: PostgreSQL anyone? Reply with quote

ok, im new to PostgreSQL... i emerged it just fine, but when i try todo anything to it i ge the error:

psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

now from what ive read in the docs, that error means that the server was not started, or it was not started where the cmd expected it. i checked to make sure that it had in fact started, which it was, but what else do i need to configure so i can start using it? is there a conf file somewhere that i haev overlooked? any help would be greatly appreciated.
paul
Back to top
View user's profile Send private message
baetis
n00b
n00b


Joined: 25 Apr 2002
Posts: 19

PostPosted: Fri Apr 26, 2002 3:38 am    Post subject: Reply with quote

not sure, but try running postmaster with the -i flag.
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Apr 26, 2002 12:46 pm    Post subject: Re: PostgreSQL anyone? Reply with quote

tycho wrote:

psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?


This forum is more geared towards Gentoo-specific problems, rather than general linux problems. That said, you should try searching google for "psql: could not connect to server: Connection refused" You should get an answer that way.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
NvrRobX
Guest





PostPosted: Wed Jun 12, 2002 5:45 am    Post subject: Reply with quote

what you need to do is this:

ebuild /var/db/pkg/dev-db/postgresql-7.2-r2/postgresql-7.2-r2.ebuild config

After the emerge of postgresql, it doesn't automatically run the config and set up it's initial database.

Hope this helps! 8)
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum