红旗DC4.1运行IBM Tivoli Monitoring 6.1(for OS和for Oracle两个agent运行在linux上,server端运行在2003上),其中for oracle的agent运行不正常。通过删除php-oci8可解决问题。
引用
[root@oracle root]# /opt/IBM/ITM/bin/itmcmd agent start all
Processing all configured agents: or
Multi-agent start: or
itmcmd agent : considering servers: orcl.
kddexec: /opt/IBM/ITM already local disk
Collector and Agent started for orcl
Multi-agent start completed
[root@oracle root]#
a short time ,the console show some message ————————–
Processing all configured agents: or
Multi-agent start: or
itmcmd agent : considering servers: orcl.
kddexec: /opt/IBM/ITM already local disk
Collector and Agent started for orcl
Multi-agent start completed
[root@oracle root]#
a short time ,the console show some message ————————–
3分钟之后,在红旗4.1的终端上显示如下信息,之后agent for agent就停止了
引用
Message from [email=root@localhost]root@localhost[/email] on at 10:46 …
kddexec: restart 1 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on at 10:49 …
kddexec: restart 2 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on at 10:52 …
kddexec: restart 3 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on at 10:55 …
kddexec: restart 4 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on at 10:58 …
kddexec: restart 5 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on at 11:01 …
kddexec: cannot restart Collector , restart limit of 5 exceeded. Shutting down…
kddexec: OMA for test received TERM signal
Stopping Collector=4821 Agent=4750
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on at 11:02 …
kddexec: waiting up to 60 seconds…
kddexec: process 4821 down after 2 seconds
kddexec: process 4750 down after 2 seconds
kddexec: all processes down cleanly
kddexec: OMA complete
(press enter)
EOF
kddexec: restart 1 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on
kddexec: restart 2 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on
kddexec: restart 3 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on
kddexec: restart 4 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on
kddexec: restart 5 of 5 for Collector
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on
kddexec: cannot restart Collector , restart limit of 5 exceeded. Shutting down…
kddexec: OMA for test received TERM signal
Stopping Collector=4821 Agent=4750
(press enter)
EOF
Message from [email=root@localhost]root@localhost[/email] on
kddexec: waiting up to 60 seconds…
kddexec: process 4821 down after 2 seconds
kddexec: process 4750 down after 2 seconds
kddexec: all processes down cleanly
kddexec: OMA complete
(press enter)
EOF
解决办法:在DC4.1上面执行“rpm -e php-oci8”将php-oci8软件包删除,再重新启动Tivoli Monitoring agent for oracle即可。
/opt/IBM/ITM/bin/itmcmd agent stop
rpm -e php-oci8
/opt/IBM/ITM/bin/itmcmd agent start
rpm -e php-oci8
/opt/IBM/ITM/bin/itmcmd agent start
[转]Better PHP Practices
PHP设计模式——策略模式
PHP设计模式——命令模式
PHP设计模式——观察者模式
PHP设计模式——单元素模式
PHP设计模式——策略模式
PHP设计模式——命令模式
PHP设计模式——观察者模式
PHP设计模式——单元素模式
原创文章,作者:kepupublish,如若转载,请注明出处:https://blog.ytso.com/113232.html