<div dir="auto">It seems that you have a typo in the file /etc/apache2/apache2.conf near line 74. Fix that and probably the other errors will vanish!</div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 3, 2017 7:39 AM, Andrés Chandía &lt;<a href="mailto:andres@chandia.net">andres@chandia.net</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks, finally I&#39;m getting some logs:<br><br>[Fri Mar 03 11:34:41.061210 2017]
[core:warn] [pid 2111] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined<br>[Fri
Mar 03 11:34:41.061282 2017] [core:warn] [pid 2111] AH00111: Config variable
${APACHE_PID_FILE} is not defined<br>[Fri Mar 03 11:34:41.061298 2017] [core:warn] [pid
2111] AH00111: Config variable ${APACHE_RUN_USER} is not defined<br>[Fri Mar 03
11:34:41.061303 2017] [core:warn] [pid 2111] AH00111: Config variable ${APACHE_RUN_GROUP} is
not defined<br>[Fri Mar 03 11:34:41.061313 2017] [core:warn] [pid 2111] AH00111: Config
variable ${APACHE_LOG_DIR} is not defined<br>[Fri Mar 03 11:34:41.070952 2017] [core:warn]
[pid 2111] AH00111: Config variable ${APACHE_LOG_DIR} is not defined<br>AH00526: Syntax
error on line 74 of /etc/apache2/apache2.conf:<br>Invalid Mutex directory in argument
file:${APACHE_LOCK_DIR}<br><br><br>El Vie, 3 de Marzo de 2017, 11:15, mallah
escribió:<br> 
<div class="m_5942959315704335384bodyclass">
<div>Have you tried starting apache2 binary  from cmdline by specifying the path of main
configuration file.</div>
<div><br></div>
<div>Check apache2 -h </div>
<div><br></div>
<div>Also check netstat -lnp output if there is something bound to the same port (possibly 80
)</div>
<div><br></div>
<div><br></div>
<div><br></div>
<div id="m_5942959315704335384composer_signature">
<div style="font-size:85%;color:#575757" dir="auto">Sent from my Samsung Galaxy smartphone.</div>
</div>
<div><br></div>
<div style="font-size:100%;color:#000000">
<div>-------- Original message --------</div>
<div>From: Andrés Chandía  </div>
<div>Date: 3/3/17  12:05  (GMT+05:30) </div>
<div>To: The elegant MVC web framework  </div>
<div>Subject: Re: [Catalyst] Change of server </div>
<div><br></div>
</div>
Thanks for your concern, I have tried that also:<br><br>systemctl status apache2<br><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.<wbr>service.d<br>          
└─apache2-systemd.conf<br>   Active: failed (Result:
exit-code) since Fri 2017-03-03 07:31:59 CET; 4s ago<br>     Docs:
man:systemd-sysv-generator(8)<br>  Process: 1187 ExecStart=/etc/init.d/apache2 start
(code=exited, status=1/FAILURE)<br><br>Mar 03 07:27:02 iac apache2[1187]: |
/results/stats_query/...            | /results/stats_query                 |<br>Mar 03
07:27:02 iac apache2[1187]: | /results/stats_results/...          | /results/stats_results    
          |<br>Mar 03 07:27:02 iac apache2[1187]:
&#39;-----------------------------<wbr>--------+---------------------<wbr>-----------------&#39;<br>Mar 03
07:27:02 iac apache2[1187]: [info] IAC powered by Catalyst 5.90103<br>Mar 03 07:31:59 iac
apache2[1187]:  *<br>Mar 03 07:31:59 iac apache2[1187]:  * The apache2 instance did not
start within 20 seconds. Please read the log file<br>Mar 03 07:31:59 iac systemd[1]:
apache2.service: Control process exited, code=exited status=1<br>Mar 03 07:31:59 iac
systemd[1]: Failed to start LSB: Apache2 web server.<br>Mar 03 07:31:59 iac systemd[1]:
apache2.service: Unit entered failed state.<br>Mar 03 07:31:59 iac systemd[1]:
apache2.service: Failed with result &#39;exit-code&#39;.<br><br>tail -f /var/log/apache2/error.log
says nothing<br><br>tail -f /var/log/apache2/local.iac.<wbr>error.log says nothing<br><br>tail -f /var/log/syslog <br>Mar  3 07:33:43 iac apache2[1466]: | /results/stats_query/... 
          | /results/stats_query                 |<br>Mar  3 07:33:43 iac apache2[1466]: |
