Hi Martin,

Selon Martin Pitt <[EMAIL PROTECTED]>:

> Hi Ludovic,
>
> Ludovic Danigo [2007-03-02 15:44 +0100]:
> > Starting PostgreSQL 8.1 database server: main* The PostgreSQL
> server
> > failed to start. Please check the log output:
> > 2007-03-02 15:26:10 CET LOG:  could not load root certificate
> file
> > "root.crt": No SSL error reported
> > 2007-03-02 15:26:10 CET DETAIL:  Will not verify client
> certificates.
> >  failed!
>
> Hmm, this is indeed weird, and the inability of loading root.crt
> should not be fatal either (it's not logged as such). Can you
> please
> give me the output of
>
>   ls -l /var/lib/postgresql/8.1/main/root.crt
> /etc/postgresql-common/root.crt

-rw-r--r-- 1 root root 540 Mar  2 15:15
/etc/postgresql-common/root.crt
lrwxrwxrwx 1 root root  31 Mar  2 15:15
/var/lib/postgresql/8.1/main/root.crt ->
/etc/postgresql-common/root.crt


> (as root in the etch chroot)
>
> Can you resolve 'localhost' in the chroot? If there is no
> /etc/hosts,
> can you please do
>
>   echo '127.0.0.1 localhost > /etc/hosts
>   apt-get -f install
>
> does this now successfully start up PostgreSQL?

Doh ! That was that. I'm currently setting up several chroot
and that one was missing its /etc/hosts. I should I have been
more careful :-s

Thanks !

--
Ludovic Danigo.

Reply via email to