<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hola!<br>
      Doncs diuen això:<br>
      <br>
      ---------------<br>
      palimsesto@palimsesto-GA-MA770-UD3:~$ systemctl status
      apache2.service<br>
      ● apache2.service - LSB: Apache2 web server<br>
         Loaded: loaded (/etc/init.d/apache2; bad; vendor preset:
      enabled)<br>
        Drop-In: /lib/systemd/system/apache2.service.d<br>
                 └─apache2-systemd.conf<br>
         Active: failed (Result: exit-code) since dt 2017-08-29 12:38:40
      CEST; 11min ago<br>
           Docs: <a class="moz-txt-link-freetext" href="man:systemd-sysv-generator(8)">man:systemd-sysv-generator(8)</a><br>
        Process: 20068 ExecStop=/etc/init.d/apache2 stop (code=exited,
      status=0/SUCCESS)<br>
        Process: 20092 ExecStart=/etc/init.d/apache2 start (code=exited,
      status=1/FAILURE)<br>
      <br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 apache2[20092]:  * The
      apache2 configtest failed.<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 apache2[20092]: Output of
      config test was:<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 apache2[20092]: [Tue Aug
      29 12:38:40.335936 2017] [:crit] [pid 2010<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 apache2[20092]: AH00013:
      Pre-configuration failed<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 apache2[20092]: Action
      'configtest' failed.<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 apache2[20092]: The Apache
      error log may have more information.<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 systemd[1]:
      apache2.service: Control process exited, code=exited st<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 systemd[1]: Failed to
      start LSB: Apache2 web server.<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 systemd[1]:
      apache2.service: Unit entered failed state.<br>
      ago 29 12:38:40 palimsesto-GA-MA770-UD3 systemd[1]:
      apache2.service: Failed with result 'exit-code'.<br>
      lines 1-19/19 (END)<br>
      reset: enabled)<br>
      <br>
      <br>
      8-29 12:38:40 CEST; 11min ago<br>
      <br>
      code=exited, status=0/SUCCESS)<br>
      (code=exited, status=1/FAILURE)<br>
      <br>
      ]:  * The apache2 configtest failed.<br>
      ]: Output of config test was:<br>
      ]: [Tue Aug 29 12:38:40.335936 2017] [:crit] [pid 20104:tid
      140502137067392] Apache is running a t<br>
      ]: AH00013: Pre-configuration failed<br>
      ]: Action 'configtest' failed.<br>
      ]: The Apache error log may have more information.<br>
      pache2.service: Control process exited, code=exited status=1<br>
      ailed to start LSB: Apache2 web server.<br>
      pache2.service: Unit entered failed state.<br>
      pache2.service: Failed with result 'exit-code'.<br>
      <br>
      <br>
      -------------<br>
      <br>
      i <br>
      <br>
      -----<br>
      palimsesto@palimsesto-GA-MA770-UD3:~$ sudo journalctl -xe<br>
      [sudo] contrasenya per a palimsesto: <br>
      ago 29 12:39:02 palimsesto-GA-MA770-UD3 CRON[20120]:
      pam_unix(cron:session): ses<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 dbus[943]: [system]
      Activating via syste<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 dbus[943]: [system]
      Activating via syste<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 systemd[1]: Starting
      Hostname Service...<br>
      -- Subject: Unit systemd-hostnamed.service has begun start-up<br>
      -- Defined-By: systemd<br>
      -- Support:
      <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
      -- <br>
      -- Unit systemd-hostnamed.service has begun starting up.<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 dbus[943]: [system]
      Successfully activat<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 systemd[1]: Started
      Hostname Service.<br>
      -- Subject: Unit systemd-hostnamed.service has finished start-up<br>
      -- Defined-By: systemd<br>
      -- Support:
      <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
      -- <br>
      -- Unit systemd-hostnamed.service has finished starting up.<br>
      -- <br>
      -- The start-up result is done.<br>
      ago 29 12:47:17 palimsesto-GA-MA770-UD3 dbus[943]: [system] Failed
      to activate s<br>
      ago 29 12:47:52 palimsesto-GA-MA770-UD3 dbus[943]: [system]
      Activating via syste<br>
      ago 29 12:48:17 palimsesto-GA-MA770-UD3 dbus[943]: [system] Failed
      to activate s<br>
      ago 29 12:55:51 palimsesto-GA-MA770-UD3 sudo[20686]: palimsesto :
      TTY=pts/1 ; PW<br>
      ago 29 12:55:51 palimsesto-GA-MA770-UD3 sudo[20686]:
      pam_unix(sudo:session): ses<br>
      lines 1544-1566/1566 (END)<br>
      ago 29 12:39:02 palimsesto-GA-MA770-UD3 CRON[20120]:
      pam_unix(cron:session): session closed for user root<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 dbus[943]: [system]
      Activating via systemd: service name='org.bluez' un<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 dbus[943]: [system]
      Activating via systemd: service name='org.freedeskt<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 systemd[1]: Starting
      Hostname Service...<br>
      -- Subject: Unit systemd-hostnamed.service has begun start-up<br>
      -- Defined-By: systemd<br>
      -- Support:
      <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
      -- <br>
      -- Unit systemd-hostnamed.service has begun starting up.<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 dbus[943]: [system]
      Successfully activated service 'org.freedesktop.hos<br>
      ago 29 12:46:52 palimsesto-GA-MA770-UD3 systemd[1]: Started
      Hostname Service.<br>
      -- Subject: Unit systemd-hostnamed.service has finished start-up<br>
      -- Defined-By: systemd<br>
      -- Support:
      <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
      -- <br>
      -- Unit systemd-hostnamed.service has finished starting up.<br>
      -- <br>
      -- The start-up result is done.<br>
      ago 29 12:47:17 palimsesto-GA-MA770-UD3 dbus[943]: [system] Failed
      to activate service 'org.bluez': timed out<br>
      ago 29 12:47:52 palimsesto-GA-MA770-UD3 dbus[943]: [system]
      Activating via systemd: service name='org.bluez' un<br>
      ago 29 12:48:17 palimsesto-GA-MA770-UD3 dbus[943]: [system] Failed
      to activate service 'org.bluez': timed out<br>
      ago 29 12:55:51 palimsesto-GA-MA770-UD3 sudo[20686]: palimsesto :
      TTY=pts/1 ; PWD=/home/palimsesto ; USER=root <br>
      ago 29 12:55:51 palimsesto-GA-MA770-UD3 sudo[20686]:
      pam_unix(sudo:session): session opened for user root by (u<br>
      ~<br>
      ~<br>
      <br>
      <span class="moz-smiley-s8"><span>=-O</span></span><br>
      -----<br>
      <br>
      <br>
      El 29/08/17 a les 12:49, Miki ha escrit:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKMHKe=h1_QcNAFm69oMHWUzNWrYUoHC4Tp+-Kr_rZCv4HSh7Q@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div> See "systemctl status apache2.service" and "journalctl
            -xe" for details.<br>
            <br>
          </div>
          què diuen ?<br>
        </div>
        sudo systemctl status apache2.service<br>
        sudo journalctl -xe<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">El dia 29 d’agost de 2017 a les 12:39,
          Joan Carles <span dir="ltr"><<a
              href="mailto:palimsesto@gmail.com" target="_blank"
              moz-do-not-send="true">palimsesto@gmail.com</a>></span>
          ha escrit:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div class="m_-7706149617691930728moz-cite-prefix">El
                29/08/17 a les 12:20, Miki ha escrit:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div>
                    <div>Te pinta que et falti habilitar el modul
                      d'apache del php<br>
                    </div>
                    <div><br>
                    </div>
                    <div>sudo a2enmod php7.0<br>
                      <br>
                    </div>
                    *php7.0 o la versió que sigui...</div>
                  <div><br>
                  </div>
                  <div>sudo systemctl restart apache2<br>
                  </div>
                </div>
              </blockquote>
              <br>
              Hola!<br>
              Doncs ho faig però:....<br>
              <br>
              palimsesto@palimsesto-GA-<wbr>MA770-UD3:~$ sudo sudo
              a2enmod php7.0<br>
              [sudo] contrasenya per a palimsesto: <br>
              Considering conflict php5 for php7.0:<br>
              Enabling module php7.0.<br>
              To activate the new configuration, you need to run:<br>
                service apache2 restart<br>
              palimsesto@palimsesto-GA-<wbr>MA770-UD3:~$ service apache2
              restart<br>
              Failed to restart apache2.service: La connexió ha expirat<br>
              See system logs and 'systemctl status apache2.service' for
              details.<br>
              palimsesto@palimsesto-GA-<wbr>MA770-UD3:~$ sudo systemctl
              restart apache2<br>
              Job for apache2.service failed because the control process
              exited with error code. See "systemctl status
              apache2.service" and "journalctl -xe" for details.<br>
              palimsesto@palimsesto-GA-<wbr>MA770-UD3:~$ <br>
              <br>
              -- <span class="HOEnZb"><font color="#888888">
                  <pre class="m_-7706149617691930728moz-signature" cols="72">Salutacions,

Joan Carles
Usuari GNU/Linux #324197#
<a class="m_-7706149617691930728moz-txt-link-freetext" href="http://counter.li.org/" target="_blank" moz-do-not-send="true">http://counter.li.org/</a>

</pre>
                </font></span></div>
            <br>
            --<br>
            Ubuntu-cat mailing list<br>
            <a href="mailto:Ubuntu-cat@lists.ubuntu.com"
              moz-do-not-send="true">Ubuntu-cat@lists.ubuntu.com</a><br>
            Modify settings or unsubscribe at: <a
              href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-cat"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.ubuntu.com/<wbr>mailman/listinfo/ubuntu-cat</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Salutacions,

Joan Carles
Usuari GNU/Linux #324197#
<a class="moz-txt-link-freetext" href="http://counter.li.org/">http://counter.li.org/</a>

</pre>
  </body>
</html>