<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You’ll need openssl-devel installed on CentOS.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Paul Root    - Senior Engineer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Managed Services Systems - CenturyLink<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> xymon-bounces@xymon.com [mailto:xymon-bounces@xymon.com]
<b>On Behalf Of </b>David AGBO<br>
<b>Sent:</b> Thursday, April 05, 2012 4:49 AM<br>
<b>To:</b> Jeremy Laidman<br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] [Xymon 4.3.7] bad imaps check<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OK, it's really weird...<br>
$XYMONHOME/server/xymonnet returns :<br>
<br>
On RHEL :<br>
<br>
xymonnet version 4.3.5<br>
SSL library : OpenSSL 0.9.8e-rhel5 01 Jul 2008<br>
LDAP library: OpenLDAP 20343<br>
<br>
On Centos x64 :<br>
<br>
xymonnet version 4.3.7<br>
LDAP library: OpenLDAP 20343<br>
<br>
But in the SPEC file I have :<br>
<br>
[...]<br>
%setup<br>
    USEXYMONPING=n \<br>
        ENABLESSL=y \<br>
        ENABLELDAP=y \<br>
        ENABLELDAPSSL=y \<br>
        XYMONUSER=xymon \<br>
[...]<br>
<br>
Le 05/04/2012 11:03, David AGBO a écrit : <o:p></o:p></p>
<p class="MsoNormal">Thanks for your answer.<br>
You're right, this is not IMAP-related, plus the test of HTTPS returns the following message :<br>
<br>
Bad Request<br>
<br>
Your browser sent a request that this server could not understand.<br>
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br>
Instead use the HTTPS scheme to access this URL, please.<br>
<br>
Hint: <a href="https://my_server">https://my_server</a><br>
<br>
Of course, that's what I'm trying...<br>
<br>
So it can be a problem at compile-time, like I said, the only difference is this RPM. But everything seems to be OK in the SPEC file.<br>
Here is the result of "ldd" :<br>
<br>
On RHEL :<br>
<br>
    linux-gate.so.1 =>  (0x00cc1000)<br>
    libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0x0014b000)<br>
    liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0x00110000)<br>
    libssl.so.6 => /lib/libssl.so.6 (0x00185000)<br>
    libcrypto.so.6 => /lib/libcrypto.so.6 (0x003d6000)<br>
    libpcre.so.0 => /lib/libpcre.so.0 (0x00918000)<br>
    librt.so.1 => /lib/librt.so.1 (0x00c51000)<br>
    libc.so.6 => /lib/libc.so.6 (0x00a62000)<br>
    libresolv.so.2 => /lib/libresolv.so.2 (0x00dc9000)<br>
    libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x0011e000)<br>
    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x001cd000)<br>
    libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00247000)<br>
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x00cab000)<br>
    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x001fb000)<br>
    libdl.so.2 => /lib/libdl.so.2 (0x00bbd000)<br>
    libz.so.1 => /usr/lib/libz.so.1 (0x00341000)<br>
    libpthread.so.0 => /lib/libpthread.so.0 (0x00a22000)<br>
    /lib/ld-linux.so.2 (0x00a43000)<br>
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x00c77000)<br>
    libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00cb5000)<br>
    libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00df1000)<br>
    libselinux.so.1 => /lib/libselinux.so.1 (0x00bc4000)<br>
    libsepol.so.1 => /lib/libsepol.so.1 (0x00bde000)<br>
<br>
On Centos x64 :<br>
<br>
    linux-vdso.so.1 =>  (0x00007fff62199000)<br>
    libldap-2.3.so.0 => /usr/lib64/libldap-2.3.so.0 (0x00000031cc400000)<br>
    liblber-2.3.so.0 => /usr/lib64/liblber-2.3.so.0 (0x00000031cbc00000)<br>
    libpcre.so.0 => /lib64/libpcre.so.0 (0x00000031cf800000)<br>
    librt.so.1 => /lib64/librt.so.1 (0x00007f529dd66000)<br>
    libc.so.6 => /lib64/libc.so.6 (0x00000031c9c00000)<br>
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00000031cd400000)<br>
    libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00000031ca400000)<br>
    libssl.so.6 => /lib64/libssl.so.6 (0x00000031cf000000)<br>
    libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00000031cc800000)<br>
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f529db49000)<br>
    /lib64/ld-linux-x86-64.so.2 (0x00000031c9800000)<br>
    libdl.so.2 => /lib64/libdl.so.2 (0x00000031ca000000)<br>
    libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00000031cb800000)<br>
    libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00000031cd000000)<br>
    libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00000031cdc00000)<br>
    libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00000031cd800000)<br>
    libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00000031ce800000)<br>
    libz.so.1 => /lib64/libz.so.1 (0x00000031cb400000)<br>
    libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00000031ce000000)<br>
    libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00000031ce400000)<br>
    libselinux.so.1 => /lib64/libselinux.so.1 (0x00000031cac00000)<br>
    libsepol.so.1 => /lib64/libsepol.so.1 (0x00000031ca800000)<br>
<br>
Best regards,<br>
David<br>
<br>
Le 05/04/2012 01:08, Jeremy Laidman a écrit : <o:p></o:p></p>
<pre>On Thu, Apr 5, 2012 at 2:42 AM, David AGBO <a href="mailto:dagbo@kernix.com"><dagbo@kernix.com></a> wrote:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt" id="Cite_0">
<pre>I have installed Xymon 4.3.7 on Centos 5.8 x64. Before that, I have<o:p></o:p></pre>
<pre>installed it on a RHEL 5.6, everything worked fine until I tried to check an<o:p></o:p></pre>
<pre>imaps server. The Xymon on RHEL is OK, and it grab the ssl certificate, but<o:p></o:p></pre>
<pre>on the Centos, it displays a yellow error, with the message "Service imaps<o:p></o:p></pre>
<pre>on my_server is not OK : Unexpected service response", and of course don't<o:p></o:p></pre>
</blockquote>
<pre>Can you try testing an https server and see if that behaves the same?<o:p></o:p></pre>
<pre>I suspect it's not IMAP-related and instead to do with linking against<o:p></o:p></pre>
<pre>SSL libraries at compile-time.  Perhaps run "ldd<o:p></o:p></pre>
<pre>$XYMONHOME/server/xymonnet" and see if there are difference between<o:p></o:p></pre>
<pre>the two servers.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Cheers<o:p></o:p></pre>
<pre>Jeremy<o:p></o:p></pre>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly<br>
prohibited and may be unlawful. If you have received this communication<br>
in error, please immediately notify the sender by reply e-mail and destroy<br>
all copies of the communication and any attachments.<br>
</font>
</body>
</html>