<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I am running Debian Lenny, 64b server, 3.8.9 RT and everything seemed to install fine. I noticed this error after trying to get external auth working.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>“We opened /dev/null to protect FD #1, but descriptor #1 is already occupied at /opt/rt3/bin/webmux.pl line 78. (/opt/rt3/bin/webmux.pl:78)”<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I get that error on every failed login. I have since removed my external auth settings to try and resolve it and can’t get it to go away. I can login with root just fine.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My second problem (if the above is a non-issue or can be resolved) is getting external auth loaded. It didn’t seem to load. I installed it via cpan, changed my settings in /opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm. I then added a require line in /opt/rt3/etc/RT_SiteConfig.pm, along with adding it to the set plugin line. Restarted apache and I can login as root and look at the config and it shows the plugin loaded, it doesn’t seem to be called though. A failed login doesn’t mention anything about calling it or being a failed ldap login. I run tcpdump alongside and it isn’t querying my ldap server at all. Help is appreciated. Here is my RT_SiteConfig.pm, let me know if you need anything else:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Set( $rtname, 'server.name.com');<o:p></o:p></p><p class=MsoNormal>Set($Organization, 'name.com');<o:p></o:p></p><p class=MsoNormal>Set($CorrespondAddress , 'esworkorder@name.com');<o:p></o:p></p><p class=MsoNormal>Set($CommentAddress , 'escomment@name.com');<o:p></o:p></p><p class=MsoNormal>Set($Timezone, "EST"); # obviously choose what suits you<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Set($DatabaseUser , 'rt123');<o:p></o:p></p><p class=MsoNormal>Set($DatabasePassword , 'rt123');<o:p></o:p></p><p class=MsoNormal>Set($DatabaseName , 'cdc124asv_rt123'); # Ensure this is set to rt3!<o:p></o:p></p><p class=MsoNormal>Set($DatabaseHost, 'mysql.name.com');<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Set($WebPath , "/rt");<o:p></o:p></p><p class=MsoNormal>Set($WebBaseURL , "<a href="http://server.name.com">http://server.name.com</a>");<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>require "/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm";<o:p></o:p></p><p class=MsoNormal>Set(@Plugins, (qw(RT::Extension::MobileUI RT::Extension::LDAPImport RT::Authen::ExternalAuth)));<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>#Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));<o:p></o:p></p><p class=MsoNormal>Set($LDAPHost,'dc.name.com');<o:p></o:p></p><p class=MsoNormal>Set($LDAPUser, 'ldapuser);<o:p></o:p></p><p class=MsoNormal>Set($LDAPPassword, 'ldappass');<o:p></o:p></p><p class=MsoNormal>Set($LDAPBase, 'OU=departments,dc=domain,dc=name,dc=com');<o:p></o:p></p><p class=MsoNormal>Set($LDAPFilter, '(&(objectClass=user)(objectClass=*))');<o:p></o:p></p><p class=MsoNormal>Set($LDAPMapping, {Name => 'sAMAccountName',<o:p></o:p></p><p class=MsoNormal> EmailAddress => 'mail',<o:p></o:p></p><p class=MsoNormal> RealName => 'cn',<o:p></o:p></p><p class=MsoNormal> MobilePhone => 'mobile',<o:p></o:p></p><p class=MsoNormal> WorkPhone => 'telephoneNumber',<o:p></o:p></p><p class=MsoNormal> Organization => 'department',<o:p></o:p></p><p class=MsoNormal> FreeformContactInfo => 'title'});<o:p></o:p></p><p class=MsoNormal>Set($LDAPUpdateUsers,1);<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>1;<o:p></o:p></p></div></body></html>