Deprecated: Assigning the return value of new by reference is deprecated in /home/controlz/public_html/blog/wp-settings.php on line 472

Deprecated: Assigning the return value of new by reference is deprecated in /home/controlz/public_html/blog/wp-settings.php on line 487

Deprecated: Assigning the return value of new by reference is deprecated in /home/controlz/public_html/blog/wp-settings.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /home/controlz/public_html/blog/wp-settings.php on line 530

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 594

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 594

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 594

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 594

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 611

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 705

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 705

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 705

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 705

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /home/controlz/public_html/blog/wp-includes/classes.php on line 728

Strict Standards: Redefining already defined constructor for class wpdb in /home/controlz/public_html/blog/wp-includes/wp-db.php on line 306

Deprecated: Assigning the return value of new by reference is deprecated in /home/controlz/public_html/blog/wp-includes/cache.php on line 103

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /home/controlz/public_html/blog/wp-includes/cache.php on line 425

Deprecated: Assigning the return value of new by reference is deprecated in /home/controlz/public_html/blog/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/controlz/public_html/blog/wp-includes/theme.php on line 623

Strict Standards: Redefining already defined constructor for class WP_Dependencies in /home/controlz/public_html/blog/wp-includes/class.wp-dependencies.php on line 15

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/controlz/public_html/blog/wp-settings.php:472) in /home/controlz/public_html/blog/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php on line 31

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/controlz/public_html/blog/wp-settings.php:472) in /home/controlz/public_html/blog/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php on line 31

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /home/controlz/public_html/blog/wp-includes/plugin.php on line 311
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName | formatic.cat

apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Por algun motivo el servidor apache2 de nuestro sistema Operativo Ubuntu ha dejado de estar operativo. Así que intentaremos hacerle un restart al servcio para reanimarlo.

sudo /ect/init.d/apache2 -k restart

lo normal es que nos pida el pasword de administrador, se reinicie el servicio y vuelva todo a la normalidad. Pero hoy nos aprecia este mensaje de error:

apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

umm.. No nos dejaba hacer ni un stop, ni nada. así que intente hacer lo mismo con el servicio apache2ctl, y decia lo mismo.

Finalmente para solucionar este probblema seguimos los siguientes pasos:

  1. Editamos el fichero de conficguración de apache teclenado:  sudo nano /etc/apache2/apache2.conf
  2. nos aparece un editor de consola, donde deberemos ir hasta el final del fichero y escribir:
    ServerName NombreDelServer
  3. guardamos los cambios del fichero. Para guardar cambios en el programa GNU nano, deberemos pulsar CONTROL+o  entonces en la parte inferior de la ventana nos aparece una seria de preguntas, que si queremos escribir le diremos que sí y luego pulsando al intro el fichero se guarda.
  4. Atención, una vez guardado se quedará en la misma vnetana sin decir nada mas. Así que será necesario darle a salir. Para salir de la aplicación nano, deberemos pulsar CONTROL+x
  5. Ahora depsues de editar este fichero ya podremos hacer el restart de los servicios apache2 y apache2ctl

Y voalá ya tenemos el servicio funcionando de nuevo. Nuestro apache operativo

Etiquetas: , , ,

7 comentarios para “apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName”


  1. Deprecated: Function ereg() is deprecated in /home/controlz/public_html/blog/wp-content/plugins/google-analyticator/google-analyticator.php on line 399
    Geomelis Azahares Cruz dice:

    Muchas Gracias Me has Salvado el pellejo.

    Llebo 3 dias en este brete..


  2. Deprecated: Function ereg() is deprecated in /home/controlz/public_html/blog/wp-content/plugins/google-analyticator/google-analyticator.php on line 399
    edu dice:

    De nada. Si está posteado aquí es porque alguien nos salvó el pellejo a nosotros antes. Un placer.


  3. Deprecated: Function ereg() is deprecated in /home/controlz/public_html/blog/wp-content/plugins/google-analyticator/google-analyticator.php on line 399
    r2 dice:

    gracias
    me ha sido de ayuda.
    saludos.


  4. Deprecated: Function ereg() is deprecated in /home/controlz/public_html/blog/wp-content/plugins/google-analyticator/google-analyticator.php on line 399
    estyom.1 dice:

    Gracias.. aunque me ha dado varios problemas apache2 ya se han solucionado gracias a blogs como el tuyo.


  5. Deprecated: Function ereg() is deprecated in /home/controlz/public_html/blog/wp-content/plugins/google-analyticator/google-analyticator.php on line 399
    Brakohm dice:

    Excelente Hermano!!!.. no sabia que se trata de algo tan simple.. muchas gracias por compartirlo


  6. Deprecated: Function ereg() is deprecated in /home/controlz/public_html/blog/wp-content/plugins/google-analyticator/google-analyticator.php on line 399
    Ibrahim Bittar dice:

    Muchas gracias, funcionó muy bien para OSX Lion también, aunque tuve que reiniciarlo dos veces para que se dejara…


  7. Deprecated: Function ereg() is deprecated in /home/controlz/public_html/blog/wp-content/plugins/google-analyticator/google-analyticator.php on line 399
    prosweb dice:

    prosweb…

    apache2: Could not reliably determine the server?s fully qualified domain name, using 127.0.0.1 for ServerName | controlzeta.net…

Deja un comentario

CAPTCHA Image Audio Version
Reload Image