sendEmail报错:at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm
Posted 陌上归人
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sendEmail报错:at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm相关的知识,希望对你有一定的参考价值。
sendEmail发邮件的时候,出现的报错,然后查阅了很多资料
在http://caspian.dotconf.net/menu/Software/SendEmail/
上找到了 下面这段话
Q: I get the error "invalid SSL_version specified at /System/Library/Perl/Extras/5.16/IO/Socket/SSL.pm line 332.a on my Apple. What do I do?
A: Here‘s what I got from one user. It‘s a workaround until I put a real fix in:
> Fixed it by using Perl v5.12 that‘s still on OSX Mavericks. > (just changed sendEmail line 1 from #!/usr/bin/perl -w to #!/usr/bin/perl5.12 -w)
centos7.2默认是 perl的版本是5.16,centos6.5的是5.10,后来把7的版本换成5.10,就可以正常发邮件了。
1
2
3
4
5
6
7
8
9
10
11
12
|
#### perl安装 wget http: //www .cpan.org /src/5 .0 /perl-5 .10.0. tar .gz tar -zxf perl-5.10.0. tar .gz cd perl-5.22.0 . /configure .gnu -des -Dprefix= /usr/local/perl echo $? make make test make install mv /usr/bin/perl /usr/bin/perl .bak ln -s /usr/local/perl/bin/perl /usr/bin/perl perl - v |
本文出自 “何全” 博客,请务必保留此出处http://hequan.blog.51cto.com/5701886/1811246
以上是关于sendEmail报错:at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm的主要内容,如果未能解决你的问题,请参考以下文章
Zabbix导入MySQL数据库报错ERROR 1046 (3D000) at line 1: No database selected
Can‘t exec “autopoint“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
Can‘t exec “aclocal“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
Can‘t exec “autopoint“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
sendEmail -- invalid SSL_version at SSL.pm
ps -aux|grep mysql时候报错:Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3