Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id ECE3A1337B96 for ; Mon, 17 Jan 2011 04:51:52 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 83053-03 for ; Mon, 17 Jan 2011 08:51:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by mail.postgresql.org (Postfix) with ESMTP id BF4851337B92 for ; Mon, 17 Jan 2011 04:51:44 -0400 (AST) Received: by mail-qy0-f174.google.com with SMTP id 19so1662289qyj.19 for ; Mon, 17 Jan 2011 00:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mgdgEtqM5STgYayM/YTKwpTkHTZzDqfNzTHpWZYDbrw=; b=XRjR/Yft1tobKekiGMsHOUmGNy6lU9kFYesG32K86Cmz4ySPNOWCBoNrieavtri9YC LEa3xsJtMk2ycN+ko8MwVGHZ7u9d4d392qMyNUdwev800tyihn/I8S66km8CB5pdF3uK caFKAGxd4v20lQct4C6wOzJt2/qLUHrzcyidI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=uSCqKGt/xH7CRJeMN40fVth73rnABSvHvKk7tXJfgM5omju4puyNEd2o9jqVAF9Vmg M+oidovLwdM/ICXEXcxRfIrMoL3aIZ4IDOD8u1tFjeNQ+84YH4ya5LMI7tt1EEQgm7Te zaWmMjtWIVGmVtMyspqx5Ts2XIMx5uHXc6i5A= MIME-Version: 1.0 Received: by 10.229.88.82 with SMTP id z18mr3401792qcl.221.1295254305020; Mon, 17 Jan 2011 00:51:45 -0800 (PST) Received: by 10.220.188.194 with HTTP; Mon, 17 Jan 2011 00:51:44 -0800 (PST) In-Reply-To: References: Date: Mon, 17 Jan 2011 09:51:44 +0100 Message-ID: Subject: Re: failing to connect to postgresql with php From: =?UTF-8?Q?Viktor_Bojovi=C4=87?= To: victor katemana Cc: pgsql-sql@postgresql.org Content-Type: multipart/alternative; boundary=0016367f9c56be9a0b049a06e4f4 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.669 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1.929, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201101/45 X-Sequence-Number: 34992 --0016367f9c56be9a0b049a06e4f4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jan 17, 2011 at 9:42 AM, victor katemana wrote: > i have installed postgres 8.4 server in ubuntu 10.04, clearly following a= ll > procedures. what is disappointing me i cant establish connection to the > database server when am configuring postgres with php. whenever i use thi= s > postgres database function i dont even receive an error message. the serv= er > just remains quite. more on than when i execute the command > > #psql template1 on my terminal i receive this error message > > 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"= ? > can someone help me out please > if not started start it using /etc/init.d/postgresql-8.3 start --=20 --------------------------------------- Viktor Bojovi=C4=87 --------------------------------------- Wherever I go, Murphy goes with me --0016367f9c56be9a0b049a06e4f4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Mon, Jan 17, 2011 at 9:42 AM, victor = katemana <developervickatg@gmail.com> wrote:
i have installed postgres 8.4 server in ubuntu 10.04, clearly following all= procedures. what is disappointing me i cant establish connection to the da= tabase server when am configuring postgres with php. whenever i use this po= stgres database function i dont even receive an error message. the server j= ust remains quite. more on than when i execute the command

#psql template1 on my terminal i receive this error messa= ge

psql: could not connect to server: No such file or directory
= =C2=A0=C2=A0=C2=A0 Is the server running locally and accepting
=C2=A0=C2= =A0=C2=A0 connections on Unix domain socket "/var/run/postgresql/.s.PG= SQL.5432"?
=C2=A0can someone help me out please

if not started start it using
/etc/init.d/postgr= esql-8.3 start



--
------------------------= ---------------
Viktor Bojovi=C4=87
---------------------------------= ------
Wherever I go, Murphy goes with me
--0016367f9c56be9a0b049a06e4f4--