View previous topic :: View next topic |
Author |
Message |
tycho n00b
Joined: 22 Apr 2002 Posts: 3
|
Posted: Fri Apr 26, 2002 3:02 am Post subject: PostgreSQL anyone? |
|
|
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 |
|
|
baetis n00b
Joined: 25 Apr 2002 Posts: 19
|
Posted: Fri Apr 26, 2002 3:38 am Post subject: |
|
|
not sure, but try running postmaster with the -i flag. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Fri Apr 26, 2002 12:46 pm Post subject: Re: PostgreSQL anyone? |
|
|
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 |
|
|
NvrRobX Guest
|
Posted: Wed Jun 12, 2002 5:45 am Post subject: |
|
|
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! |
|
Back to top |
|
|
|