ORACLE在HP-UX下的系列問題處理(46)
2024-08-29 13:40:00
供稿:網友
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.