Re: Arranque automático

From: Carlos Ruiz <cailovirtual(at)gmail(dot)com>
To: "Guillermo E(dot) Villanueva" <guillermovil(at)gmail(dot)com>
Cc: pgsql-es-ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Arranque automático
Date: 2020-03-09 15:52:05
Message-ID: CAJmkQv40M9=URmp8dM0hAhw_maBGk8JizNb12nkUXy=xn_5sZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hola buenos días, tenes instalado sudo?

Saludos.-

El lun., 9 de mar. de 2020 a la(s) 12:45, Guillermo E. Villanueva (
guillermovil(at)gmail(dot)com) escribió:

> Buenos días, instalé desde fuentes postgres 12 sobre centos 8
> Copié el script de inicio desde contrib/start-scripts hacia el directorio
> ...init.d
>
> Postgres inicia sin problemas con pg_ctl y también con la línea de comandos
> service postgres start
>
> pero automáticamente no lo hace
>
> El error que encuentro es
> [root(at)centos8 ~]#* systemctl status postgres*
>
> ● postgres.service - SYSV: PostgreSQL RDBMS
> Loaded: loaded (/etc/rc.d/init.d/postgres; generated)
> Active: failed (Result: exit-code) since Mon 2020-03-09 12:36:46 -03;
> 4min 24s ago
> Docs: man:systemd-sysv-generator(8)
> Process: 875 ExecStart=/etc/rc.d/init.d/postgres start (code=exited,
> status=127)
>
> mar 09 12:36:46 centos8 systemd[1]: Starting SYSV: PostgreSQL RDBMS...
> mar 09 12:36:46 centos8 postgres[875]: Starting PostgreSQL:
> /etc/rc.d/init.d/postgres: línea 94: su: no se encontró la orden
> mar 09 12:36:46 centos8 systemd[1]: postgres.service: Control process
> exited, code=exited status=127
> mar 09 12:36:46 centos8 systemd[1]: postgres.service: Failed with result
> 'exit-code'.
> mar 09 12:36:46 centos8 systemd[1]: Failed to start SYSV: PostgreSQL RDBMS.
>
> El código de la línea mencionada en el mensaje de error (línea 94) es:
> su - $PGUSER -c "$DAEMON_ENV $DAEMON -D '$PGDATA' >>$PGLOG 2>&1 &"
>
> Tienen idea que podrá estar pasando?
>
> Desde ya muchas gracias.
>
> Guillermo
>

--
Carlos Ruiz
--- C(at)ilo ---

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Guillermo E. Villanueva 2020-03-09 16:00:12 Re: Arranque automático
Previous Message Guillermo E. Villanueva 2020-03-09 15:51:12 Re: [MASSMAIL]Arranque automático