{"id":220,"date":"2006-11-05T23:03:02","date_gmt":"2006-11-05T23:03:02","guid":{"rendered":"http:\/\/dhoytt.com\/mainblog\/2006\/11\/05\/mt-333-plugins-disappearing-fi\/"},"modified":"2006-11-05T23:03:02","modified_gmt":"2006-11-05T23:03:02","slug":"mt-333-plugins-disappearing-fi","status":"publish","type":"post","link":"http:\/\/dhoytt.com\/mainblog\/2006\/11\/mt-333-plugins-disappearing-fi\/","title":{"rendered":"MT 3.33 PlugIns Disappearing Fixed Moving on&#8230;"},"content":{"rendered":"<p>Looks like I found the culprit that caused my PlugIns to disappear on my MT 3.33 installation. Turns out it was my old friend SELinux!<br \/>\nThis had crossed my mind before but the fact that it was working at one point and then just ceased working caused me to dismiss SELinux as an issue. Maybe something was updated in the upgrade process that Fedora uses and altered the SELinux policy after the upgrades were installed. I&#8217;m using Fedora 6 on this new system which I&#8217;m still configuring Movabletype and other applications on before making this system my new web host.<br \/>\nI&#8217;m very surprised I have not ran into this issue on my current MT 3.2 installation.<br \/>\nI cannot take credit for the fix though seems that Sixapart advised the fix a while ago to a user who ran into this with Fedora 4 MT 3.2.<br \/>\nI found the following fix via a Google search on the user&#8217;s Sixapart  blog they recommended the fix to who was giving details of his upgrade from MT 2.66 to MT 3.2.<br \/>\nHere are the contents of what I found and it worked for me:<br \/>\n####################################################################################<br \/>\nDo you have SELinux enabled on this server? You can run &#8220;system-config-authentication&#8221; as root to verify that this is enabled. The settings of SELinux are what caused the PlugIns to not be seen by Movable Type.<br \/>\nIn this file: \/etc\/selinux\/targeted\/contexts\/files\/file_contexts<br \/>\nthere is this rule:<br \/>\n\/var\/www\/cgi-bin(\/.*)? system_u:object_r:httpd_sys_script_exec_t<br \/>\nThat rule basically means that the \/var\/www\/cgi-bin directory (and all subdirectories) have a &#8220;httpd_sys_script_exec_t&#8221; context. Meaning that CGI scripts can execute from this location.<br \/>\nIn the case of the \/var\/www\/cgi-bin\/mt\/PlugIns directory, each Plugin directory (and the \/var\/www\/cgi-bin\/mt\/PlugIns folder itself) should have a context type of httpd_sys_script_ro_t. This allows read-only file access to the directory and files and also execute permission.<br \/>\nTo adjust the context for the PlugIns folder, use this command:<br \/>\nchcon -R -t httpd_sys_script_ro_t \/path\/to\/mt\/PlugIns<br \/>\n####################################################################################<br \/>\nNow I&#8217;m continuing to go ahead configuring this new web server for testing and then roll-out!<br \/>\nI also posted this to Sixapart forums: http:\/\/forums.sixapart.com\/index.php?showtopic=59878<br \/>\nI also just completed pointing this system to my other WAN static ip.adress on my other router, pointing my Apache web server to the second NIC I just installed a couple of days ago and I&#8217;m ready to resume configuring Movabletype to move the content over to this system. I also had to rebuild my blog pages and edit my styles CSS file to point to the proper ip.address I&#8217;m using for testing purposes.<br \/>\nWhy do things like this get fixed late at night give you some energy to start configuring more until you hit a new issue and then you end up with very little sleep?<br \/>\nWell this time I&#8217;m going to go to bed like I should&#8230;&#8230;.. but let me do a few more things first&#8230;..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looks like I found the culprit that caused my PlugIns to disappear on my MT 3.33 installation. Turns out it was my old friend SELinux! This had crossed my mind before but the fact that it was working at one &hellip; <a href=\"http:\/\/dhoytt.com\/mainblog\/2006\/11\/mt-333-plugins-disappearing-fi\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-220","post","type-post","status-publish","format-standard","hentry","category-whole-site-development"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/posts\/220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/comments?post=220"}],"version-history":[{"count":0,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/posts\/220\/revisions"}],"wp:attachment":[{"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/media?parent=220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/categories?post=220"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dhoytt.com\/mainblog\/wp-json\/wp\/v2\/tags?post=220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}