on 06-09-2009 12:28 AM
Hi all,
I facing issue in applying the support package. The SAINT giving message "OCS is locked by transaction SPAM. Process all the steps of the transaction SPAM until they are completed.".
On the other hand SPAM is running in display mode due to the lock therefore I am unable to run the transport unless SPAM is unlocked.
Please advise how to get around this issue.
Regards.
You have to check in SPAM, that session must be lock by some other user. If any other user is not working you can kill his session in SM50 or delete the lock in Sm12. You hav to complete the update process then only you can work on SAINT.
Regards,
Subhash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Subhash,
I have checked SM12 and no object is locked there. SM50 shows report SAPLTHFB in running status and is first in the queue. All of the remaining processes are waiting in queue for this report to complete. Further details show the last sql statment ran is below:
SELECT
/*+
first_rows
*/
s.module, s.action, t.sql_text
FROM
v$session s, v$sqltext t
WHERE
s.sql_address = t.address and s.sql_hash_value = t.hash_value and s.machine like :A0 and s.process
like :A1 and s.client_info = :A2
ORDER BY
t.piece#
Rohit,
No other user is authorized currently to load package or patches. So no issue is the sense that another has already locked the queue.
Regards.
Edited by: Mohammad Shoaib Ali on Jun 9, 2009 12:02 PM
Okay,
Seems there is bit of misunderstanding here.
It's not locked because of a user. The message displayed in SAINT is "OCS is locked by transaction SPAM". Currently I am upgrading the NW04s system to SP12. Also, I am working in SPAM but since it is in lock status it is not possible to continue the transport. Yet again, STMS shows all transports went through but with warnings. Now the issue here is that:
1. The system is not upgraded successfully even though the transports are displayed successful in 000 under STMS.
2. SPAM is locked and SM50 shows the first process in the list is still running, leaving the remaining process in waiting status.
3. SM12 shows no object is locked.
4. SAINT (not using currently) shows OCS is locked by SPAM... which is true... but then it's over 14hrs and still the first process is running without completion and without any error.
In fact I was using DDIC to carry out the support package and during the process, ddic got logged out for unknown reason. After logging back in, it's showing the above scenario especially with regards to SM50 where it's still processing report SAPLTHFB for over 14hrs now.
Please suggest.
Regards.
You should not use DDIC. You should use any other user who has SAP_ALL & SAP_NEW. So now if any job is running the you should check under the /usr/sap/trans/tmp & /usr/sap/trans/log directory. During the update process it generates some temorary files which can tell you the job log. from there you can see the problem.
Regards,
Subhash
Hi Every Body,
Below is the corect answer for the this issue.
Symptom: The import of a SPAM/SAINT update has terminated at the end as described above. When you restart the Support Package Manager, it looks as though the SPAM/SAINT update has been imported completely, and the traffic light icon in the "Status" frame on the right-hand side shows a green traffic light. However, when you call the Add-On Installation Tool, the system displays the error message TN 401 "OCS locked by user xxx with transaction SPAM".
Reason: Due to the termination with a runtime error, inconsistent table entries may remain in the system. These have to be cleaned up.
"Solution: Start the Support Package Manager and choose "Support Package" -> "Import SPAM/SAINT Update". Since the SPAM/SAINT update has already been imported completely, no other actions will be carried out except for cleaning up possible inconsistencies.
If another SPAM/SAINT update is offered for import, you can cancel it at this point; the inconsistencies are cleaned up despite this."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If possbile can you bounce the server once and see still the problem exists.
Regards
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you probably forgot to confirm your last supoprt pack from SPAM:
in client 000, go into transaction SPAM and CONFIRM the queue with the double-green checkmark button. This will unlock SPAM and SAINT.
other case, you might have created a queue in SPAM but never applied it:
so, reset OCS queue in SPAM.
Third option:
you have not completed applying your support pack in SPAM. go into SPAM and click on the TRUCK icon.
good luck.
Mohammed
you will not be able to use SAINT as SPAM is running,someone might have run some patches through SPAM and unless they complete you can't use SPAM
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.