
Recibí el siguiente error:
Processing triggers for ureadahead (0.100.0-21) ...
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename
Seguí esta guía: https://wp-rocket.me/blog/redis-object-caching/
Pero luego ocurrió este error: sudo echo "extension=redis.so" > /etc/php/7.x/apache2/conf.d/redis.ini -> Error: no existe tal archivo o directorio. Intenté abrir 7.4, 7.4.3 y 7.2, pero ninguno de ellos existió.
No entiendo por qué no existía 7.4.3. Sólo existía la carpeta 7.2, aunque ya instalé Php 7.4.3 a través de Plesk.
Después de esto intenté instalar 7.4.3 manualmente con la ayuda de esta guía: https://joshtronic.com/2013/06/18/installing-php-redis-a-php-extension-for-redis/ Acabo de cambiar la versión.
Después de eso, recibí el siguiente error al intentar reiniciar nginx a través de la terminal:
root@MyName-plesk-ubuntu:/etc/php# /etc/init.d/nginx restart
[....] Restarting nginx (via systemctl): nginx.serviceJob for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
failed!
Esta es la salida de nginx.service
root@MyName-plesk-ubuntu:~# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-03-23 08:29:07 UTC; 2h 17min ago
Docs: man:nginx(8)
Process: 18211 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Mar 23 08:29:07 MyName-plesk-ubuntu.local systemd[1]: Starting A high performance web server and a reverse proxy server...
Mar 23 08:29:07 MyName-plesk-ubuntu.local nginx[18211]: nginx: [warn] duplicate value "TLSv1" in /etc/nginx/conf.d/ssl.conf:1
Mar 23 08:29:07 MyName-plesk-ubuntu.local nginx[18211]: nginx: [warn] duplicate value "TLSv1.1" in /etc/nginx/conf.d/ssl.conf:1
Mar 23 08:29:07 MyName-plesk-ubuntu.local nginx[18211]: nginx: [warn] duplicate value "TLSv1.2" in /etc/nginx/conf.d/ssl.conf:1
Mar 23 08:29:07 MyName-plesk-ubuntu.local nginx[18211]: nginx: [emerg] "ssl_prefer_server_ciphers" directive is duplicate in /etc/nginx/conf.d/ssl.conf:3
Mar 23 08:29:07 MyName-plesk-ubuntu.local nginx[18211]: nginx: configuration file /etc/nginx/nginx.conf test failed
Mar 23 08:29:07 MyName-plesk-ubuntu.local systemd[1]: nginx.service: Control process exited, code=exited status=1
Mar 23 08:29:07 MyName-plesk-ubuntu.local systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 23 08:29:07 MyName-plesk-ubuntu.local systemd[1]: Failed to start A high performance web server and a reverse proxy server.
¿Necesito eliminar ese archivo duplicado o cambiarle el nombre? Soy nuevo en Linux, sería bueno si pudieras explicarlo muy detalladamente.
Gracias por tu tiempo.
Saludos cordiales, Chris