GNU/Linux >> Tutoriales Linux >  >> Linux

httpd:apr_sockaddr_info_get() falló para rhel7

Sistema operativo

Red Hat Enterprise Linux Server versión 7.0 (Maipo)

Descripción

El error:

httpd: apr_sockaddr_info_get() failed for rhel7

aparece cuando se inicia el demonio del servidor web apache httpd . Se puede ver al ejecutar el comando de estado del servicio httpd:

# service httpd status
Redirecting to /bin/systemctl status  httpd.service
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
   Active: active (running) since Thu 2014-09-04 17:28:52 WST; 1min 25s ago
 Main PID: 2303 (httpd)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
   CGroup: /system.slice/httpd.service
           ├─2303 /usr/sbin/httpd -DFOREGROUND
           ├─2304 /usr/sbin/httpd -DFOREGROUND
           ├─2305 /usr/sbin/httpd -DFOREGROUND
           ├─2306 /usr/sbin/httpd -DFOREGROUND
           ├─2307 /usr/sbin/httpd -DFOREGROUND
           └─2308 /usr/sbin/httpd -DFOREGROUND

Sep 04 17:28:32 rhel7 systemd[1]: Starting The Apache HTTP Server...
Sep 04 17:28:47 rhel7 httpd[2303]: AH00557: httpd: apr_sockaddr_info_get() failed for rhel7

Solución:

En este caso, rhel7 es el nombre de host real para este sistema. Para corregir el mensaje de error anterior:

# echo 'ServerName 127.0.0.1' >> /etc/httpd/conf/httpd.conf

y reinicie el demonio de su servidor web apache httpd para aplicar los cambios:

# service httpd restart

Linux
  1. Centos:no se pudo iniciar el servidor Apache Http:¿Httpd.service falló?

  2. Cumplimiento de GDPR para proveedores de servicios gestionados globales

  3. La acción Instalar para el producto MySQL Server 5.7.19 falló.

  4. La dependencia falló para el servidor y los servicios NFS

  5. Cómo limitar la memoria para un servicio administrado por systemd

Cómo iniciar el servicio httpd en RHEL Linux

No se pudo emitir la llamada al método:la unidad .service no se pudo cargar:error RHEL7 Linux

Cómo corregir el error "trabajo para el servicio netctl fallido" en Arch Linux

No se pudieron descargar los metadatos para el repositorio

Cómo reparar AH00557:httpd-prefork:apr_sockaddr_info_get() falló

¿Qué se necesita para que un servicio de Linux sea compatible con chkconfig?