En Debian testing al actualizar ahora ocurre este problema:
[shell]
# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)…Syntax error on line 141 of /etc/apache2/apache2.conf:
Invalid command ‘Order’, perhaps misspelled or defined by a module not included in the server configuration
failed!
[/shell]
Si vemos la documentación de Apache, el comando ‘Order’ pertenece al modulo mod_access
Al pararecer este módulo ya no está enlazado estáticamente si no que se cargará dinámicamente, lo podemos hacer con
[shell]
# a2enmod authz_host
[/shell]
Lo que ahora lanza otro error:
[shell]
debian:/etc/apache2/mods-available# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)…Syntax error on line 145 of /etc/apache2/apache2.conf:
Invalid command ‘TypesConfig’, perhaps misspelled or defined by a module not included in the server configuration
failed!
[/shell]
Pareceser que hay que activar todo esto:
[shell]
#a2enmod mime
[/shell]
Ahora este otro error:
[shell]
# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)…Syntax error on line 22 of /etc/apache2/sites-enabled/000-default:
Invalid command ‘ScriptAlias’, perhaps misspelled or defined by a module not included in the server configuration
failed!
[/shell]
solucionamos con :
[shell]
#a2enmod alias
[/shell]
ahora uno típico:
[shell]
debian:/etc/apache2/mods-available# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)…apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
httpd (no pid file) not running
apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
.
[/shell]
Añadimos /etc/apache2/apache2.conf
[shell]
ServerName localhost
[/shell]
reiniciar y listo
P.D.: en algunas listas recomiendan añadir tambien el modulo setenvif
Deja una respuesta