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
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:
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):
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
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
Thanks, It helps.
regds
Mallah.
> It's just a package and I have in make_schema_at.pl to apply the
> components
> that I want to use:
>
> make_schema_at(
> "My::Schema::${class_name}",
> {
> exclude => qr/_\d+$/,
> dump_directory=> "$Bin/../lib",
>
It's just a package and I have in make_schema_at.pl to apply the components
that I want to use:
make_schema_at(
"My::Schema::${class_name}",
{
exclude => qr/_\d+$/,
dump_directory=> "$Bin/../lib",
components=> [ '+My::TraitFor::Result::ForceNULL',
Thanks for that , it looks elegant .
Could you please send some pointer to docs for Traits
approach.
regds
mallah.
> Not sure if that's the best way to do it or if it's a good approach, but I
> have a trait which is applied to all result classes.
>
> TraitFor::Result::ForceNULL;
> use
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
Not sure if that's the best way to do it or if it's a good approach, but I
have a trait which is applied to all result classes.
TraitFor::Result::ForceNULL;
use strict;
use warnings;
my $null = undef;
sub insert
{
my $self = shift;
for my $col ($self->columns) {
next unless defined
Its not typo , the reason is that the env variable
${APACHE_LOCK_DIR} is not set ,
. /etc/apache2/envvars takes care of that part.
> 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!
>
> On Mar 3, 2017
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
Well, I have not errors any more at the log file on this command:
apache2 -k start
-E /var/log/apache2/showerror
but server does not starts, nor even with
service apache2 restart
wich again says:
Mar 03 12:04:23 iac
apache2[2798]:Â * The apache2 instance did not start within 20 seconds.
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!
On Mar 3, 2017 7:39 AM, Andrés Chandía wrote:
> Thanks, finally I'm getting some logs:
>
> [Fri Mar 03 11:34:41.061210 2017] [core:warn] [pid
Thanks, finally I'm getting some logs:
[Fri Mar 03 11:34:41.061210 2017]
[core:warn] [pid 2111] AH00111: Config variable ${APACHE_LOCK_DIR} is not
defined
[Fri
Mar 03 11:34:41.061282 2017] [core:warn] [pid 2111] AH00111: Config variable
${APACHE_PID_FILE} is not defined
[Fri Mar 03
Have you tried starting apache2 binary from cmdline by specifying 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.
Original message From:
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:
20 matches
Mail list logo