VMware Perl SDK error “Server Version Unavailable .. line 545”

当我在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脚本就正常了。
参考地址:
时间: 2024-11-13 23:35:21

VMware Perl SDK error “Server Version Unavailable .. line 545”的相关文章

VMware Perl SDK error “Server Version Unavailable”

当我在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_SS

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where id = 2' at line 8

字典管理修改接口测试传了id后出现: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where id = 2' at line 8 百度翻译:您的SQL语法有错误:请查阅与您的MySQL服务器版本相对应的手册,以获得在第8行“where id=2”附近使用的正确语法. 百度解

MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ...

下面是我update数据库时打印出来的异常: ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nea

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

1.错误描述 org.hibernate.exception.SQLGrammarException: error executing work at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:80) at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(

插入mysql语句报错:1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near

插入一个很简单的sql语句时候,mysql一直报错: [SQL] INSERT INTO ORDER ( id, activity_id, order_type, phone, order_amount, order_state, pay_type)VALUES ( '4', '2121313', '1', '13552444989', '1', '1', '1' ) [Err] 1064 - You have an error in your SQL syntax; check the man

MySQL server version for the right syntax to use near 'type=InnoDB' at line 1

转载请注明出处:http://blog.csdn.net/bettarwang/article/details/40180271 在运行一个Hibernate的示例时,配置了<property name="hibernate.hbm2ddl.auto">update</property>属性,但是自动建表却一直不成功,出错信息为: ERROR: HHH000388: Unsuccessful: create table info_table (id intege

MySQL server version for the right syntax to use near &amp;#39;type=InnoDB&amp;#39; at line 1

转载请注明出处:http://blog.csdn.net/bettarwang/article/details/40180271 在执行一个Hibernate的演示样例时,配置了<property name="hibernate.hbm2ddl.auto">update</property>属性,可是自己主动建表却一直不成功,出错信息为: ERROR: HHH000388: Unsuccessful: create table info_table (id in

MySql 执行语句错误 Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near

关于用Power Designer 生成sql文件出现 错误  [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int not null auto_increment comment '用户id', 的解决办法 sql语句如下 1 drop table

mysq添加外键报错:check the manual that corresponds to your MySQL server version for the right syntax to use near &#39;TYPE=InnoDB&#39; at line 1

今天用navcat往一个表添加外键的时候报错: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 1 排查之后发现是因为两个表的类型不一样所致: SQL:SHOW TABLE STATUS 查询出数据表的状态,Engine那一列就是 使用