Hi Adam!

Adam Majer [2005-06-17 11:06 -0500]:
> Restarting PostgreSQL 8.0 database server: main(FAILED)
> 
> could not change directory to "/tmp/t"
> could not change directory to "/tmp/t"

Thanks for discovering this. It's only a cosmetic thing, but I fixed
it in arch head.

> [EMAIL PROTECTED]:~$ psql
> 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"?

> PS. I found the socket in /tmp
> 
> srwxrwxrwx   1 postgres postgres         0 2005-06-17 11:02 .s.PGSQL.5432
> -rw-------   1 postgres postgres        34 2005-06-17 11:02 .s.PGSQL.5432.lock
> 
> Hmmm.. The original installation was from experimental but now I'm up to
> date AFAICT,

Yes, 8.0.3-6 fixes some more bugs, but is stuck in NEW. However, these
bugs should not cause this symptom. It certainly doesn't occur on my
systems, but I didn't upgrade any installation all the way from the
experimental packages. I trash my test databases on my desktop almost
every day...

The socket directory is configured in
/etc/postgresql/8.0/main/postgresql.conf, "unix_socket_directory". Can
you please tell me its value? Or is it commented out?

Thanks,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to