当我在centos6.6中运行perl脚本时候,出现“Server Version Unavailable..... line 545"问题,如图:

这是因为无法验证服务器的SSL证书才造成的。

设置如下的环境变量,就可以解决问题:

export PERL_LWP_SSL_VERIFY_HOSTNAME=0这个环境变量只是对当前session起作用,你可以加入到/etc/bashrc中的最后,使它能作用global。
vim /etc/bashrc
......
export PERL_LWP_SSL_VERIFY_HOSTNAME=0
保存退出之后,source下,使其立刻生效。
source /etc/bashrc之后再重新运行perl脚本就正常了。
参考地址:

转载于:https://blog.51cto.com/bckong/1660909

VMware Perl SDK error “Server Version Unavailable .. line 545”相关推荐

  1. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version

    最近在学python爬虫,再写入数据的时候写不进数据库.报了这个很常见的异常 pymysql.err.ProgrammingError: (1064, "You have an error ...

  2. MySQL_解决ERROR 2006 (HY000) at line XX MySQL server has gone away问题

    MySQL_解决ERROR 2006 (HY000) at line XX MySQL server has gone away问题 参考文章: (1)MySQL_解决ERROR 2006 (HY00 ...

  3. 本地上传文件到FastDFS命令上传报错:ERROR - file: connection_pool.c, line: 142, connect to server 192.168.0.197:221

    root@ubuntu:/etc/fdfs# /usr/bin/fdfs_upload_file /etc/fdfs/client.conf /etc/a.jpg [2019-12-03 11:38: ...

  4. ERROR MESSAGE: Invalid command line: Malformed walker argument: Could not find walker with name

    介绍和分析 我是用的环境是 GATK v3.7-0-gcfedb67 的 GenomeAnalysisTK.jar Java环境为: > java -version openjdk versio ...

  5. adb server version(31) doesnt match this client(41)

    adb server version(31) doesnt match this client(41) 参考 解决:adb 提示adb server version(31) doesnt match ...

  6. MySQL遇到check the manual that corresponds to your MySQL server version for the right syntax错误

    用MySQL新建了一个Order表,插入了一条数据.总是显示 You have an error in your SQL syntax; check the manual that correspon ...

  7. 关于ADB 执行报错问题-db server version (31) doesn't match this client (40); killing...

    关于ADB 执行报错问题-db server version (31) doesn't match this client (40); killing... D:\ADB>adb devices ...

  8. check the manual that corresponds to your MySQL server version for the right

    用sql插入数据库时提示You have an error in your SQL syntax; check the manual that corresponds to your MySQL se ...

  9. DBeaver执行.sql脚本报错:ERROR 1064 (42000) at line 1

    DBeaver执行.sql脚本报错,报错内容如下: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check ...

  10. mapper文件报错:corresponds to your MySQL server version for the right syntax to use near ‘)VALUES( ‘

    错误描述:Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL ...

最新文章

  1. CentOS 6.2 yum安装配置lnmp服务器(Nginx+PHP+MySQL)
  2. android启调支付宝
  3. Dubbo 面试题汇总(附答案)
  4. Java 多线程 —— wait 与 notify
  5. 信息学奥赛一本通C++语言——1102: 与指定数字相同的数的个数
  6. Java基础-HashMap集合
  7. 扫盲——敏捷开发 Agile development 之 Scrum开发
  8. Activityn 生命周期
  9. ISO-IEC 27001 SOA适用性说明原文+个人理解
  10. SQL Server 2008安装图解教程
  11. java根据出生日期计算年龄_通过出生日期获取年龄的方法--Java
  12. php-fpm优化总结
  13. 详细写出拆卸计算机的步骤和过程,CPU风扇(INTEL)的详细拆卸和安装方法_计算机软件和应用程序_IT / computer_special...
  14. windows批处理:start的用法
  15. 天池竞赛——工业蒸汽量预测(完整代码详细解析)
  16. 为什么VR依然没有出现烧钱向的3A级游戏?
  17. CH32F203C8T6 32位增强型低功耗Cortex-M3单片机
  18. 英飞凌TC387在EB环境下的MCAL工程建立
  19. 浅析侧供给结构性改革及三去一降一补
  20. 现代控制—状态反馈极点配置函数(计算反馈增益k)

热门文章

  1. MVC设计模式:概念,模型,视图,控制器
  2. array在java_在Java中的ArrayLists之间进行转换
  3. ionic引用自定义html,pipe - Ionic 4自定义管道可以在app.component.html中正常工作,但不能在其他.html页面上工作(在.ts文件下工作) - 堆栈内存溢出...
  4. 凸优化第八章几何问题 8.6分类
  5. 凸优化第三章凸函数 3.6关于广义不等式的凸性
  6. 《how to write and publis a scientific paper》 Chapter 3
  7. android studio for android learning (三) 我的第一个APP
  8. Exadata 18.1新特性--计算节点升级增强
  9. 在线读取office 文件(Word excel 等)
  10. 各种波形文件(wlf/vcd/fsdb/shm/vpd)的区别及生成方法(转)