{"id":3621,"date":"2010-11-25T15:44:12","date_gmt":"2010-11-25T07:44:12","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/176\/2010\/11\/25\/server-%e5%9f%b7%e8%a1%8c%e9%80%9f%e5%ba%a6%e8%ae%8a%e5%be%88%e6%85%a2\/"},"modified":"2010-11-25T15:44:12","modified_gmt":"2010-11-25T07:44:12","slug":"server-%e5%9f%b7%e8%a1%8c%e9%80%9f%e5%ba%a6%e8%ae%8a%e5%be%88%e6%85%a2","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/linkc\/2010\/11\/25\/server-%e5%9f%b7%e8%a1%8c%e9%80%9f%e5%ba%a6%e8%ae%8a%e5%be%88%e6%85%a2\/","title":{"rendered":"Server \u57f7\u884c\u901f\u5ea6\u8b8a\u5f88\u6162"},"content":{"rendered":"<p>\n&nbsp;\u4eca\u5929\u65e9\u4e0a\u767c\u73fe\u5b78\u6821server&nbsp; \u57f7\u884c\u901f\u5ea6\u8b8a\u597d\u6162\uff0c\u4f7f\u7528ssh\u767b\u5165\uff0c\u4e0b\u500b\u6307\u4ee4\u8981\u7b49\u8a31\u4e45\u624d\u6709\u56de\u61c9\uff0c\u521d\u6b21\u5224\u65b7\u7591\u662f\u786c\u789f\u6eff\u4e86\uff0c\u4f46\uff0c\u4e0b\u4e86 &quot;df -h&quot; \u6307\u4ee4\u67e5\u4e86\u5bb9\u91cf\uff0c\u5bb9\u91cf\u5c1a\u6709\u7a7a\u9593\u3002\u63a5\u4e0b\u4f86\u5c31\u4f9d\u4ee5\u4e0b\u6b65\u9a5f\u4f86\u8655\u7406:\n<\/p>\n<p>\n\u4e00\u3001\u67e5\u5c0b\u90a3\u500bservice \u5360\u7528\u4e86\u8cc7\u6e90\u3002\n<\/p>\n<p>\n#top&nbsp;\n<\/p>\n<p>\n&nbsp; \u767c\u73fe\u662fapache service \u7570\u5e38\u3002\n<\/p>\n<p>\n\u4e8c\u3001\u91cd\u65b0\u555f\u7528apache.\n<\/p>\n<p>\n# \/etc\/init.d\/httpd restart\n<\/p>\n<p>\n&nbsp;&nbsp; \u7d50\u679c:\u7121\u6cd5\u555f\u7528httpd\u3002\u51fa\u73fe\u4ee5\u4e0b\u932f\u8aa4\u8a0a\u606f:\n<\/p>\n<blockquote>\n<p>\n\t<span style=\"color: #ff0000\">&nbsp;\u6b63\u5728\u555f\u52d5 httpd: (98)Address already in use: make_sock: could not bind to address [::]:80<br \/>\n\t(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80<br \/>\n\tno listening sockets available, shutting down<br \/>\n\tUnable to open logs<\/span>\n\t<\/p>\n<p>\n\t\u89e3\u6c7a\u65b9\u6cd5:\n\t<\/p>\n<p>\n\t#ps -aux |grep httpd\n\t<\/p>\n<p>\n\t&nbsp;&nbsp; \u51fa\u73fe\u300capache&nbsp;&nbsp; 30396&nbsp; 0.0&nbsp; 0.0&nbsp;&nbsp; 2056&nbsp;&nbsp; 784 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ss&nbsp;&nbsp; Nov15&nbsp;&nbsp; 0:03 .\/httpd\u300d\u8a0a\u606f\u3002\n\t<\/p>\n<p>\n\t#kill -9 30396\n\t<\/p>\n<p>\n\t&nbsp; &nbsp; \u5f37\u5236\u505c\u6b62 .httpd\u7a0b\u5e8f\u3002\n\t<\/p>\n<p>\n\t#\/etc\/init.d\/httpd start\n\t<\/p>\n<\/blockquote>\n<p>\n\u4e09\u3001\u67e5\u8a62 log\n<\/p>\n<p>\n# vim \/var\/log\/httpd\/error_log\n<\/p>\n<p>\n\u90e8\u4efd\u5167\u5bb9\u5982\u4e0b:\n<\/p>\n<blockquote>\n<p>\n\t<span style=\"color: #ff0000\">&nbsp;6129 [Thu Nov 25 10:53:32 2010] [error] [client 140.111.80.75] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6130 [Thu Nov 25 10:54:05 2010] [error] [client 140.111.80.37] File does<br \/>\n\tnot exist:<br \/>\n\t\/var\/www\/html\/wordpress\/xe5x9cx96xe6xaax94xe5x90x8d, referer:<br \/>\n\thttp:\/\/140.111.80.1\/wordpress\/<br \/>\n\t6131 [Thu Nov 25 10:54:10 2010] [error] [client 140.111.80.37] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6132 [Thu Nov 25 10:54:11 2010] [error] [client 140.111.80.37] File does<br \/>\n\tnot exist:<br \/>\n\t\/var\/www\/html\/wordpress\/xe5x9cx96xe6xaax94xe5x90x8d, referer:<br \/>\n\thttp:\/\/140.111.80.1\/wordpress\/<br \/>\n\t6133 [Thu Nov 25 10:54:13 2010] [error] [client 140.111.80.37] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6134 [Thu Nov 25 10:54:14 2010] [error] [client 140.111.80.70] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6135 [Thu Nov 25 10:54:15 2010] [error] [client 140.111.125.150] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6136 [Thu Nov 25 10:54:15 2010] [error] [client 140.111.125.150] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6137 [Thu Nov 25 10:54:16 2010] [error] [client 140.111.125.150] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6138 [Thu Nov 25 10:54:16 2010] [error] [client 140.111.125.150] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6139 [Thu Nov 25 10:54:16 2010] [error] [client 140.111.125.150]<br \/>\n\tDirectory index forbidden by Options directive:<br \/>\n\t\/var\/www\/html\/school\/data\/web\/, referer:<br \/>\n\thttp:\/\/140.111.80.1\/school\/web\/index.php<br \/>\n\t6140 [Thu Nov 25 10:54:16 2010] [error] [client 140.111.125.150] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6141 [Thu Nov 25 10:54:27 2010] [error] [client 140.111.80.75] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6142 [Thu Nov 25 10:54:33 2010] [error] [client 124.115.10.193] File does not exist: \/var\/www\/html\/moodle154<br \/>\n\t6143 [Thu Nov 25 10:54:35 2010] [error] [client 140.111.125.150] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6144 [Thu Nov 25 10:54:35 2010] [error] [client 140.111.125.150]<br \/>\n\tDirectory index forbidden by Options directive:<br \/>\n\t\/var\/www\/html\/school\/data\/album\/, referer:<br \/>\n\thttp:\/\/140.111.80.1\/school\/album\/index.php<br \/>\n\t6145 [Thu Nov 25 10:54:35 2010] [error] [client 140.111.125.150] File<br \/>\n\tdoes not exist: \/var\/www\/html\/school\/album\/data, referer:<br \/>\n\thttp:\/\/140.111.80.1\/school\/album\/index.php<br \/>\n\t6146 [Thu Nov 25 10:54:35 2010] [error] [client 140.111.125.150] File does not exist: \/var\/www\/html\/favicon.ico<br \/>\n\t6147 [Thu Nov 25 10:54:38 2010] [error] [client 140.111.125.150]<br \/>\n\tDirectory index forbidden by Options directive:<br \/>\n\t\/var\/www\/html\/school\/data\/album\/, referer:<br \/>\n\thttp:\/\/140.111.80.1\/school\/album\/index_album.p&nbsp;&nbsp;&nbsp;&nbsp;<br \/>\n\thp?prgid=3&amp;parentid=2414&amp;selpage=1&amp;selwork=<br \/>\n\t6148 [Thu Nov 25 10:54:39 2010] [error] [client 140.111.125.150] File<br \/>\n\tdoes not exist: \/var\/www\/html\/school\/album\/data, referer:<br \/>\n\thttp:\/\/140.111.80.1\/school\/album\/index_album.php?prgid=3&#038;parentid=2414&#038;sel&nbsp;&nbsp;&nbsp;&nbsp;<br \/>\n\tpage=1&amp;selwork=<br \/>\n\t6149 [Thu Nov 25 10:54:39 2010] [error] [client 140.111.125.150] File does not exist: \/var\/www\/html\/favicon.ico<\/span>\n\t<\/p>\n<p>\n\t\u767c\u73fe\u591a\u8655\u932f\u8aa4\u8a0a\u606f\u5448\u73fe\u300c <span style=\"color: #ff0000\">File does not exist: \/var\/www\/html\/favicon.ico<span style=\"color: #000000\">\u300d\u627e\u4e0d\u5230favicon.ico.<\/span><\/span>\n\t<\/p>\n<\/blockquote>\n<p>\n\u56db\u3001\u81ea\u88fdfavicon.ico\u6a94\uff0c\u4e26\u4e0a\u50b3\u81f3website \u6839\u76ee\u9304\u3002\n<\/p>\n<p>\n\u81ea\u88fdfavicon.ico \u7db2\u5740\uff0chttp:\/\/www.favicon.cc\/\n<\/p>\n<p>\nfavicon.ico \u8aaa\u660e\u6587\u4ef6:http:\/\/blog.miniasp.com\/post\/2007\/12\/17\/Introduce-faviconico-and-important-concept.aspx\n<\/p>\n<p>\n\u4e94\u3001\u8655\u7406\u5b8c\u6210\u3002\u554f\u984c\u66ab\u6642\u89e3\u6c7a\uff0c\u518d\u89c0\u5bdf\u8a72server\uff0c\u662f\u5426\u6703\u518d\u6709\u5176\u4ed6\u554f\u984c\u3002\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;\u4eca\u5929\u65e9\u4e0a\u767c\u73fe\u5b78\u6821server&nbsp; \u57f7\u884c\u901f\u5ea6\u8b8a\u597d\u6162\uff0c\u4f7f\u7528ssh\u767b\u5165\uff0c\u4e0b\u500b\u6307\u4ee4\u8981\u7b49\u8a31\u4e45\u624d\u6709\u56de\u61c9 [&hellip;]<\/p>\n","protected":false},"author":58,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[53],"tags":[],"class_list":["post-3621","post","type-post","status-publish","format-standard","hentry","category-c-449","entry"],"meta_key":{"lt_post_id":["131180"],"_oembed_dcfcb3de992257b894d7efdfeb55ff37":["{{unknown}}"],"_oembed_3510d1062d773f9b216b2db01fd72bc6":["{{unknown}}"],"_oembed_52d38c89d9f104e5b04f66d578537b73":["{{unknown}}"],"_oembed_a3bcd4b04d51342c14ad1f54f2468937":["{{unknown}}"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/posts\/3621"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/comments?post=3621"}],"version-history":[{"count":0,"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/posts\/3621\/revisions"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/media?parent=3621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/categories?post=3621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/linkc\/wp-json\/wp\/v2\/tags?post=3621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}