"고성능 웹 서버 및 역방향 프록시 서버를 시작하지 못했습니다."라는 메시지가 나타납니다. Redis 설치 후

"고성능 웹 서버 및 역방향 프록시 서버를 시작하지 못했습니다."라는 메시지가 나타납니다. Redis 설치 후

다음 오류가 발생했습니다.

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 

나는 이 가이드를 따랐습니다. https://wp-rocket.me/blog/redis-object-caching/

그런데 다음과 같은 오류가 발생했습니다. sudo echo "extension=redis.so" > /etc/php/7.x/apache2/conf.d/redis.ini -> 오류: 해당 파일이나 디렉터리가 없습니다. 7.4, 7.4.3 및 7.2를 열려고 했지만 그들 중 누구도 존재하지 않았습니다.

왜 7.4.3이 존재하지 않는지 이해할 수 없습니다. 이미 Plesk를 통해 Php 7.4.3을 설치했는데도 7.2 폴더만 존재했습니다.

그런 다음 이 가이드의 도움을 받아 7.4.3을 수동으로 설치하려고 했습니다. https://joshtronic.com/2013/06/18/installing-php-redis-a-php-extension-for-redis/ 방금 버전을 교환했습니다.

그 후 터미널을 통해 nginx를 다시 시작하는 동안 다음 오류가 발생했습니다.

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!

이것은 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.

이중 파일을 삭제하거나 이름을 바꿔야 합니까? 저는 리눅스를 처음 접하는데, 아주 자세하게 설명해 주시면 좋을 것 같습니다.

시간 내 줘서 고마워.

안부 인사, 크리스

관련 정보