My Oracle Support Banner

ASAP Fails to Start ; msgsnd Error Received (Doc ID 949450.1)

Last updated on MAY 05, 2023

Applies to:

Oracle Communications ASAP - Version 4.2.0 and later
Information in this document applies to any platform.

Symptoms

This is a fatal error that occurs when starting ASAP. This would occur on the very first startup of ASAP after a new installation.

The usual sequence to start ASAP is by using the script start_asap_sys (-d), but in this case ASAP doesn't start. Normally users would then try to start up the CTRL server by itself (starts (-d) $CTRL) which starts up the CTRL and FORK agent servers, however these also do start up properly. Finally users would then attempt to start the SARM server by itself (starts (-d) $SARM), however in this case not only does the SARM server not start, it also 'brings down' the CTRL server as well.

In the CTRL server dialogue file (CTRL${ENV_ID}.diag) the following can be seen:

152513.006:80: LOW:ASC_cprpcexec() :959 :ctlib.c
RPC(CSP_in_system) Complete in 3ms
>>152513.006:80: LOW:Exec Appl :631 :process.c
Application 'SARMPRD' is in Local System
>>152513.006:80:SANE:Config Param :511 :config.c
Config: Defaulting SARMPRD to SARMPRD
>>152513.006:80:SANE:Execute Application :870 :process.c
Starting Application SARMPRD (SARMPRD Generic): /opt/soft/asap/programs/sarm by CTRLPRD
>>152513.006:80: LOW:ctrl_fork :197 :ctrl_fork.c
Retrying msgsnd [0] times
>>152513.006:80: LOW:ctrl_fork :201 :ctrl_fork.c
Waiting [5] ms between msgsnd retries
>>152513.007:80:PROG:System Event :223 :ctrl_fork.c
ASAP System Event: SYS_TERM
Error: msgsnd() Failed, Queue 50, mtype 1, Size 5684, Error 22 Invalid argument
>>152513.007:20: LOW:RPC Param :1043:ctlib.c
Sending RPC [log_event] with 6 Parameters
1 : appl_cd = CTRLPRD
2 : file = ctrl_fork.c
3 : reason = Error: msgsnd() Failed, Queue 50, mtype 1, Size 5684, Error 22 Invalid argument
4 : line = 223
5 : event = SYS_TERM
6 : event_log = 1
>>152513.008:64: LOW:ASC_ocicreate_cmd :517 :ocilib.c
Created PL/SQL statement as follows : begin :retval :=CSP_system_event(:curs,:appl_cd,:file,:reason,:line,:event,:event_log); end;
>>152513.008:64: LOW:ASC_ociparse :432 :ocilib.c
Successfully parsed PLSQL block cursor
>>152514.059:64: LOW:ASC_cprpcexec() :882 :ctlib.c
RPC CSP_system_event return status = -2
>>152514.059:64: LOW:ASC_cprpcexec() :959 :ctlib.c
RPC(CSP_system_event) Complete in 51ms
>>152514.059:20: LOW:ASC_cprpcexec() :1176:ctlib.c
RPC(log_event) Complete in 52ms, First Result in 52ms
>>152515.007:80:SHUT:System Event :223 :ctrl_fork.c
Application CTRLPRD Terminating Due to SYS_TERM Event
Error: msgsnd() Failed, Queue 50, mtype 1, Size 5684, Error 22 Invalid argument
>>
>>

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.