Re: /var/run/postgresql ??

From: "Manuel Preliteiro" <hankalagon(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: /var/run/postgresql ??
Date: 2007-05-08 10:43:44
Message-ID: 2b162d970705080343n43246449x8b7e12a17aa10d5d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Your a life saver :D

Thank you for the super fast anser
Manuel

On 5/8/07, Zoltan Boszormenyi <zb(at)cybertec(dot)at> wrote:
>
> 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/
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Felix Kater 2007-05-08 11:32:18 are foreign keys realized as indexes?
Previous Message Zoltan Boszormenyi 2007-05-08 10:20:54 Re: /var/run/postgresql ??