Nginx服务无法启动原因:start-limit-hit'

时间:2018-11-18 10:49:31

标签: ubuntu nginx server systemd

我在Nginx上使用ubuntu 16.04。 (php 7.0 + 7.2)

我的nginx服务失败,这是系统日志:

 Nov 18 06:25:25 FrankFurt2 systemd[1]: Stopping A high performance web server and a reverse proxy server...
Nov 18 06:25:25 FrankFurt2 systemd[1]: Stopped A high performance web server and a reverse proxy server.
Nov 18 06:25:25 FrankFurt2 systemd[1]: Starting A high performance web server and a reverse proxy server...
Nov 18 06:25:25 FrankFurt2 nginx[25560]: nginx: [warn] conflicting server name "spabruxelles.be" on 138.68.76.49:80, ignored
Nov 18 06:25:25 FrankFurt2 nginx[25560]: nginx: [warn] conflicting server name "www.spabruxelles.be" on 138.68.76.49:80, ignored
Nov 18 06:25:25 FrankFurt2 nginx[25566]: nginx: [warn] conflicting server name "spabruxelles.be" on 138.68.76.49:80, ignored
Nov 18 06:25:25 FrankFurt2 nginx[25566]: nginx: [warn] conflicting server name "www.spabruxelles.be" on 138.68.76.49:80, ignored
Nov 18 06:25:25 FrankFurt2 systemd[1]: Started A high performance web server and a reverse proxy server.
Nov 18 06:25:25 FrankFurt2 systemd[1]: Stopping A high performance web server and a reverse proxy server...
Nov 18 06:25:25 FrankFurt2 systemd[1]: Stopped A high performance web server and a reverse proxy server.
Nov 18 06:25:25 FrankFurt2 systemd[1]: nginx.service: Start request repeated too quickly.
Nov 18 06:25:25 FrankFurt2 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Nov 18 06:25:25 FrankFurt2 systemd[1]: nginx.service: Unit entered failed state.
Nov 18 06:25:25 FrankFurt2 systemd[1]: nginx.service: Failed with result 'start-limit-hit'.

我不确定应该更改哪些文件以及在哪里。 目前,该服务器上有7个域。

有什么建议吗?

1 个答案:

答案 0 :(得分:0)

start-limit-hit 是一条 systemd 消息,与实际问题无关。


相关的日志行是:

headers = {'user-agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0)Gecko/20100101 Firefox/60.', 'pragma': 'no-cache', 'connection': 'keep-alive', 'cache-control': 'no-cache', 'referer': 'https://mcloud.to/embed/@9@4ZS04Z10SWOE5?ui=pwxi4Kjr6%40wHmIqHcrl0yeFfpYqUUIW1wCKlJr6x'}

requests.get('https://cdn.mcloud.to/stream/sf:i0:q2:h2:p24:l1/WjLDZuCBHmtyv63lT-RoVQ/1542603600/g/c/0/rj0m0m/hls/480/480-0000.ts', headers=headers)

这些服务器名称很可能在您的配置中重复。