d�sol� de n'avoir pas repondu plutot mais j'ai tout mis � plat
j'ai reinstall� manuellement postgresql-7.2.3
j'ai effectue par �tape
1�)     j'ai cr�� un utilisateur
                su -c "useradd postgres"

2�)     j'ai recopi� les sources de postgresql dans le repertoire /usr/local/src
                cp postgresql-7.2.3 /usr/local/src
        sous root
                cd /usr/local/src
                tar -xzvf postgresql-7.2.3.tar.gz
        changement de propri�taire
                chown -R postgres.postgres postgresql-7.2.3
3�)     je suis rentr� dans le dossier postgresql-7.2.3
                cd postgresql-7.2.3
        configuration de postgresql sous l'utilisateur postgres
                ./configure --with-cxx --with-perl --with-python --with-tcl --with-tk 
--enable-odbc
                make
                su -c "make install"
4�)     changement de dossier
                cd /usr/local/pgsql
        changement de proprietaire
                su -c "chwn -R postgres.postgres /usr/local/pgsql"
5�)     dans les utilisateurs j'ai rajout�
                PATH=$PATH:/usr:local:pgsql/bin
                MANPATH=$MANPATH:/usr/local/pgsql/man
                export PATH MANPATH
                LD_LIBRARY_PATH=/usr/local/pgsql/lib
                export LD_LIBRARY_PATH
6�)     j'ai initialis� la base de donn�es
                /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
7�)     j'ai lanc� postmaster
                /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
8�)     je suis all� dans postgresql-7.2.3
                cd /usr/local/src/postgresql-7.2.3
                su -c "cp contrib/start-script/linux /etc/rc.d/init.d/postgresql"
                su -c "chmod a+x /etc/rc.d/init.d/postgresql"
9�)     toujours sous l'utiliseur postgres
                createuser -P -e jm
                createdb fsc
10�)    je me log sous l'utilisateur jm et j'ai le message suivant:"
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"?"
11�)    en retournant sous l'utilisateur postgres je tape la ligne suivant:
                /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgssql/data -l 
/tmp/pgsql.log start"
        le systeme me r�pond:
                "postmaster successfully started"
12�)    c'est seulement � cette instant que je peux me connecter sur le serveur de 
base de donn�es

Pouvez vous me donner la marche � suivre pour avoir un d�marrage automatique du 
postmaster pour tous les utilisateurs de la machine

merci pour les r�ponses
jm



*********** REPLY SEPARATOR  ***********

On 29/12/2002 at 09:33 LEFEBVRE Herve wrote:

>On Dimanche 29 D�cembre 2002 09:21, LEFEBVRE Herve wrote:
>
>> > Would you like help on this error?
>> > ---------------------------
>> > Oui   Non
>> > ---------------------------
>> > merci pour les r�ponce
>>
>> Parce que ton postmaster n'est pas lanc� avec l'option -i et donc
>> impossible de se connecter via une socket tcp/ip ...
>
>Pour etre plus pr�cis, une ligne
>tcpip_socket = true
>dans le fichier
>$PGDATA/postgresql.conf
>
>serait la bienvenue...
>
>
>
>
>
>--
>Herv� LEFEBVRE         http://www.linuxfrench.net
>[EMAIL PROTECTED]
>LUTTEZ CONTRE LA VENTE FORC�E DE LOGICIELS :
>http://www.linuxfrench.net/oem/
>
>
>Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
>Rendez-vous sur "http://www.mandrakestore.com";




Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à