Martin Pitt wrote:

>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.
>  
>

Ahh. So you are using tla as well. BTW, arch is a great source version
control system. I don't know why people are complaining about it not
being like CVS. :)

A valid criticism would be the long paths which cause all sorts of
problems under Windows.

>>[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?
>  
>
It is commented. All unix_socket_* are commented,

#unix_socket_directory = ''
#unix_socket_group = ''
#unix_socket_permissions = 0777 # octal

So I assumed that the socket would be placed in the default location.

- Adam

PS. I installed the 8.0 from experimental by recompiling it (fakeroot
dpkg-buildpackage) since I didn't want other stuff from experimental. I
don't think this has anything to do with it.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to