From: | Zoltan Boszormenyi <zb(at)cybertec(dot)at> |
---|---|
To: | Manuel Preliteiro <hankalagon(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: /var/run/postgresql ?? |
Date: | 2007-05-08 10:20:54 |
Message-ID: | 46404F06.2070804@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
Manuel Preliteiro írta:
> Hello, i have installed postgresql version 8.1.4-1.1 in Fedora 6
I have the same system.
> Since I'm very Linux unexperienced I used yum for this purpose.
>
> I have all the commands installed, liek createdb (under
> /usr/bin/createdb witch is not the location specified in the online
> manual), i also have the psql "shell/interface" runing and i can
> manipulate the databases i create. The postgresql deamon is up and
> running also.
>
> The problem is this location "/var/run/postgresql" does not exists, i
> searched in some foruns and it's mentioned a lot so i dont know why i
> dont have it...
>
> I'm using a postgres OCaml library witch has the parameter "
> unix_domain_socket_dir = "/var/run/postgresql" " and when i try to
> compile it i have the following error:
Set this in your OCaml config:
unix_domain_socket_dir = '/tmp'
since PostgreSQL on Fedora uses the default
/tmp/.s.PGSQL.5432 for its socket.
> File "", line 0, characters 0-1:
> Uncaught exception: Unix.Unix_error (20, "connect", "")
> Uncaught exception: Unix.Unix_error(20, "connect", "")
>
> I dont know if the problem comes from the above description (i think
> so, but as i said i'm unexperienced in linux), but does any one know
> hot to fix it? Did i miss something during install?? I installed the
> client, the server and the libs were alredy installed...
>
> Thank you
> Manuel
--
----------------------------------
Zoltán Böszörményi
Cybertec Geschwinde & Schönig GmbH
http://www.postgresql.at/
From | Date | Subject | |
---|---|---|---|
Next Message | Manuel Preliteiro | 2007-05-08 10:43:44 | Re: /var/run/postgresql ?? |
Previous Message | Christopher S Martin | 2007-05-08 10:14:29 | Re: shmget fails on OS X with proper settings |