Problem restarting server

From: Agustín Caminero Herráez <agustin(at)info-ab(dot)uclm(dot)es>
To: PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Problem restarting server
Date: 2005-05-23 09:08:11
Message-ID: 42919D7B.6070707@info-ab.uclm.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi!

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

[postgres(at)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(at)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(at)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(at)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(at)info-ab(dot)uclm(dot)es Tlf : +34 967 599200 Ext. 2693
Fax : +34 967 599224

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

Attachment Content-Type Size
agustin.vcf text/x-vcard 522 bytes

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Ramon Orticio 2005-05-23 09:18:12 postgres files in windows xp
Previous Message Aarni Ruuhimäki 2005-05-23 06:35:42 Re: postgres file