Tôi đang trong quá trình thiết lập máy chủ mới. Máy chủ http do tôi chọn là NGINX. Tôi muốn thêm tên miền audi-freunde-einbeck.de
làm máy chủ ảo. Tôi đã có 2 tên miền khác trong đó và nó hoạt động tốt, nhưng khi tôi cố gắng thêm tên miền được đề cập ở trên và bắt đầu máy chủ, nó cho tôi Job failed. See system journal and 'systemctl status' for details.
Tôi nghĩ đó là do dấu gạch ngang, vì vậy tôi đã thử nhiều miền khác nhau và không có dấu gạch ngang, nhưng may mắn. Lỗi tương tự. Điều gì có thể gây ra điều này? Tôi cũng đã thử khởi động lại, tôi thực sự thua lỗ ở đây. Mọi sự trợ giúp sẽ rất được trân trọng.Nginx gặp lỗi với tên miền cụ thể
Tôi đã phát xung quanh một chút và phát hiện ra rằng, khi tôi chỉ đặt một miền vào, nó hoạt động. Nhưng khi tôi đặt một tên miền khác vào, nó dừng lại. Đây là đầu ra ở trạng thái:
[[email protected] nginx]# systemctl status nginx
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Sun, 16 Dec 2012 11:38:08 +0000; 7s ago
Process: 14239 ExecStop=/usr/sbin/nginx -g pid /run/nginx.pid; -s quit (code=exited, status=1/FAILURE)
Process: 14232 ExecStart=/usr/sbin/nginx -g pid /run/nginx.pid; daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 14242 ExecStartPre=/usr/sbin/nginx -t -q -g pid /run/nginx.pid; daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 14234 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/nginx.service
Dec 16 11:38:08 netzmelone nginx[14242]: nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
Dec 16 11:38:08 netzmelone nginx[14242]: nginx: configuration file /etc/nginx/nginx.conf test failed
Bạn đã xem bất kỳ nhật ký nào chưa? – willglynn
Tôi nên xem nhật ký nào? – oengelha