Skip to content

nginx start failed #2

@Steffeng5

Description

@Steffeng5

Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable nginx
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
Install completed, check the README for next steps

&

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-09-14 16:14:47 CEST; 3min 18s ago
Docs: man:nginx(8)
Process: 43263 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Sep 14 16:14:47 v22018091752373710 systemd[1]: Starting A high performance web server and a reverse proxy server...
Sep 14 16:14:47 v22018091752373710 nginx[43263]: nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
Sep 14 16:14:47 v22018091752373710 nginx[43263]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 14 16:14:47 v22018091752373710 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Sep 14 16:14:47 v22018091752373710 systemd[1]: nginx.service: Failed with result 'exit-code'.
Sep 14 16:14:47 v22018091752373710 systemd[1]: Failed to start A high performance web server and a reverse proxy server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions