• \[SOLVED\]Instalando LAMP en antergos


    Seguí este tutorial [url:3voscx7n]https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-arch-linux[/url:3voscx7n] para instalar [b:3voscx7n]LAMP[/b:3voscx7n] en mi antergos, pero al tratar de arrancar el servidor apache, me sale este error:

    teto ~ $ sudo systemctl restart httpd  
    Job for httpd.service failed. See "systemctl status httpd.service" and "journalctl -xe" for details
    
    teto ~ $ systemctl status httpd.service  
    ● httpd.service - Apache Web Server  
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)  
    Active: failed (Result: exit-code) since mar 2014-12-23 23:58:44 CST; 14s ago  
    Process: 4920 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)  
      
    dic 23 23:58:44 antergos apachectl[4920]: AH00534: httpd: Configuration error: No MPM loaded.  
    dic 23 23:58:44 antergos systemd[1]: httpd.service: control process exited, code=exited status=1  
    dic 23 23:58:44 antergos systemd[1]: Failed to start Apache Web Server.  
    dic 23 23:58:44 antergos systemd[1]: Unit httpd.service entered failed state.  
    dic 23 23:58:44 antergos systemd[1]: httpd.service failed.
    
    teto ~ $ journalctl -xe  
    dic 23 23:58:25 antergos sudo[4914]: pam\_unix(sudo:session): session closed for user root  
    dic 23 23:58:44 antergos sudo[4917]: teto : TTY=pts/1 ; PWD=/home/teto ; USER=root ; COMMAND=/usr/bin/syste  
    dic 23 23:58:44 antergos sudo[4917]: pam\_unix(sudo:session): session opened for user root by teto(uid=0)  
    dic 23 23:58:44 antergos systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.so  
    dic 23 23:58:44 antergos apachectl[4920]: AH00534: httpd: Configuration error: No MPM loaded.  
    dic 23 23:58:44 antergos systemd[1]: httpd.service: control process exited, code=exited status=1  
    dic 23 23:58:44 antergos systemd[1]: Failed to start Apache Web Server.  
    -- Subject: Unit httpd.service has failed  
    -- Defined-By: systemd  
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel  
    --  
    -- Unit httpd.service has failed.  
    --  
    -- The result is failed.  
    dic 23 23:58:44 antergos systemd[1]: Unit httpd.service entered failed state.  
    dic 23 23:58:44 antergos systemd[1]: httpd.service failed.  
    dic 23 23:58:44 antergos sudo[4917]: pam\_unix(sudo:session): session closed for user root  
    dic 24 00:00:06 antergos systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.so  
    dic 24 00:00:06 antergos systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.so  
    dic 24 00:00:06 antergos systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.so
    

    Como siempre muchas gracias por su ayuda. (…y ¡Felices Fiestas!)

  • Seguí este tutorial [url:3voscx7n]https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-arch-linux[/url:3voscx7n] para instalar [b:3voscx7n]LAMP[/b:3voscx7n] en mi antergos, pero al tratar de arrancar el servidor apache, me sale este error:

    teto ~ $ sudo systemctl restart httpd  
    Job for httpd.service failed. See "systemctl status httpd.service" and "journalctl -xe" for details
    
    teto ~ $ systemctl status httpd.service  
    ● httpd.service - Apache Web Server  
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)  
    Active: failed (Result: exit-code) since mar 2014-12-23 23:58:44 CST; 14s ago  
    Process: 4920 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)  
      
    dic 23 23:58:44 antergos apachectl[4920]: AH00534: httpd: Configuration error: No MPM loaded.  
    dic 23 23:58:44 antergos systemd[1]: httpd.service: control process exited, code=exited status=1  
    dic 23 23:58:44 antergos systemd[1]: Failed to start Apache Web Server.  
    dic 23 23:58:44 antergos systemd[1]: Unit httpd.service entered failed state.  
    dic 23 23:58:44 antergos systemd[1]: httpd.service failed.
    
    teto ~ $ journalctl -xe  
    dic 23 23:58:25 antergos sudo[4914]: pam\_unix(sudo:session): session closed for user root  
    dic 23 23:58:44 antergos sudo[4917]: teto : TTY=pts/1 ; PWD=/home/teto ; USER=root ; COMMAND=/usr/bin/syste  
    dic 23 23:58:44 antergos sudo[4917]: pam\_unix(sudo:session): session opened for user root by teto(uid=0)  
    dic 23 23:58:44 antergos systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.so  
    dic 23 23:58:44 antergos apachectl[4920]: AH00534: httpd: Configuration error: No MPM loaded.  
    dic 23 23:58:44 antergos systemd[1]: httpd.service: control process exited, code=exited status=1  
    dic 23 23:58:44 antergos systemd[1]: Failed to start Apache Web Server.  
    -- Subject: Unit httpd.service has failed  
    -- Defined-By: systemd  
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel  
    --  
    -- Unit httpd.service has failed.  
    --  
    -- The result is failed.  
    dic 23 23:58:44 antergos systemd[1]: Unit httpd.service entered failed state.  
    dic 23 23:58:44 antergos systemd[1]: httpd.service failed.  
    dic 23 23:58:44 antergos sudo[4917]: pam\_unix(sudo:session): session closed for user root  
    dic 24 00:00:06 antergos systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.so  
    dic 24 00:00:06 antergos systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.so  
    dic 24 00:00:06 antergos systemd[1]: Cannot add dependency job for unit cups.socket, ignoring: Unit cups.so
    

    Como siempre muchas gracias por su ayuda. (…y ¡Felices Fiestas!)

  • Googleando encontré la solución:

    sudo nano /etc/httpd/conf/httpd.conf
    

    Tenía que comentar [b:21gloo69]"#"[/b:21gloo69], las siguientes líneas:

    \#TypesConfig conf/mime.types  
    \#MIMEMagicFile conf/magic
    

    y ahora ya funciona. Saludos

Posts 3Views 5118
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.