Problem restarting server - Mailing list pgsql-novice

From Agustín Caminero Herráez
Subject Problem restarting server
Date
Msg-id 42919D7B.6070707@info-ab.uclm.es
Whole thread Raw
Responses Re: Problem restarting server  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Hi!

I'm new at using postgreSQL, andI have the following error:


[postgres@nodo2 ~]#  /etc/init.d/postgresql restart
Parando el servicio  postgresql:                           [FALLÓ]
rm: no se puede borrar «/var/run/postmaster.5432.pid»: Permiso denegado
-->> Access Denied
Iniciando servicios postgresql:                            [  OK  ]
[postgres@nodo2 ~]#


That file used to be owned by root, by I changed its ownership, and now
its rights are the following:

-rw-r--r--  1 postgres postgres    6 may 23 10:31 postmaster.5432.pid

But the error stays the same.
What can I do to solve this error?

Apart from that, although it seems that the server is running properly,
it's not true, because when I try whatever, I have this error:

[postgres@nodo2 ~]#  psql
psql: FATAL:  los argumentos de línea de comando no son válidos para
proceso servidor -->> command line arguments are not valid for server
process
HINT:  Pruebe "postgres --help" para mayor información.
[postgres@nodo2 ~]#


Does anybody know why this happens, and what can I do to solve it?

Thanks a lot in advance!

Agustin

--
========================================================================
                  Agustín Caminero Herráez

Departamento de Informática         Universidad de Castilla-La Mancha

Instituto de Investigación en       Campus Universitario s. n.
Informática de Albacete (i3A)       02071-ALBACETE (SPAIN)

e-mail: agustin@info-ab.uclm.es     Tlf : +34 967 599200 Ext. 2693
                                    Fax : +34 967 599224

                URL:  http://www.i3a.uclm.es/
========================================================================


Attachment

pgsql-novice by date:

Previous
From: Aarni Ruuhimäki
Date:
Subject: Re: postgres file
Next
From: Ramon Orticio
Date:
Subject: postgres files in windows xp