Thread: help me to solve the problem

help me to solve the problem

From
Thobiyas
Date:
Dear /Sir
 
I am Attmepting  follwoing this problem
if I Create Database or retore database
i am facing  following this  problem
 
 
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
createdb: database creation failed
 
please  help  me  to solve this  problem

--
******************************************************
P.Maria Antony Thobiyas
Bosco InfoTech Pvt Ltd
8/131 Sacred Heart College Campus
Thirupattur
Vellore - 635601
Email- maro_anto2003@yahoo.co.in
           maroanto@gmail.com
Phone : 04179-230110 (O)
Mobile: 09486144070 (Personal)
******************************************************

Re: help me to solve the problem

From
Chris
Date:
Thobiyas wrote:
> Dear /Sir
>
> I am Attmepting  follwoing this problem
> if I Create Database or retore database
> i am facing  following this  problem
>
>
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> createdb: database creation failed

Postgresql isn't running on the server.

You need to start it before you can restore a database.

If you need info about how to do that,
- What operating system are you running?
- How did you install it (package like rpm or deb, or from source) ?

--
Postgresql & php tutorials
http://www.designmagick.com/

Re: help me to solve the problem

From
Chris
Date:
Firstly always cc the mailing list so others can offer suggestions about
the problem.

Thobiyas wrote:
> Sir
> *Postgresql isn't running on the server.*
> *yes  **
>
> You need to start it before you can restore a database.*
> *Unable to restart the Postgresql  using Restart command

What is the command you're running?
What is the exact error message you get ?
What shows in the log files?

> If you need info about how to do that,
> - What operating system are you running?*
> *linux

ok. Which flavour? Redhat (enterprise, fedora)? Debian? Suse? Something
else?

--
Postgresql & php tutorials
http://www.designmagick.com/