veter@principal ~ $ ls /etc/init.d/post*
/etc/init.d/postgresql-8.4
veter@principal ~ $ /etc/init.d/postgresql-8.4
Usage: /opt/PostgreSQL/8.4/installer/server/startupcfg.sh {start|stop|restart|condrestart|status}
veter@principal ~ $ /opt/PostgreSQL/8.4/installer/server/startupcfg.sh stop
Usage: /opt/PostgreSQL/8.4/installer/server/startupcfg.sh <Major.Minor version> <Username> <Install dir> <Data dir> <ServiceName>
veter@principal ~ $ /opt/PostgreSQL/8.4/installer/server/startupcfg.sh start
Usage: /opt/PostgreSQL/8.4/installer/server/startupcfg.sh <Major.Minor version> <Username> <Install dir> <Data dir> <ServiceName>
veter@principal ~ $ cd /opt/PostgreSQL/8.4/installer/server/
veter@principal /opt/PostgreSQL/8.4/installer/server $ startupcfg.sh stop
startupcfg.sh: command not found
Si abro pgAdminIII me dice esto:
El servidor no escucha
El servidor no acepta conexiones: la librería de conexión reporta
could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?
muchísimas gracias a todos, porque sin vosotros, de verdad que no se me ocurre nada más.
Teresa