Friday, 26 April 2024

Errors in Nginx

1. sudo systemctl restart nginx Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details

=> fix:

$ sudo fuser -k 80/tcp
- this command kills processes that are currently using port 80
$ sudo fuser -k 443/tcp
- this command kills processes that are currently using port 443
$ sudo service nginx restart

Thank you.

No comments:

Post a Comment

Publish npm package

  Để publish   pav-kit  lên NPM, bạn hãy làm theo các bước dưới đây. Tôi đã tạo thêm file  index.js  để đảm bảo gói tin hợp lệ. Bước 1: Tạo ...