On Mon, 31 Aug 2015 07:41:09 -0400, Rafael wrote:
root@jabber:~# service apache2 status
* apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: active (running) since mi� 2015-08-26 15:37:57 CDT; 4 days ago
Process: 18026 ExecStop=/etc/init.d/apache2 stop (code=exited,
status=0/SUCCESS)
Process: 18050 ExecStart=/etc/init.d/apache2 start (code=exited,
status=0/SUCCESS)
CGroup: /system.slice/apache2.service
|-18064 /usr/sbin/apache2 -k start
|-18068 /usr/sbin/apache2 -k start
|-18069 /usr/sbin/apache2 -k start
|-18070 /usr/sbin/apache2 -k start
|-18071 /usr/sbin/apache2 -k start
`-18072 /usr/sbin/apache2 -k start

ago 26 15:37:56 jabber systemd[1]: Starting LSB: Apache2 web server...
ago 26 15:37:57 jabber apache2[18050]: Starting web server: apache2.
ago 26 15:37:57 jabber systemd[1]: Started LSB: Apache2 web server.
root@jabber:~#


Bueno pero ahi yo veo el servicio ejecutándose sin errores.
Si el problema solo te ocurre cuando lanzas tu manualmente Apache, podrías resolver haciendo antes un source al archivo de variables:

source /etc/apache2/envvars && /usr/sbin/apache2 -k start

De todas formas lanzar Apache manualmente de esa manera es inusual, mejor sería simplemente utilizar el comando de servicios y el sistema se encargaría automáticamente de cargar las variables necesarias:

service apache2 acción

Donde acción puede ser cualquiera de las habituales para este servicio, por ejemplo:
start, reload, force-reload, restart, stop, graceful-stop, status, etc.



______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a