ページの先頭行へ戻る
Interstage Application Server/Interstage Web Server トラブルシューティング集
Interstage

1.6 CORBAサービスのIPCログの採取

  CORBAサービスでは、OD_startプロセス起動処理時にIPCログを出力します。IPCログでは、以下のコマンドの実行結果が採取されます。

  以下のコマンドの実行結果も採取されます。

  IPCログに出力された情報を参照することで、OD_startプロセス起動成功/失敗時のIPC資源の状態を確認できます。


■ログファイル

  IPCログは以下のファイルに出力されます。

<CORBAサービスインストールパス>/var/ipclog、ipclog.old

  IPCログファイルのサイズは、ipclog、ipclog.oldともに最大で100Kバイトです。


■データ形式

  IPCログのデータは以下の形式で出力されます。

**********************************************
State  : Success
Date   : Sat Oct 23 16:55:47 2004
==============================================
“ipcs -a”出力結果
==============================================
“ps -ef”出力結果

**********************************************
State  : Success
Date   : Sat Oct 23 16:55:47 2004
==============================================
“ipcs -a”出力結果
==============================================
“ipcs -p”出力結果
==============================================
“ipcs -t”出力結果
==============================================
“ps -ef”出力結果

  State

  OD_startプロセスの起動に成功した場合は“Success”、失敗した場合は“Failure”が出力されます。

  Date

  ログ採取された時刻です。

  “ipcs -a出力結果

  OD_startプロセス起動処理後の“ipcs -a”コマンドの出力結果です。出力結果はOSのLANG環境変数に依存します。

  “ipcs -p出力結果

  OD_startプロセス起動処理後の“ipcs -p”コマンドの出力結果です。出力結果はOSのLANG環境変数に依存します。

  “ipcs -t出力結果

  OD_startプロセス起動処理後の“ipcs -t”コマンドの出力結果です。出力結果はOSのLANG環境変数に依存します。

  “ps -ef”出力結果

  OD_startプロセス起動処理後の“ps -ef”コマンドの出力結果です。出力結果はOSのLANG環境変数に依存します。

出力例

  IPCログの出力例を以下に示します。

**********************************************
State  : Success
Date   : Sat Oct 23 19:03:28 2004
==============================================
IPC status from <running system> as of Sat Oct 23 19:03:28 JST 2004
T         ID      KEY        MODE        OWNER    GROUP  CREATOR   CGROUP CBYTES QNUM QBYTES LSPID LRPID   STIME    RTIME    CTIME 
Message Queues: 
q     959488   0xd11fb30  -Rrw-------     root    other     root    other      0     0  32768  8465  8464 17:09:27 17:09:27 17:08:20
q     924673   0xb11fb30  -Rrw-------     root    other     root    other      0     0  32768     0     0 no-entry no-entry 17:08:20
T         ID      KEY        MODE        OWNER    GROUP  CREATOR   CGROUP NATTCH      SEGSZ  CPID  LPID   ATIME    DTIME    CTIME 
Shared Memory: 
m    1026048   0x211fb30  --rw-------     root    other     root    other      1         12  8465  8467 17:08:20 17:08:20 17:08:20
m    1003521   0x111fb30  --rw-------     root    other     root    other      1     131112  8466  8467 18:16:29 18:16:29 17:08:20
T         ID      KEY        MODE        OWNER    GROUP  CREATOR   CGROUP NSEMS   OTIME    CTIME 
Semaphores: 
s   63635456   0x1044eee  --ra-ra-ra-     root    other     root    other     1 no-entry 17:10:09
s   61341697   0x2044eee  --ra-ra-ra-     root    other     root    other     1 no-entry 17:10:09
==============================================
     UID   PID  PPID  C    STIME TTY      TIME CMD
    root     0     0  0   Jul 05 ?        0:17 sched
    root     1     0  0   Jul 05 ?        0:29 /etc/init -
    root     2     0  0   Jul 05 ?        0:00 pageout
    root     3     0  1   Jul 05 ?       5474:21 fsflush
    root   348     1  0   Jul 05 ?        0:00 /usr/lib/saf/sac -t 300

**********************************************
State  : Success
Date   : Sat Oct 23 19:03:28 2004
==============================================

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x051f00f6 66453504   root      777        1324644    2
0x011f00f6 66486273   root      777        7269528    1

------ Semaphore Arrays --------
key        semid      owner      perms      nsems
0x00000000 1058832384 root      777        1
0x0200068d 32769      root      666        1

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages
0x0d37051d 0          root       600        0            0
0x0b37051d 32769      root       600        0            0

==============================================

------ Shared Memory Creator/Last-op --------
shmid      owner      cpid       lpid
66453504   root       29262      29401
66486273   root       29262      29271

------ Message Queues PIDs --------
msqid      owner      lspid      lrpid
0        root         2528      2527
32769    root            0         0

==============================================

------ Shared Memory Attach/Detach/Change Times --------
shmid      owner      attached             detached             changed
66453504   root        Oct 23 19:03:28      Oct 23 19:03:28      Oct 23 19:03:26
66486273   root        Oct 23 19:03:26      Oct 23 19:03:26      Oct 23 19:03:26

------ Shared Memory Operation/Change Times --------
shmid    owner      last-op                    last-changed
1058832384 root        Sat Oct 23 19:03:26 2004   Sat Oct 23 19:03:26 2004
32769    root        Not set                    Fri Oct  1 17:46:25 2004

------ Message Queues Send/Recv/Change Times --------
msqid    owner      send                 recv                 change
0        root       Oct  1 17:46:59      Oct  1 17:46:59      Oct  1 17:46:35
32769    root       Not set              Not set              Oct  1 17:46:35

==============================================
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Oct01 ?        00:00:03 init [5]

root         2     1  0 Oct01 ?        00:00:00 [migration/0]
root         3     1  0 Oct01 ?        00:00:00 [ksoftirqd/0]
root         4     1  0 Oct01 ?        00:00:00 [events/0]
root         5     4  0 Oct01 ?        00:00:00 [khelper]
root         6     4  0 Oct01 ?        00:00:00 [kacpid]