{"id":6120,"date":"2021-12-14T20:47:00","date_gmt":"2021-12-14T11:47:00","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=6120"},"modified":"2021-12-13T22:19:49","modified_gmt":"2021-12-13T13:19:49","slug":"post-6120","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2021\/12\/14\/post-6120\/","title":{"rendered":"\u65b0\u3057\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fUbuntu\u3067Nginx\u304c\u8d77\u52d5\u3057\u306a\u3044"},"content":{"rendered":"\n<p>\u65b0\u3057\u304fUbuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001Nginx\u3084PHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002Nginx\u3092\u8d77\u52d5\u3055\u305b\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u30a8\u30e9\u30fc\u3067\u8d77\u52d5\u305b\u305a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>zen@dev:\/etc\/nginx\/sites-available$ sudo service nginx start\nJob for nginx.service failed because the control process exited with error code.\nSee \"systemctl status nginx.service\" and \"journalctl -xe\" for details.\nzen@dev:\/etc\/nginx\/sites-available$\nzen@dev:\/etc\/nginx\/sites-available$ sudo systemctl status nginx.service\n\u25cf nginx.service - A high performance web server and a reverse proxy server\n     Loaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; vendor preset:>\n     Active: failed (Result: exit-code) since Wed 2021-11-17 16:13:11 JST; 2min>\n       Docs: man:nginx(8)\n    Process: 294747 ExecStartPre=\/usr\/sbin\/nginx -t -q -g daemon on; master_pro>\n    Process: 294758 ExecStart=\/usr\/sbin\/nginx -g daemon on; master_process on; >\nNov 17 16:13:08 dev systemd&#91;1]: Starting A high performance web serve>\nNov 17 16:13:08 dev nginx&#91;294758]: nginx: &#91;emerg] bind() to 0.0.0.0:8>\nNov 17 16:13:09 dev nginx&#91;294758]: nginx: &#91;emerg] bind() to 0.0.0.0:8>\nNov 17 16:13:09 dev nginx&#91;294758]: nginx: &#91;emerg] bind() to 0.0.0.0:8>\nNov 17 16:13:10 dev nginx&#91;294758]: nginx: &#91;emerg] bind() to 0.0.0.0:8>\nNov 17 16:13:10 dev nginx&#91;294758]: nginx: &#91;emerg] bind() to 0.0.0.0:8>\nNov 17 16:13:11 dev nginx&#91;294758]: nginx: &#91;emerg] still could not bin>\nNov 17 16:13:11 dev systemd&#91;1]: nginx.service: Control process exited>\nNov 17 16:13:11 dev systemd&#91;1]: nginx.service: Failed with result 'ex>\nNov 17 16:13:11 dev systemd&#91;1]: Failed to start A high performance we>\nzen@dev:\/etc\/nginx\/sites-available$<\/code><\/pre>\n\n\n\n<p>\u30a8\u30e9\u30fc\u3092\u898b\u308b\u3068\u3001\u30dd\u30fc\u30c8\u306e\u30d0\u30a4\u30f3\u30c9\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u3002\u3082\u3057\u3084\u3068\u601d\u3063\u3066\u8abf\u3079\u308b\u3068\u3001Apache\u304c\u3044\u3066\u3001\u30dd\u30fc\u30c880\u3067\u8d77\u52d5\u3057\u3066\u3044\u305f\u3002Apache\u3092\u7d42\u4e86\u3055\u305b\u308b\u3068\u3001\u7121\u4e8b\u306bNginx\u3092\u8d77\u52d5\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u3002<\/p>\n\n\n\n<p>apt\u3067\u3044\u308d\u3044\u308d\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u3068\u3001\u3044\u3064\u306e\u307e\u306b\u304bapache \u304c\u3044\u3066\u90aa\u9b54\u3092\u3059\u308b\u3002\u521d\u6b69\u7684\u306a\u30df\u30b9\u3060\u3051\u3069\u3001\u3088\u304f\u3084\u3089\u304b\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u3057\u304fUbuntu\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001Nginx\u3084PHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002Nginx\u3092\u8d77\u52d5\u3055\u305b\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u30a8\u30e9\u30fc\u3067\u8d77\u52d5\u305b\u305a\u3002 \u30a8\u30e9\u30fc\u3092\u898b\u308b\u3068\u3001\u30dd\u30fc\u30c8\u306e\u30d0\u30a4\u30f3\u30c9\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u3002\u3082\u3057\u3084\u3068\u601d\u3063\u3066\u8abf\u3079\u308b\u3068\u3001Apache\u304c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,36],"tags":[155,110],"class_list":["post-6120","post","type-post","status-publish","format-standard","hentry","category-diary","category-linux","tag-nginx","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=6120"}],"version-history":[{"count":2,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6120\/revisions"}],"predecessor-version":[{"id":6186,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6120\/revisions\/6186"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=6120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=6120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=6120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}