[Catalyst] Change of server

Hartmaier Alexander alexander.hartmaier at t-systems.at
Mon Mar 6 14:45:17 GMT 2017


Don't use mod_perl!

Look at https://metacpan.org/pod/distribution/Catalyst-Manual/lib/Catalyst/Manual/Deployment/Apache/FastCGI.pod

Best regards, Alex

On 2017-03-03 06:02, "Andrés Chandía" wrote:
 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.

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:

Mar 03 05:32:29 iac systemd[1]: apache2.service: Control process exited, code=exited status=1
Mar 03 05:32:29 iac systemd[1]: Failed to start LSB: Apache2 web server.
Mar 03 05:32:29 iac systemd[1]: apache2.service: Unit entered failed state.
Mar 03 05:32:29 iac systemd[1]: apache2.service: Failed with result 'exit-code'.

the apache config at the old server, wich I change accordingly, was:


PerlSwitches -I /mnt/vmdata/iac/web/lib
PerlModule IAC
<VirtualHost *:80>
ServerAdmin andres at chandia.net<mailto:andres at chandia.net>
ServerName iac.upf.edu
ServerAlias iac.upf.edu
DocumentRoot /mnt/vmdata/iac/web/root
<Perl>
use lib qw( /mnt/vmdata/iac/web/lib );

</Perl>
<Location />
SetHandler modperl
PerlResponseHandler IAC
</Location>
<Location "/static">
SetHandler none
</Location>
Alias /iac/stats_tasks/ "/mnt/vmdata/iac/iac_data/stats-tasks"
<Location "/iac/stats_tasks/">
SetHandler none
Order allow,deny
Allow from all
</Location>
Alias /iac/txt_output/ "/mnt/vmdata/iac/iac_data/txt_output"
<Location "/iac/txt_output/">
SetHandler none
Order allow,deny
Allow from all
</Location>
CustomLog /var/log/apache2/iac.access.log combined
ErrorLog /var/log/apache2/iac.error.log
</VirtualHost>

Any suggestion on what to look for or utimately how to solve this?

thanks a lot.


_______________________
            andrés chandía
[chandia.net]<http://www.chandia.net>[http://mail.chandia.net/images/ico_tw.png]<https://twitter.com/andreschandia>
NMT<http://chandia.net/content/nmt> | Dungupeyem<http://chandia.net/content/dungupeyem> | Corlexim<http://corlexim.cl>

administrador de:
Parles.upf<http://parles.upf.edu> | Amind terapia<http://amindterapia.com> | Mapuche koyaktu<http://koyaktumapuche.net> | Nocando<http://parles.upf.edu/llocs/nocando> |
mail: ONG Mapuche koyaktu<http://mail.corporacionkoyaktu.net> | Psicoaching<http://mail.psicoaching.net> |
P No imprima innecesariamente. ¡Cuide el medio ambiente!


_______________________________________________
List: Catalyst at lists.scsys.co.uk<mailto:Catalyst at lists.scsys.co.uk>
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/




*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/catalyst/attachments/20170306/16f8a570/attachment.htm>


More information about the Catalyst mailing list