설치 후 에러가 난다
[root@cobot php-7.1.7]# service nginx start Starting nginx (via systemctl): Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. [FAILED]
journalctl -xn 명령으로 점검해 보았다.
[root@cobot php-7.1.7]# journalctl -xn -- Logs begin at Tue 2017-07-25 13:45:30 UTC, end at Fri 2017-07-28 06:47:57 UTC. -- Jul 28 06:47:51 cobot sshd[10669]: Disconnecting: Change of username or service not allowed: (super,ssh-connection) Jul 28 06:47:57 cobot polkitd[305]: Registered Authentication Agent for unix-process:10692:23414729 (system bus nam Jul 28 06:47:57 cobot systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 pr -- Subject: Unit nginx.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit nginx.service has begun starting up. Jul 28 06:47:57 cobot nginx[10698]: /etc/rc.d/init.d/nginx: line 19: syntax error near unexpected token `;&' Jul 28 06:47:57 cobot nginx[10698]: /etc/rc.d/init.d/nginx: line 19: `[ "$NETWORKING" = "no" ] && exit 0' Jul 28 06:47:57 cobot systemd[1]: nginx.service: control process exited, code=exited status=2 Jul 28 06:47:57 cobot systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/ -- Subject: Unit nginx.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit nginx.service has failed. -- -- The result is failed. Jul 28 06:47:57 cobot systemd[1]: Unit nginx.service entered failed state. Jul 28 06:47:57 cobot systemd[1]: nginx.service failed. Jul 28 06:47:57 cobot polkitd[305]: Unregistered Authentication Agent for unix-process:10692:23414729 (system bus n
ㅋㅋ syntax error 에러다. 인터넷소스 붙여넣기 할때 특수문자가 잘못 들어간 것 같다.
'IT > OS·Server' 카테고리의 다른 글
애플, 맥용 신형 운영체제 '하이 시에라' 설치 (0) | 2017.09.30 |
---|---|
CentOS 리눅스 서버 시간 설정 및 타임존 변경 (0) | 2017.09.01 |
MacOS 맥에 설치된 도커(Docker) 삭제하기 (0) | 2017.08.20 |
리눅스 CentOS - 메이븐(Maven) 설치 및 설정 (0) | 2017.08.17 |
리눅스 CentOS - Git 설치 및 Bitbucket 설정 (0) | 2017.08.16 |