Checking the Status of the script.. OK ssh: Could not resolve hostname cluster1: Name or service not knownSat Apr 28 10:22:37 2018 - [info] OK.Sat Apr 28 10:22:37 2018 - [info] Checking shutdown script status:Sat Apr 28 10:22:37 2018 - [info] /opt/mha/manager/scripts/powe...【阅读全文】
修改工程下的.pro文件,添加如下内容其中添加的-lrt选项是由于利用交叉编译工具进行编译时,会提示undefined reference to ‘clock_gettime’,该问题是由于在链接时没有链接librt库导致的,添加该选项即可解决。图中lib所包含路径下的snmp库为分别使用gcc和arm交叉编译工具编译后生成的库文件。关于交叉编译库见《QT下...【阅读全文】