/results/stats_results/...          | /results/stats_results               |<br>Mar  3
07:33:43 iac apache2[1466]:
&#39;-----------------------------<wbr>--------+---------------------<wbr>-----------------&#39;<br>Mar  3
07:33:43 iac apache2[1466]: [info] IAC powered by Catalyst 5.90103<br>Mar  3 07:34:03 iac
apache2[1466]:  *<br>Mar  3 07:34:03 iac apache2[1466]:  * The apache2 instance did not
start within 20 seconds. Please read the log files to discover problems<br>Mar  3 07:34:03
iac systemd[1]: apache2.service: Control process exited, code=exited status=1<br>Mar  3
07:34:03 iac systemd[1]: Failed to start LSB: Apache2 web server.<br>Mar  3 07:34:03 iac
systemd[1]: apache2.service: Unit entered failed state.<br>Mar  3 07:34:03 iac systemd[1]:
apache2.service: Failed with result &#39;exit-code&#39;.<br><br><br><br>El Vie, 3 de Marzo de
2017, 6:33, mallah escribió:<br>
<div class="m_5942959315704335384bodyclass">
<div><br></div>
<div><br></div>
<div>The real error message is somewhere try</div>
<div><br></div>
<div>systemctl status apache2</div>
<div><br></div>
<div>To find the error messages or tail the error </div>
<div>Logs. </div>
<div><br></div>
<div>Regds</div>
<div>Mallah</div>
<div><br></div>
<div><br></div>
<div><br></div>
<div id="m_5942959315704335384composer_signature">
<div style="font-size:85%;color:#575757" dir="auto">Sent from my Samsung Galaxy smartphone.</div>
</div>
<div><br></div>
<div style="font-size:100%;color:#000000">
<div>-------- Original message --------</div>
<div>From: Andrés Chandía  </div>
<div>Date: 3/3/17  10:32  (GMT+05:30) </div>
<div>To: <a href="mailto:catalyst@lists.scsys.co.uk" target="_blank">catalyst@lists.scsys.co.uk</a> </div>
<div>Subject: [Catalyst] Change of server </div>
<div><br></div>
</div>
Hi there, I had a Catalyst application working on a debian 7 perl 5.14 apache 2.4, but I had
to change it to a new server working with ubuntu 16.04 perl 5.22 apache 2.4.18.<br><br>I
did all the installation in the same way I did it for the old debian but the apache server is
not starting, and at the logs a get nothing but:<br><br>Mar 03 05:32:29 iac systemd[1]:
apache2.service: Control process exited, code=exited status=1<br>Mar 03 05:32:29 iac
systemd[1]: Failed to start LSB: Apache2 web server.<br>Mar 03 05:32:29 iac systemd[1]:
apache2.service: Unit entered failed state.<br>Mar 03 05:32:29 iac systemd[1]:
apache2.service: Failed with result &#39;exit-code&#39;.<br><br>the apache config at the old
server, wich I change accordingly, was:<br><br><br> <code>         </code>       
PerlSwitches -I /mnt/vmdata/iac/web/lib<br>        PerlModule IAC<br><br>    ServerAdmin
<a href="mailto:andres@chandia.net" target="_blank">andres@chandia.net</a><br>    ServerName <a href="http://iac.upf.edu" target="_blank">iac.upf.edu</a><br>    ServerAlias <a href="http://iac.upf.edu" target="_blank">iac.upf.edu</a><br>   
DocumentRoot /mnt/vmdata/iac/web/root<br>
<u></u>
<u></u><br>    use lib qw( /mnt/vmdata/iac/web/lib );<br>    <u></u>
<br><u></u>
<br>        <u></u><u></u><br>                SetHandler          modperl<br>     
          PerlResponseHandler IAC<br>        <u></u><br>    <br>        SetHandler
none<br>    <br>    Alias /iac/stats_tasks/
&quot;/mnt/vmdata/iac/iac_data/<wbr>stats-tasks&quot;<br>        <br>                SetHandler
none<br>                Order allow,deny<br>                Allow from all<br>    <br>
       Alias /iac/txt_output/ &quot;/mnt/vmdata/iac/iac_data/txt_<wbr>output&quot;<br>        <br>                SetHandler none<br>                Order allow,deny<br>               
Allow from all<br>    <br>        CustomLog /var/log/apache2/iac.access.<wbr>log combined<br>
       ErrorLog /var/log/apache2/iac.error.log<br><br><br>Any suggestion on what to look
