Report custom-02 jamming the whole system
- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
Problem Symptoms:
1. After the customer had started the service p_custom_02, the following error messages appeared in the log file $alephe_scratch/xxx50_p_custom_02.06592:
-----------------------------------------------------
create table XXX50.CUSTOM_01_A as
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
[...]
create table XXX50.CUSTOM_01_B as
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
-----------------------------------------------------
2. The service p_custom_02 did not produce the expected report.
3.The Oracle database server process which was initiated by the script p_custom_02 was spinning and using a significant amount of CPU time, as one could see in the output of the UNIX commands "top" and "sar -u".
Cause:
-- The script $aleph_proc/p_custom_02 calls the SQL script $alephe_root/xxx/scripts/sql/patron.sql.
-- The script patron.sql includes the following SQL statements:
create table &&LIB..CUSTOM_01_A [...]
create table &&LIB..CUSTOM_01_B [...]
-- As the ta
Resolution:
1.
Kill the database session which was initiated by the script p_custom_02 within the Oracle database with the SQL statement ALTER SYSTEM KILL SESSION '<sid>,<serial#>' .
2.
Drop the Oracle tables XXX50.CUSTOM_01_A and XXX50.CUSTOM_01_B manually:
$ sqlplus BMA50/<password>
SQL> drop table CUSTOM_01_A;
SQL> drop table CUSTOM_01_B;
- Article last edited: 15-May-2016