Skip site navigation (1) Skip section navigation (2)

POSTGRES CONNECTDBSTART() ERROR

From: "Mario Snchez" <mrxm(at)hotmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: POSTGRES CONNECTDBSTART() ERROR
Date: 2001-03-23 14:01:14
Message-ID: F103bZ715u9zGR4WYbX0000356c@hotmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi, my name is mario sanchez, i work on a telecommunications company on the 
dominican republic. I recently installed postgres 7.0.1 on a Sun server with 
Solaris 5.7. It is working fine but, suddenly this morning when i tried to 
get connected to the database it kept giving me this error:

connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?

The weird thing is, I have a C program that's always connected to the 
database inserting records i receive from certain switch we have in the 
company.  And this process was still connected and still inserting records 
to the database.  It seemed that the database wasnt accepting anymore 
connections by some weird reason.  I had to stop de postmaster with the kill 
-9 option becase the kill -INT didn't work.  Buen when i started the 
postmaster again, it just worked fine, like nothing had happend.  CAN YOU 
HELP ME OUT WITH THIS?  Maybe it is just an option i'm not using or what? 
need more memory for postgres? I run the postmaster with the options:

postmaster -D /actual/data/ -i -o -F

is there anything i can do for preventing this to happen again? why did this 
happen?


thanks,

Mario Sanchez
Telecomm. Engineer
TRICOM, DR

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


pgsql-novice by date

Next:From: Nickou OskouipourDate: 2001-03-23 20:39:57
Subject: problem with initdb
Previous:From: Jerry KrepsDate: 2001-03-23 04:51:43
Subject: Re: [SLE] RE: Postgres - trouble starting it - solved and SUM of what I did

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group