Well, I have not errors any more at the log file on this command:<br /><br />apache2 -k start
-E /var/log/apache2/showerror<br /><br />but server does not starts, nor even with <br /><br
/>service apache2 restart<br /><br />wich again says:<br /><br />Mar 03 12:04:23 iac
apache2[2798]: * The apache2 instance did not start within 20 seconds. Please read the
log files to discover problems<br />Mar 03 12:04:23 iac systemd[1]: apache2.service: Control
process exited, code=exited status=1<br />Mar 03 12:04:23 iac systemd[1]: Failed to start LSB:
Apache2 web server.<br />Mar 03 12:04:23 iac systemd[1]: apache2.service: Unit entered failed
state.<br />Mar 03 12:04:23 iac systemd[1]: apache2.service: Failed with result
'exit-code'.<br /><br /><br /># netstat -lnp<br />Active Internet connections (only
servers)<br />Proto Recv-Q Send-Q Local
Address Foreign
Address
State PID/Program name<br
/>tcp 0 0
127.0.0.1:3306
0.0.0.0:*
LISTEN 1134/mysqld <br
/>tcp 0 0
0.0.0.0:22
0.0.0.0:*
LISTEN 1112/sshd <br
/>tcp6 0 0
:::22
:::*
LISTEN 1112/sshd <br
/>Active UNIX domain sockets (only servers)<br />Proto RefCnt
Flags Type
State I-Node PID/Program
name Path<br />unix 2 [ ACC
] STREAM LISTENING
16795 1294/systemd
/run/user/1000/systemd/private<br />unix 2 [ ACC
] SEQPACKET LISTENING
9932
1/init
/run/udev/control<br />unix 2 [ ACC
] STREAM LISTENING
13272
1/init
/run/uuidd/request<br />unix 2 [ ACC
] STREAM LISTENING
13273
1/init
/run/snapd.socket<br />unix 2 [ ACC
] STREAM LISTENING
13274
1/init
/run/snapd-snap.socket<br />unix 2 [ ACC
] STREAM LISTENING
13269
1/init
/var/lib/lxd/unix.socket<br />unix 2 [ ACC
] STREAM LISTENING
13275
1/init
/run/acpid.socket<br />unix 2 [ ACC
] STREAM LISTENING
13276
1/init
/var/run/dbus/system_bus_socket<br />unix 2 [ ACC
] STREAM LISTENING
16619 1134/mysqld
/var/run/mysqld/mysqld.sock<br />unix 2 [ ACC
] STREAM LISTENING
9923
1/init
/run/systemd/private<br />unix 2 [ ACC
] STREAM LISTENING
9931
1/init
/run/systemd/fsck.progress<br />unix 2 [ ACC
] STREAM LISTENING
9933
1/init
/run/lvm/lvmpolld.socket<br />unix 2 [ ACC
] STREAM LISTENING
9942
1/init
/run/lvm/lvmetad.socket<br />unix 2 [ ACC
] STREAM LISTENING
9943
1/init
/run/systemd/journal/stdout<br />unix 2 [ ACC
] STREAM LISTENING
15299 1148/iscsid
@ISCSIADM_ABSTRACT_NAMESPACE<br /><br /><br /><br /><br />El Vie, 3 de Marzo de 2017, 11:53,
Hector Azpurua escribió:<br /> <!-- begin sanitized html -->
<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
andres@chandia.net> 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'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></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]:
'-----------------------------<wbr></wbr>--------+---------------------<wbr></wbr>-----------------'<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 'exit-code'.<br /><br />tail -f /var/log/apache2/error.log
says nothing<br /><br />tail -f /var/log/apache2/local.iac.<wbr></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]:
'-----------------------------<wbr></wbr>--------+---------------------<wbr></wbr>-----------------'<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 'exit-code'.<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" title="Este enlace
externo se abrirá en una nueva ventana">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 'exit-code'.<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" title="Este enlace externo se abrirá en
una nueva ventana">andres@chandia.net</a><br /> ServerName <a href="http://iac.upf.edu"
target="_blank" title="Este enlace externo se abrirá en una nueva ventana">iac.upf.edu</a><br
/> ServerAlias <a href="http://iac.upf.edu" target="_blank" title="Este enlace externo se
abrirá en una nueva ventana">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/
"/mnt/vmdata/iac/iac_data/<wbr></wbr>stats-tasks"<br /> <br />
SetHandler none<br /> Order allow,deny<br /> Allow from all<br
/> <br /> Alias /iac/txt_output/
"/mnt/vmdata/iac/iac_data/txt_<wbr></wbr>output"<br /> <br />
SetHandler none<br /> Order allow,deny<br /> Allow from all<br
/> <br /> CustomLog /var/log/apache2/iac.access.<wbr></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="../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="../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="../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="../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" title="Este enlace
externo se abrirá en una nueva ventana"><img src="../images/sec_remove_es_ES.png"
alt="chandia.net" border="0" /></a><a href="https://twitter.com/andreschandia" target="_blank"
title="Este enlace externo se abrirá en una nueva ventana"><img
src="../images/sec_remove_es_ES.png" alt="" 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"
target="_blank" title="Este enlace externo se abrirá en una nueva ventana">Parles.upf</a> | <a
href="http://amindterapia.com" target="_blank" title="Este enlace externo se abrirá en una
nueva ventana">Amind terapia</a> | <a href="http://koyaktumapuche.net" target="_blank"
title="Este enlace externo se abrirá en una nueva ventana">Mapuche koyaktu</a> | <a
href="http://parles.upf.edu/llocs/nocando" target="_blank" title="Este enlace externo se
abrirá en una nueva ventana">Nocando</a> |<br />mail: <a
href="http://mail.corporacionkoyaktu.net" target="_blank" title="Este enlace externo se abrirá
en una nueva ventana">ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net"
target="_blank" title="Este enlace externo se abrirá en una nueva ventana">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></wbr>_________________<br />
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank" title="Este enlace externo
se abrirá en una nueva ventana">Catalyst@lists.scsys.co.uk</a><br /> Listinfo: <a
href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer"
target="_blank" title="Este enlace externo se abrirá en una nueva
ventana">http://lists.scsys.co.uk/cgi-<wbr></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" title="Este enlace externo se abrirá en una nueva
ventana">http://www.mail-archive.com/<wbr></wbr>catalyst@lists.scsys.co.uk/</a><br />Dev site:
<a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank" title="Este enlace
externo se abrirá en una nueva ventana">http://dev.catalyst.perl.org/</a><br /> <br
/></blockquote></div>
</div>
<!-- end sanitized html --> <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">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" title="Analizador y generador mofológico de
mapudungun">Dungupeyem</a> | <a href="http://corlexim.cl" title="Corpus lexicográfico de
mapudungun">Corlexim</a><br /><br />administrador de:<br /><a
href="http://parles.upf.edu">Parles.upf</a> | <a href="http://amindterapia.com">Amind
terapia</a> | <a href="http://koyaktumapuche.net">Mapuche koyaktu</a> | <a
href="http://parles.upf.edu/llocs/nocando">Nocando</a> |<br />mail: <a
href="http://mail.corporacionkoyaktu.net">ONG Mapuche koyaktu</a> | <a
href="http://mail.psicoaching.net">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>