• Da' Hoytt's Home
  • Darryl Hoytt's Personal Blog
  • Snakeice's "House of Beats" Radio Blog
  • Da' Hoytt's Online Games Blog
  • Darryl's Sale Items
  • Da' Hoytt's Online Universe Forums
  • Photos
  • Hoytt Enterprises
Da' Hoytt's Online Universe
Da Hoytt's Online Universe consists of places were you can listen to music, play games, participate in discussion, view photos and buy merchandise.

Sign In

  • Darryl Hoytt's Personal Blog
  • About Darryl Hoytt's Personal Blog
  • Darryl Hoytt Personal Blog Contact

Search

Da' Hoytt's Online Universe > Darryl Hoytt's Personal Blog > MT 3.33 PlugIns Disappearing Fixed Moving on...

Darryl Hoytt's Personal Blog
Information about projects and some thoughts from me, Darryl Hoytt.

MT 3.33 PlugIns Disappearing Fixed Moving on...

By Darryl Hoytt on November 5, 2006 11:03 PM | 0 Comments | 0 TrackBacks

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 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'm using Fedora 6 on this new system which I'm still configuring Movabletype and other applications on before making this system my new web host.

I'm very surprised I have not ran into this issue on my current MT 3.2 installation.

I 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.

I found the following fix via a Google search on the user's Sixapart blog they recommended the fix to who was giving details of his upgrade from MT 2.66 to MT 3.2.

Here are the contents of what I found and it worked for me:
####################################################################################
Do you have SELinux enabled on this server? You can run "system-config-authentication" as root to verify that this is enabled. The settings of SELinux are what caused the PlugIns to not be seen by Movable Type.

In this file: /etc/selinux/targeted/contexts/files/file_contexts
there is this rule:
/var/www/cgi-bin(/.*)? system_u:object_r:httpd_sys_script_exec_t

That rule basically means that the /var/www/cgi-bin directory (and all subdirectories) have a "httpd_sys_script_exec_t" context. Meaning that CGI scripts can execute from this location.

In 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.

To adjust the context for the PlugIns folder, use this command:
chcon -R -t httpd_sys_script_ro_t /path/to/mt/PlugIns
####################################################################################
Now I'm continuing to go ahead configuring this new web server for testing and then roll-out!

I also posted this to Sixapart forums: http://forums.sixapart.com/index.php?showtopic=59878

I 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'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'm using for testing purposes.

Why 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?

Well this time I'm going to go to bed like I should........ but let me do a few more things first.....

Categories:

  • Whole Site Development

No TrackBacks

TrackBack URL: http://www.dhoytt.com/cgi-bin/mt/mt-tb.cgi/1054

Leave a comment

Categories

  • Food (13)
  • Health & Wellness (46)
  • Home Projects (21)
  • RandomThoughts (106)
  • Technical Non-Site Related (13)
  • Whole Site Development (48)

Monthly Archives

  • April 2010 (1)
  • March 2010 (2)
  • February 2010 (2)
  • December 2009 (4)
  • November 2009 (3)
  • October 2009 (4)
  • September 2009 (7)
  • August 2009 (2)
  • July 2009 (3)
  • January 2009 (1)
  • December 2008 (3)
  • June 2008 (1)
  • May 2008 (2)
  • April 2008 (2)
  • February 2008 (1)
  • January 2008 (1)
  • December 2007 (1)
  • August 2007 (4)
  • May 2007 (1)
  • March 2007 (1)
  • February 2007 (2)
  • January 2007 (4)
  • December 2006 (4)
  • November 2006 (2)
  • October 2006 (1)
  • September 2006 (1)
  • June 2006 (4)
  • April 2006 (4)
  • March 2006 (6)
  • February 2006 (10)
  • January 2006 (4)
  • December 2005 (1)
  • November 2005 (5)
  • October 2005 (1)
  • September 2005 (6)
  • August 2005 (1)
  • July 2005 (7)
  • June 2005 (1)
  • May 2005 (4)
  • April 2005 (4)
  • March 2005 (1)
  • February 2005 (5)
  • January 2005 (1)
  • December 2004 (4)
  • November 2004 (6)
  • October 2004 (4)
  • September 2004 (20)
  • August 2004 (31)
  • July 2004 (32)
  • June 2004 (28)
OpenID accepted here Learn more about OpenID
  • Subscribe to feed Subscribe to this blog's feed

About this Entry

This page contains a single entry by Darryl Hoytt published on November 5, 2006 11:03 PM.

Adding Second NIC on Linux System points out Wiring Snafu was the previous entry in this blog.

Web Site is Now Up on New System is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type Pro

Links

  • Home
This blog is licensed under a Creative Commons License.