sayem314 / Caddy-Web-Server-Installer

Script to manage Caddy web server
MIT License
210 stars 86 forks source link

CentOS7 start failed #14

Closed jeasonstudio closed 7 years ago

jeasonstudio commented 7 years ago
# caddy start
  Starting Caddy Web Server...Redirecting to /bin/systemctl start  caddy.service
Job for caddy.service failed because start of the service was attempted too often. See "systemctl status caddy.service" and "journalctl -xe" for details.
To force a start use "systemctl reset-failed caddy.service" followed by "systemctl start caddy.service" again.
  [DONE]

  Caddy Web Server is NOT running.

Why?

jeasonstudio commented 7 years ago
# systemctl reset-failed caddy.service

and

# caddy start

Start success!!

jeasonstudio commented 7 years ago

Start success, but it can just keep 10s, and then NOT RUNNING. whats wrong?

sayem314 commented 7 years ago

I will soon check that on CentOS.