Error: XML: Hash version does not exist

简介:

 

Error: XML: Hash version does not exist

错误:xml:hash版本信息不存在

将新版本到处的cacti模板导入到旧版本的时候,就会报Error: XML: Hash version does not exist.,
解决的办法是修改xml里面的相关hash值就可以了。
以下是cacti xml hash的一些说明:
Take the following example: <hash_040018258d1c9487a6c58dd804f4a012007664>
The first 2 digits are the type of the template.
The next 4 digits are the Cacti version it was created on.
The next 32 digits are a random number.

Java代码 
"0.8.4"  => "0000",       
"0.8.5"  => "0001",       
"0.8.5a" => "0002",       
"0.8.6"  => "0003",       
"0.8.6a" => "0004",       
"0.8.6b" => "0005",       
"0.8.6c" => "0006",       
"0.8.6d" => "0007",       
"0.8.6e" => "0008",       
"0.8.6f" => "0009",       
"0.8.6g" => "0010",       
"0.8.6h" => "0011",       
"0.8.6i" => "0012",       
"0.8.6j" => "0013",       
"0.8.7"  => "0014",       
"0.8.7a" => "0015",       
"0.8.7b" => "0016",       
"0.8.7c" => "0017",       
"0.8.7d" => "0018"      
"0.8.7e" => "0019"     
"0.8.4"  => "0000",   
"0.8.5"  => "0001",   
"0.8.5a" => "0002",    
"0.8.6"  => "0003",    
"0.8.6a" => "0004",    
"0.8.6b" => "0005",    
"0.8.6c" => "0006",    
"0.8.6d" => "0007",    
"0.8.6e" => "0008",    
"0.8.6f" => "0009",    
"0.8.6g" => "0010",    
"0.8.6h" => "0011",    
"0.8.6i" => "0012",    
"0.8.6j" => "0013",    
"0.8.7"  => "0014",    
"0.8.7a" => "0015",    
"0.8.7b" => "0016",    
"0.8.7c" => "0017",    
"0.8.7d" => "0018"   
"0.8.7e" => "0019"
 
所以需要导入新版cacti模板的时候,只需要修改hash里面的version相关字段即可。
 
注:“0018”指的是<hash_040018

本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/840304如需转载请自行联系原作者


yangzhimingg

相关文章
|
29天前
|
SQL 流计算
"Missing version in readMessageBegin, old client?
"Missing version in readMessageBegin, old client?
11 1
|
3月前
|
SQL 流计算
Missing version in readMessageBegin, old client?"这个错误
Missing version in readMessageBegin, old client?"这个错误【1月更文挑战第22天】【1月更文挑战第107篇】
51 1
|
11月前
AttributeError: ‘version_info‘ object has no attribute ‘version‘
AttributeError: ‘version_info‘ object has no attribute ‘version‘
198 0
|
XML 数据格式
因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
因为CircleImageView导致Binary XML file line #96: Error inflating class <unknown>
158 0
|
Java Maven
web.xml is missing and <failOnMissingWebXml> is set to true[解决]
web.xml is missing and <failOnMissingWebXml> is set to true[解决]
113 0
web.xml is missing and <failOnMissingWebXml> is set to true[解决]
|
Java 应用服务中间件 Android开发