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.
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 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):
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
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.
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
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Â
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.service.d
         Â
ââapache2-systemd.conf
 Â
 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