proxy wrote:Cette commande est à lancer en tant que root et ne doit donc pas demander de password
Voilà le résultat ..
[root@localhost /]# su -l postgres -c '/usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data'
FATAL: n'a pas pu écrire le fichier verrou « postmaster.pid » : Aucun espace disponible sur le périphérique
[root@localhost /]#
J'ai vérifié le fichier postgresql.conf et le port est bien à 5432. J'ai aussi tenté les commandes suivantes :
Starting Nmap 5.00 (
http://nmap.org ) at 2011-12-21 15:58 CET
Interesting ports on 127.0.0.1:
Not shown: 993 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
139/tcp open netbios-ssn
445/tcp open microsoft-ds
631/tcp open ipp
5900/tcp open vnc
Nmap done: 1 IP address (1 host up) scanned in 0.15 seconds
[serveur@localhost /]$ cat etc/init.d/postgresql | grep 5432
PGPORT=5432
[serveur@localhost /]$
[serveur@localhost /]$ service postgresql start
touch: ne peut faire un touch sur `/var/lib/pgsql/pgstartup.log': Permission non accordée
[serveur@localhost /]$ su -
Mot de passe :
[root@localhost ~]# service postgresql start
Démarrage du service postgresql : [ÉCHOUÉ]
[root@localhost ~]#