Обсуждение: Re: Starting Postmaster

Поиск
Список
Период
Сортировка

Re: Starting Postmaster

От
radha.manohar@ndsu.nodak.edu
Дата:
After starting the Postmaster, when I tried to execute psql, I get
this following error. This is the main problem. I don't know why this
happens. Please provide a solution to this problem.

As I said in the previous mail, I have installed postgresql in my
$HOME directory. I got the screen dump when the postmaster is running.
(Here testdb is the name of the database)
--------------screen dump starts------------------------------
manohar@midas-05:~/postgresql-7.3$ $HOME/pgsql/bin/psql testdb
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain
socket "/var/run/postgresql/.s.PGSQL.5432"?
----------------screen dump ends--------------------------------

Thanks in advance.

Regards,

Radha Manohar


Re: Starting Postmaster

От
Ennio-Sr
Дата:
* radha.manohar@ndsu.nodak.edu <radha.manohar@ndsu.nodak.edu> [280403, 14:20]:
> After starting the Postmaster, when I tried to execute psql, I get
> this following error. This is the main problem. I don't know why this
> .....
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain

Verify if postgres is running by doing:

# netstat -na |grep 5432

Good luck!
    Ennio

--
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.     \\?//
 Fa' qualche cosa di cui non sei capace!"   (diceva Henry Miller) ]     (°|°)
[Why to use Win$ozz (I say) if ... "even a fool can do that.             )=(
 Do something you aren't good at!" (used to say Henry Miller) ]