<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><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="composer_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"><!-- originalMessage --><div>-------- Original message --------</div><div>From: Andrés Chandía <andres@chandia.net> </div><div>Date: 3/3/17 12:05 (GMT+05:30) </div><div>To: The elegant MVC web framework <catalyst@lists.scsys.co.uk> </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.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]:
'-------------------------------------+--------------------------------------'<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.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]:
'-------------------------------------+--------------------------------------'<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> <!-- begin
sanitized html -->
<div class="bodyclass">
<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="composer_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: catalyst@lists.scsys.co.uk </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
andres@chandia.net<br> ServerName iac.upf.edu<br> ServerAlias iac.upf.edu<br>
DocumentRoot /mnt/vmdata/iac/web/root<br>
<perl>
<perl><br> use lib qw( /mnt/vmdata/iac/web/lib );<br> </perl>
<br></perl>
<br> <location><location><br> SetHandler modperl<br>
PerlResponseHandler IAC<br> </location><br> <br> SetHandler
none<br> <br> Alias /iac/stats_tasks/
"/mnt/vmdata/iac/iac_data/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_output"<br> <br> SetHandler none<br> Order allow,deny<br>
Allow from all<br> <br> CustomLog /var/log/apache2/iac.access.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" target="_blank" title="Este enlace externo se abrirá en una
nueva ventana"><img src="../images/sec_remove_es_ES.png" alt="chandia.net" id="1488519085719" 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="" id="1488519085720" 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></location></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" id="1488535962306"></a><a href="https://twitter.com/andreschandia" target="_blank"><img src="http://mail.chandia.net/images/ico_tw.png" width="20" height="20" alt="" id="1488535962306"></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></body></html>