• Nginx không chạy

  • Thông báo lỗi bạn gặp và mọi người giúp fix.

Thông báo lỗi bạn gặp và mọi người giúp fix.
 #2425  by khongngu
 27 Sep 2018 15:43
Sau khi mình update vpssim và update nginx ở menu 26 thì nó báo lỗi sau

[root@domain ~]# systemctl status nginx.service
● nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2018-09-27 15:17:21 +07; 1min 52s ago
Docs: http://nginx.org/en/docs/
Process: 1604 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

Sep 27 15:17:21 domain systemd[1]: Starting nginx - high performance web server...
Sep 27 15:17:21 domain nginx[1604]: nginx: [emerg] module "/etc/nginx/modules/ngx_http_geoip_module.so" version 1012002 ins....conf:1
Sep 27 15:17:21 domain systemd[1]: nginx.service: control process exited, code=exited status=1
Sep 27 15:17:21 domain systemd[1]: Failed to start nginx - high performance web server.
Sep 27 15:17:21 domain systemd[1]: Unit nginx.service entered failed state.
Sep 27 15:17:21 domain systemd[1]: nginx.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

Mình dùng lệnh nginx-t để kiểm tra thì báo
# nginx -t
nginx: [emerg] module "/etc/nginx/modules/ngx_http_geoip_module.so" version 1012002 instead of 1014000 in /etc/nginx/nginx.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
Get 25 USD Free To USE VPSSIM
Get 25 USD Free To USE VPSSIM