Home > other >  If the ERROR occurs when nagios email: sendEmail [5387] : the ERROR=& gt; No TLS support! SendEmail
If the ERROR occurs when nagios email: sendEmail [5387] : the ERROR=& gt; No TLS support! SendEmail

Time:09-30

1, in Linux configuration nagios, nagios already configured OK, normal operation, now just send mail wrong
2, use sendEmail send mail, test command:
SendEmail -f sender @ smtp.mxhichina.com: qq.com - t recipient @ mail.com - s 465 - o message - the content-type=HTML - o TLS=yes - o message - charset=utf8 -u "I am" email subject - xu recipients - xp password - m DDDD
3, the returned ERROR is: sendEmail [5410] : the ERROR=& gt; No TLS support! SendEmail can 't load the required libraries. (try installing Net: : SSLeay and IO: : Socket: : SSL)
4, the system already installed in the Net: : SSLeay and IO: : Socket: : SSL
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Cpan [1] & gt; Install Net: : SSLeay
Reading '/home/nagios/cpan/Metadata'
The Database was generated on Tue, 27 Sep 2016 20:53:31 GMT
Fetching with HTTP: : Tiny:
http://mirrors.sohu.com/CPAN/authors/01mailrc.txt.gz
Reading '/home/nagios/cpan/sources/authors/01 mailrc. TXT. Gz'
. The DONE
Fetching with HTTP: : Tiny:
http://mirrors.sohu.com/CPAN/modules/02packages.details.txt.gz
Reading '/home/nagios/cpan/sources/modules/02 packages. The TXT. Gz'
The Database was generated on Sat, Oct 01, 2016 19:53:28 GMT
HTTP: : the Date not available
.
New CPAN. PM version (v2.14) available.
[the Currently running version is v2.00]
You took want to try
Install the CPAN
Reload the cpan
To both upgrade CPAN. PM and run the new version without brigade
The current session.


. The DONE
Fetching with HTTP: : Tiny:
http://mirrors.sohu.com/CPAN/modules/03modlist.data.gz
Reading '/home/nagios/cpan/sources/modules/03 modlist data. Gz'
The DONE
Writing/home/nagios/cpan/Metadata
Net: : SSLeay is up to date (1.78).
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
5, IO: : Socket: : SSL has been installed
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Cpan [2] & gt; Install the IO: : Socket: : SSL
IO: : Socket: : SSL is up to date (2.038).
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Could you tell me why

CodePudding user response:

6, detailed information perl
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Nagios @ iZ259rrj352Z:/usr/share/perl/5.18 $perl -v
The Summary of my perl 5 (18 subversion revision 5 version 2) configuration:

Platform:
Osname=Linux, osvers=3.13.0-79 - generic archname=x86_64 - Linux - gnu - thread -multi
Uname='Linux 3.13.0 lgw01 to 37-79 - generic # 123 - ubuntu SMP fri feb 19 14:27:58 utc 2016 x86_64 x86_64 x86_64 gnulinux'
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Dldflags=-Wl,-Bsymbolic-functions -Wl,-z,relro -Dlddlflags=-shared -Wl,-Bsymbolic-functions -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.18 -Darchlib=/usr/lib/perl/5.18 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.18.2 -Dsitearch=/usr/local/lib/perl/5.18.2 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.18.2 -des'
Hint=it, useposix=true, d_sigaction=define
Useithreads=define, usemultiplicity=define
Useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
Use64bitint=define, use64bitall=define, uselongdouble=undef
Usemymalloc=n, bincompat5005=undef
Compiler:
Cc='cc', ccflags='- D_REENTRANT - D_GNU_SOURCE DDEBIAN - fstack - protector - fno - strict - aliasing - pipe - I/usr/local/include - D_LARGEFILE_SOURCE -d_file_offset_bits=64,
Optimize='- O2 - g,
Cppflags='- D_REENTRANT - D_GNU_SOURCE - DDEBIAN - fstack - protector - fno - strict - aliasing - pipe - I/usr/local/include'
Ccversion=', gccversion='4.8.2, gccosandvers='
Intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
D_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
='long' ivtype ivsize=8, nvtype='double', nvsize=8, Off_t='Off_t', lseeksize=8
Alignbytes=8, the prototype=define
Would the and Libraries:
Ld='cc', ldflags='- fstack - protector - L/usr/local/lib'
Libpth=/usr/local/lib/lib/x86_64 - Linux - gnu/lib/../lib/usr/lib/x86_64 - Linux - gnu/usr/lib/../lib/lib/usr/lib
Libs=- LGDBM - lgdbm_compat LDB - LDL - lm - lpthread - lc - lcrypt
Perllibs=- LDL - lm - lpthread - lc - lcrypt
, so the libc==so, useshrplib=true, libperl=libperl. So. 5.18.2
Gnulibc_version='2.19'
Dynamic Linking:
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related