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 c
(1) disabling local.iac.conf brings apache2 to a listening state
(2) enabling local.iac.conf brings apache2 to dysfunctional state.
try to narrow down whats wrong with local.iac.conf
using a binary search approach between (1) and (2)
hope u got the approach. :-)
regds
mallah.
>
>
> root@ia
root@iac:/home/andres# a2dissite local.iac.conf (the configuration with
Catalyst)
Site
local.iac disabled.
To activate the new configuration, you need to run:
Â
service apache2 reload
root@iac:/home/andres# /etc/init.d/apache2 restart
[ ok ]
Restarting apache2 (via systemctl): apache2.service.
Did the basic Apache config with the 'Hello world' work? That is, without
all the perl configs?
2017-03-03 12:38 GMT-03:00 "Andrés Chandía" :
> Unfortunately not,
> root@iac:/home/andres# netstat -lnp
> Active Internet
> connections (only servers)
> Proto Recv-Q Send-Q Local Address
Unfortunately not,
root@iac:/home/andres# netstat -lnp
Active Internet
connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp0 0 127.0.0.1:3306 0.0.0.0:*
LISTEN 1148/mysqld
tcp
I assume the command keeps running in that state and
while it is doing so , can you check if apache2 listening
on configured port (80) and if it is so does , is it serving
the app in expected manner ?
regds
mallah.
___
List: Catalyst@lists.scsy
I modified a little bit your command, I put the semicolon at the end and now
there is no
error message:
root@iac:/home/andres# ( . /etc/apache2/envvars &&
apache2 -f /etc/apache2/apache2.conf -e Debug -X ; )
[Fri Mar 03 15:02:48.333291
2017] [so:debug] [pid 16801] mod_so.c(266): AH01575
any idea why the error below ?
-e: command not found
___
List: Catalyst@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:
Already done, it made no difference thanks
Its not typo , the reason is that the env variable ${APACHE_LOCK_DIR} is not
set , .
/etc/apache2/envvars takes care of that part.
___
            andrés
chandÃa
NMT |
Dungupeyem | Corlexim
administrador
Dear Andres ,
in my systemd based system it is possible to start apache2 from root
prompt like below:
# ( . /etc/apache2/envvars && apache2 -f /etc/apache2/apache2.conf
-e Debug -X )
and it does spits out the messages to terminal. After stopping the apache2
using systemctl try to start
pecifying the
>> path
>> of main configuration file.
>>
>> Check apache2 -h
>>
>> Also check netstat -lnp output if there is something bound to the same
>> port (possibly 80 )
>>
>>
>>
>> Sent from my Samsung Galaxy smartphone.
&
Dear Andres ,
in my systemd based system it is possible to start apache2 from root
prompt like below:
# ( . /etc/apache2/envvars && apache2 -f /etc/apache2/apache2.conf
-e Debug -X )
and it does spits out the messages to terminal. After stopping the
apache2 using systemctl try to start
he elegant MVC web framework
Subject: Re: [Catalyst] Change of server
Thanks for your concern, I have tried that also:
systemctl status apache2
apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad;
vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.serv
>
> Original message
> From: Andrés ChandÃa
> Date: 3/3/17 12:05 (GMT+05:30)
> To: The elegant MVC web framework
> Subject: Re: [Catalyst] Change of server
>
> Thanks for your concern, I have tried that also:
>
> systemctl status apache2
>
> ap
phone.
Original message
From: Andrés ChandÃÂa
Date: 3/3/17 12:05 (GMT+05:30)
To: The elegant MVC web framework
Subject: Re: [Catalyst] Change of server
Thanks for your concern, I have tried that also:
systemctl status apache2
apache2.service - LSB: Apache2 web server
L
: Andrés Chandía
Date: 3/3/17 12:05 (GMT+05:30) To: The elegant MVC web framework
Subject: Re: [Catalyst] Change of server
Thanks for your concern, I have tried that also:
systemctl status apache2
apache2.service - LSB: Apache2 web server
Loaded: loaded
(/etc/init.d/apache2; bad; vendor
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local
Address          Foreign
Address       Â
State      PID/Program name
tcp       0     0
127.0.0.1:3306Â Â Â Â Â Â Â Â Â
0.0.0.0:*Â Â Â Â Â Â Â Â Â Â Â Â Â Â
LISTENÂ Â Â Â Â 1134/mysqldÂ
On Fri, Mar 3, 2017 at 7:35 AM, "Andrés Chandía" wrote:
> Thanks for your concern, I have tried that also:
>
> systemctl status apache2
>
> apache2.service - LSB: Apache2 web server
>Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
> Drop-In: /lib/systemd/system/apache2.se
somewhere try
systemctl status apache2
To find the error messages or tail the error
Logs.
Regds
Mallah
Sent from my Samsung Galaxy smartphone.
Original message
From: Andrés ChandÃÂa
Date: 3/3/17 10:32 (GMT+05:30)
To: catalyst@lists.scsys.co.uk
Subject:
Subject:
[Catalyst] Change of server
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
 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 t
21 matches
Mail list logo