opcsv -status显示没有任何进程正在运行,但服务器正常
问题描述
opcsv -status显示没有任何服务器进程正在运行,但我它们在运行,如何才能使opcsv显示这些正在运行的进程?
配置信息
操作系统 - HP-UX
版本 -10.20
硬件系统 - HP 9000
系列 -
应用程序 - Oracle 7.2.3
解决方法
机器遇到进程重复的问题,因此正在运行的进程不在pid文件中。Opcsv依靠一个对进程的号pid进程跟踪的文件,在某些情况下这会造成混乱,解决方法就是关闭服务器进程,刷新opc服务器临时目录。执行下面的步骤:
1. 终止服务器进程。
2. 删除/var/opt/OV/share/tmp/OpC/mgmt目录的内容。
3. 然后再一次启动服务器。
注意,再一次启动服务器进程之前,你应当执行:
ps -eaf |grep opc
查看opc服务器进程。
.........following with all English text ....
A4821446 [A4821446/TRAK/English]
opcsv -status shows nothing running, but the server is up
Problem Description
opcsv -status does not show any server processes running yet I know that they are. What do I need to do so that opcsv displays the processes as running?
Configuration Info
Operating System - HP-UX
Version -10.20
Hardware System - HP 9000
Series -
Application - Oracle 7.2.3
Solution
The machine was having problems with duplicate processes and so
the processes that were running were not in the pid file. opcsv
relies on a file that tracks the pid numbers of the processes.
In some cases this can get messed up. The solution is to shutdown
the server processes and flush the opc server temp directory.
Execute the following:
1. Stop the server processes.
2. Delete the contents of the /var/opt/OV/share/tmp/OpC/mgmt directory
3. Then startup the server again.
Note, before starting the server processes again, you should do a:
ps -eaf |grep opc
and look for opc server processes.