• This topic is empty.
Viewing 3 reply threads
  • Author
    Posts
    • #1532 Reply
      ivan
      Guest

      hi,
      i am trying to install nginx on a clean ubuntu 22.04 distribution but i get the following error:

      `
      sudo apt install nginx-full
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      Suggested packages:
      nginx-doc
      The following NEW packages will be installed:
      nginx-full
      0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      1 not fully installed or removed.
      Need to get 0 B/35.1 kB of archives.
      After this operation, 47.1 kB of additional disk space will be used.
      Selecting previously unselected package nginx-full.
      (Reading database … 102523 files and directories currently installed.)
      Preparing to unpack …/nginx-full_1.23.1-3myguard42~jammy_all.deb …
      Unpacking nginx-full (1.23.1-3myguard42~jammy) …
      Setting up nginx-core (1.23.1-3myguard42~jammy) …
      Job for nginx.service failed because the control process exited with error code.
      See “systemctl status nginx.service” and “journalctl -xeu nginx.service” for details.
      invoke-rc.d: initscript nginx, action “start” failed.
      × 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 Fri 2022-09-23 14:33:29 CEST; 7ms ago
      Docs: man:nginx(8)
      Process: 2856 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
      CPU: 26ms

      Sep 23 14:33:29 vmi1019973.contaboserver.net systemd[1]: Starting A high performance web server and a reverse proxy server…
      Sep 23 14:33:29 vmi1019973.contaboserver.net nginx[2856]: nginx: [emerg] dlopen() “/usr/share/nginx/modules/ngx_http_ssl_ct_module.so” failed (/usr/share/nginx/modules/ngx_http_ssl_ct_module.so: undefined symbol: ngx_ssl_ct_create_srv_conf) in /etc/nginx/modules-enabled/50-mod-http-ssl-ct.conf:1
      Sep 23 14:33:29 vmi1019973.contaboserver.net nginx[2856]: nginx: configuration file /etc/nginx/nginx.conf test failed
      Sep 23 14:33:29 vmi1019973.contaboserver.net systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
      Sep 23 14:33:29 vmi1019973.contaboserver.net systemd[1]: nginx.service: Failed with result ‘exit-code’.
      Sep 23 14:33:29 vmi1019973.contaboserver.net systemd[1]: Failed to start A high performance web server and a reverse proxy server.
      dpkg: error processing package nginx-core (–configure):
      installed nginx-core package post-installation script subprocess returned error exit status 1
      dpkg: dependency problems prevent configuration of nginx-full:
      nginx-full depends on nginx-core (>= 1.23.1-3myguard42~jammy); however:
      Package nginx-core is not configured yet.
      nginx-full depends on nginx-core (<< 1.23.1-3myguard42~jammy.1~); however:
      Package nginx-core is not configured yet.

      dpkg: error processing package nginx-full (–configure):
      dependency problems – leaving unconfigured
      Errors were encountered while processing:
      nginx-core
      nginx-full
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      `

    • #1533 Reply
      ivan
      Guest

      nginx -t
      nginx: [emerg] dlopen() “/usr/share/nginx/modules/ngx_http_ssl_ct_module.so” failed (/usr/share/nginx/modules/ngx_http_ssl_ct_module.so: undefined symbol: ngx_ssl_ct_create_srv_conf) in /etc/nginx/modules-enabled/50-mod-http-ssl-ct.conf:1
      nginx: configuration file /etc/nginx/nginx.conf test failed

    • #1535 Reply
      ivan
      Guest

      I momentarily solved it like this:

      $ ls | grep ct
      50-mod-http-ssl-ct.conf
      50-mod-ssl-ct.conf
      50-mod-stream-ssl-ct.conf

      $ mv *-ct.conf ../modules-available/
      sudo service nginx reload

      nginx -t
      nginx: [warn] could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size
      nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
      nginx: configuration file /etc/nginx/nginx.conf test is successful

    • #1536 Reply
      Thijs Eilander
      Guest

      You need to load mod_ssl_ct before mod_http_ssl_ct

      Something like this:

      root@b8ab3399ba7b:/etc/nginx/modules-enabled# ls *ssl*
      10-mod-ssl-ct.conf 50-mod-http-ssl-ct.conf

      root@b8ab3399ba7b:/etc/nginx/modules-enabled# nginx -t
      nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
      nginx: configuration file /etc/nginx/nginx.conf test is successful

Viewing 3 reply threads
Reply To: Reply #1536 in nginx: [emerg] dlopen() “/usr/share/nginx/modules/ngx_http_ssl_ct_module.so”
Your information:




Cancel