for or utimately how to solve this?<br><br>thanks a lot.<br><br><br>_______________________<br>             andrés
chandía<br><a href="http://www.chandia.net" title="Este enlace
externo se abrirá en una nueva ventana" target="_blank"><img src="http://../images/sec_remove_es_ES.png" alt="chandia.net" id="m_59429593157043353841488519085719" border="0"></a><a href="https://twitter.com/andreschandia" title="Este enlace externo se abrirá en una nueva
ventana" target="_blank"><img src="http://../images/sec_remove_es_ES.png" alt="" id="m_59429593157043353841488519085720" width="20" height="20"></a><br><a href="http://chandia.net/content/nmt" title="Este enlace
externo se abrirá en una nueva ventana" target="_blank">NMT</a> | <a href="http://chandia.net/content/dungupeyem" title="Este enlace externo se abrirá en una nueva
ventana" target="_blank">Dungupeyem</a> | <a href="http://corlexim.cl" title="Este enlace
externo se abrirá en una nueva ventana" target="_blank">Corlexim</a><br><br>administrador
de:<br><a href="http://parles.upf.edu" title="Este enlace externo se abrirá en una nueva
ventana" target="_blank">Parles.upf</a> | <a href="http://amindterapia.com" title="Este enlace
externo se abrirá en una nueva ventana" target="_blank">Amind terapia</a> | <a href="http://koyaktumapuche.net" title="Este enlace externo se abrirá en una nueva ventana" target="_blank">Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" title="Este enlace externo se abrirá en una nueva ventana" target="_blank">Nocando</a> |<br>mail: <a href="http://mail.corporacionkoyaktu.net" title="Este enlace externo se abrirá en
una nueva ventana" target="_blank">ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" title="Este enlace externo se abrirá en una nueva ventana" target="_blank">Psicoaching</a> |<br><span style="font-size:18pt;color:rgb(79,98,40);font-family:Webdings">P</span> <span style="font-size:10pt;color:rgb(79,98,40)">No
imprima innecesariamente. Ã‚¡Cuide el medio
ambiente!</span><u></u></div>
<br><br><br>_______________________<br>             andrés
chandía<br><a href="http://www.chandia.net" title="Este enlace
externo se abrirá en una nueva ventana" target="_blank"><img src="http://../images/sec_remove_es_ES.png" alt="chandia.net" id="m_59429593157043353841488535962306" border="0"></a><a href="https://twitter.com/andreschandia" title="Este enlace externo se abrirá
en una nueva ventana" target="_blank"><img src="http://../images/sec_remove_es_ES.png" alt="" id="m_59429593157043353841488535962306" width="20" height="20"></a><br><a href="http://chandia.net/content/nmt" title="Este enlace
externo se abrirá en una nueva ventana" target="_blank">NMT</a> | <a href="http://chandia.net/content/dungupeyem" title="Este enlace externo se abrirá en una nueva
ventana" target="_blank">Dungupeyem</a> | <a href="http://corlexim.cl" title="Este enlace
externo se abrirá en una nueva ventana" target="_blank">Corlexim</a><br><br>administrador
de:<br><a href="http://parles.upf.edu" title="Este enlace externo se abrirá
en una nueva ventana" target="_blank">Parles.upf</a> | <a href="http://amindterapia.com" title="Este enlace externo se abrirá en una nueva ventana" target="_blank">Amind terapia</a> | <a href="http://koyaktumapuche.net" title="Este enlace externo se abrirá en una
nueva ventana" target="_blank">Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" title="Este enlace externo se abrirá en una nueva ventana" target="_blank">Nocando</a> |<br>mail: <a href="http://mail.corporacionkoyaktu.net" title="Este enlace
externo se abrirá en una nueva ventana" target="_blank">ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" title="Este enlace externo se abrirá en una
nueva ventana" target="_blank">Psicoaching</a> |<br><span style="font-size:18pt;color:rgb(79,98,40);font-family:Webdings">P</span> <span style="font-size:10pt;color:rgb(79,98,40)">No
imprima innecesariamente. Â¡Cuide el medio ambiente!</span></div>
 <br><br><br>_______________________<br>
            andrés
chandía<br><a href="http://www.chandia.net" target="_blank"><img src="http://mail.chandia.net/images/chandia_net.png" alt="chandia.net" border="0"></a><a href="https://twitter.com/andreschandia" target="_blank"><img src="http://mail.chandia.net/images/ico_tw.png" width="20" height="20" alt=""></a><br><a href="http://chandia.net/content/nmt" title="Unificador ortogràfico de mapudungun" target="_blank">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" title="Analizador y generador mofológico de
mapudungun" target="_blank">Dungupeyem</a> | <a href="http://corlexim.cl" title="Corpus lexicográfico de
mapudungun" target="_blank">Corlexim</a><br><br>administrador de:<br><a href="http://parles.upf.edu" target="_blank">Parles.upf</a> | <a href="http://amindterapia.com" target="_blank">Amind
terapia</a> | <a href="http://koyaktumapuche.net" target="_blank">Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" target="_blank">Nocando</a> |<br>mail: <a href="http://mail.corporacionkoyaktu.net" target="_blank">ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" target="_blank">Psicoaching</a> |<br><span style="font-size:18pt;color:rgb(79,98,40);font-family:Webdings">P</span> <span style="font-size:10pt;color:rgb(79,98,40)">No imprima innecesariamente. ¡Cuide el medio ambiente!</span><br>______________________________<wbr>_________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-<wbr>bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/<wbr>catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>
<br></blockquote></div></div>