Ultrapower
5.8 安装Patrol for Unix 9.2.01后,在console端无法连接patrolagent
patrol 版本:9201 OS版本: AIX 5.2 问题描述:
在AIX5.2平台下,安装Patrol for Unix 9.2.01后,在console端无法连接patrolagent
原因分析:
It looks that PatrolAgent has not yet configured properly on this AIX server. 1.The $PATROL_HOME/bin/PatrolAgent 's owner is root. -rwxr-xr-x 1 root dba 4550674 Nov 14 21:48 PatrolAgent
--PatrolAgent is owned but the root however this does not have set-uid bit. 解决办法:
Would you please run \appropriate
privilege will be set to the modules. e.g.
% cd /opt/bmc/Patrol3 % su
# ./agent_configure.sh –d
5.9 Unix 下 Patrol的SNMP服务不能启动
尝试在patrol的profile中增加一行 “ulimit -n 256”
5.10
主机启动patrol时报如下错误。
$ pwd
/opt/bmc/Patrol3 $ ./PatrolAgent
PatrolAgent V3.6.50i, built at 14:34:09, Feb 10 2005 Copyright (C) 1997-2005 BMC Software, Inc.
$ Fri Mar 28 18:50:10 2008 PatrolAgent-F-EINTERNAL: Sess Init failed: err = -5 (/local-build/Patrol/3.6.50/src/agent/mainloop.c 461)
$ ps -ef|grep Patrol $ $
解决办法:
host文件里面的和真实IP不匹配
28357950.doc
26/32
Ultrapower
5.11
主机启动patrol时报如下错误。
原因分析:
Since the files in /etc/patrol.d were created by a previous install and not updated during this install (Overwrite Security was selected as False), the new install and security may not be pointing at the new install directory.
解决办法: $ su
# cd /opt/patrol/common/security/config_v3.0 # ./sec_configure.sh /opt/bmc/Patrol3 0
(Assuming that PatrolAgent was installed in /opt/bmc/Patrol3 and the security level is Basic (0))
28357950.doc 27/32
Ultrapower
6
6.1
Windows配置问题
The Patrol Event Management (2.7) Notify Server有很多CMD进程
patrol 版本:
OS版本:windows server 问题描述:
On the Windows 2003 Server, there more than 100 cmd commands keeped in \management\C:\\bmcfsoft\\Patrol3\\lib\\psl\\AS_EVSLocalAlertNotify.bat email patrol \
原因分析:
At this case maybe the system can not run new cmd command. 解决办法:
1 At first to kill that cmd command by \
2 To make a police to reboot the host every month.
3 To modify the AS_EVSLocalAlertNotify.bat to common each line about the \
After the changed like the following: :EMAIL rem set
email_file=c:\\blat\\mtext%AS_PARAMETER_NAME%_%AS_SSTIME%.txt rem echo %nmsg% > %email_file%
rem if not .%AS_USERDEFINED%==. echo \
rem if .%email_file%==. set email_file=c:\\blat\\default.txt
rem if not exist c:\\blat\\default.txt echo PATROL Alert > c:\\blat\\default.txt rem if exist c:\\blat\\blat.exe c:\\blat\\blat %email_file% -t %ntargets% -s %nmsg%
rem if exist %email_file% del %email_file% > nul goto BYE
6.2
patrol for windows中监控进程报错
patrol 版本: 3.2.10
OS版本:windows server 问题描述:
安装patrol for windows,版本3.2.10。对进程进行监控中,如果进程名超过256字符,出现错误:不能打开PROCStatus选项 28357950.doc 28/32
Ultrapower
原因分析:
Patrol对进程名设计如此
this limit is actually hard coded into the source code of the Console, it is not a limit in PSL or KM files. All objects that are loaded into the Console will be recorded in memory somewhere, all applications have to reserve the memory they require for this.
解决办法:
不影响别的功能。
7
数据库配置问题
在Console端配置oracle时,输入services name 后报错的问题
patrol 版本: db版本: ORACLE 问题描述:
7.1
原因分析:
28357950.doc
29/32
Ultrapower
在
Add Instances时,只需输入Instance name实例名,和Oracle 的HOME路径,不需要services 服务名。
解决办法:
7.2
安装patrol for DB2后不能监控DB2数据库
patrol 版本:
OS版本:Red Hat AS3.0 DB版本:DB2 问题描述:
在Red Hat AS3.0上安装patrolagent,并且安装了DB2 KM,在windows console端对agent监控时,发现没有DB2
原因分析:
/home/patrol/Patrol3/Linux-2-4-x86-nptl/bin/db2kmchan.v8: Permission denied. 解决办法:
Grant execute permission for user/group/other to each of following
directory
chmod +x /home
chmod +x /home/patrol
28357950.doc
30/32