User_jobs: Job reappears after bouncing the db
Hi All,
This week, I've come across a strange thing. One of the developer has submitted a job using dbms_job pkg. But for some unknown reason, he wanted to stop it from running. So, from TOAD-- Schema Browser, he dropped that job and queried user_jobs to find "no rows".
But after few minutes, the job reappeared in USER_JOBS with its Next run date/time already passed by. He removed the job again. But it reappeared after sometime.
On which we tried this:
1) Shutdown db
2) set job_queue_process=0 (Earlier it was 4)
3) Start db
4) Shutdown db
5) set job_queue_process=4 (again)
6) Start db.
This solution worked for us.
My question is:
Why did it reappeared in USER_JOBS even after dropping the job?
Where can we see the status of a job (other than DBA_JOBS, DBA_JOBS_RUNNING)?
Why did it take the above 6 steps to resolve the issue?
> Why did it reappeared in USER_JOBS even after
dropping the job?
As David indicated - no commit. Changing the jobs table requires a commit.
One may want to add a job as part of a business transaction. The job must only be scheduled when that business transaction is committed. One does not want the job to be auto added to the job queue without an explicit commit.
Thus the DBMS_JOB package does not perform any implicit commits or autonomous transactions. As documented.
> Where can we see the status of a job (other than
DBA_JOBS, DBA_JOBS_RUNNING)?
In V$SESSION. That will list the actual Job Queue Session that is executing the DBMS_JOB. The actual o/s process details for that session will in turn be listed in V$PROCESS.
> Why did it take the above 6 steps to resolve the
issue?
Ignorance, sadly.
Similar Messages
-
ORA-01548 after bounce the Database...
Hi All,
User has run some job which occupied 50G in undo tablespace. Now job is finished and I want to reclaim that 50G from undo.
So I created another undo tbs of small size say 2G and switch to new undo tbs.. all segment is online with new undotbs but one segment having "partial available" status with old undotbs.
I bounce the DB also but still when going to delete older undotbs its throwing me this error:
drop tablespace undotbs2 including contents and datafiles
ERROR at line 1:
ORA-01548: active rollback segment '_SYSSMU23$' found, terminate dropping
tablespace
when I check how many extent with this "_SYSSMU23$" segment..it gives 384 rows with "ACTIVE" status.
select owner,segment_name,tablespace_name,status from dba_undo_extents where segment_name='_SYSSMU23$';
how can I reclaim my undo space ?
Any suggestion?
Thanks...Hi Nagendra,
select tablespace_name,status,count(*) as HOW_MANY from dba_undo_extents group by tablespace_name,status
TABLESPACE_NAME STATUS HOW_MANY
UNDOTBS2 EXPIRED 1195
TESTUND EXPIRED 294
TESTUND UNEXPIRED 116
from the above query it shows UNDOTBS2 having expired extents but with one of the segment it showing "active" status as below:
SQL> select owner,segment_name,tablespace_name,status from dba_undo_extents where segment_name='_SYSSMU23$';
OWN SEGMENT_NAME TABLESPACE_NAME STATUS
SYS _SYSSMU23$ UNDOTBS2 ACTIVE
SYS _SYSSMU23$ UNDOTBS2 ACTIVE
SYS _SYSSMU23$ UNDOTBS2 ACTIVE -
Adf popup reappears after refreshing the portlet..
Hii all..
i am working on a portal application in which i have a portlet added on a page.
In this portlet i have a button, on click of which i am displaying a pop up programatically using following code -
public void showPopupActionListener(ActionEvent event) {
UIComponent source = (UIComponent) event.getSource();
RichPopup popup = getPropertiesPopUp();
RichPopup.PopupHints hints = new RichPopup.PopupHints();
hints.add(RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID, source)
.add(RichPopup.PopupHints.HintTypes.HINT_LAUNCH_ID, source)
.add(RichPopup.PopupHints.HintTypes.HINT_ALIGN,
RichPopup.PopupHints.AlignTypes.ALIGN_AFTER_END);
popup.show(hints);
it works fine..but when i close the pop up and refreshes the portlet, the pop up appears on the front...
i have tried changing the attributes for the pop up but the situation remains the same..
Any help on this.!!
Thank You.
JDeveloper Version - 11.1.1.6.0.Thank you Yannick For replying..
I did as you have suggested as follows -
<af:popup id="propertiesPopUp" binding="#{EditProperties.propertiesPopUp}" autoCancel="disabled"
eventContext="launcher" contentDelivery="immediate" childCreation="immediate"
popupFetchListener="#{EditProperties.popupFetch}">
but it dosen't call the method assigned to popFetchListener.
Thanks -
OID not resloving service names after bouncing repository
I installed and configured OID(10g) and repository is oidtest on hpux 11.1.
1)Before shutting down the repository
C:\Oracle\ora92\network\ADMIN>tnsping dbtest1
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 30-NOV-20
07 16:34:05
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
c:\oracle\ora92\network\admin\sqlnet.ora
Used LDAP adapter to resolve the alias
Attempting to contact (DESCRIPTION=(ADDRESS_LIST=(address=(protocol=tcp)(host=xx
xxxx.xx.xxx.com)(port=1533)))(CONNECT_DATA=(SID=DBTEST1)(GLOBAL_NAME=DBTEST1.xx
xx.xx.com)))
OK (60 msec)
2)after restarting the repository
C:\Oracle\ora92\network\ADMIN>tnsping dbtest1
TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 30-NOV-20
07 16:37:24
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
c:\oracle\ora92\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
$ ps -ef|grep pmon
oracle 29430 1 0 22:35:23 ? 0:00 ora_pmon_oidtest
oracle 29756 21439 2 22:38:16 pts/2 0:00 grep pmon
$ opmnctl status
Processes in Instance: panther_oid_a.panther.am.kwe.com
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | 26840 | Alive
HTTP_Server | HTTP_Server | 26704 | Alive
OID | OID | 26435 | Alive
Please Any ideas why it can't resolve service name anymore after bouncing the repository?Below is the error that i am getting when trying to startup all the services.Please let me know where i am going wrong with this,everything was working fine until i shutdown(sqlplus) the repository to test if it still resolve the name and then i restarted the repository using sqlpus and its failing to resolve the names so i had to stopped everything with below command and when starting it with opmnctl startall it failed with the below error.
$ opmnctl stopall
opmnctl: stopping opmn and all managed processes...
$ opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=panther:6200
1 of 2 processes started.
ias-instance id=panther_oid_a.panther.am.kwe.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
OID/OID/OID
Error
--> Process (pid=0)
database dependency failed
oidtest
failed to start a managed process because a dependency check failed
Log:
none
Thanks -
Raw device owners change after reboot the server
The raw device owner change after reboot the server. i have to adjust it manually like
chown oracle:oinstall /dev/raw/raw*
any idea to make it permanent after bouncing the Server?
MY OS is RHEL4 & Rdbms 10.2.0.1I got my answer .
New to Linex. Need suggestions...
How i can create new file ? like i want to create file oracle.permission
should i use this command
touch <filename> or any other command?
second i want to put these entries raw device 3, 6,7,10,11 etc
shoud it work ? like in the oracle.permission directory?
# ASM
raw/raw[3671011]:oracle:dba:0660 -
Changes made with dbms_macadm.UPDATE_RULE_SET are lost after bounce db
Hi,
We have Oracle Database 11.2.0.1 with Database Vault functioning ok but we need to change two rule sets.
We modify the rule sets with dvsys.dbms_macadm.UPDATE_RULE_SET and the change was applied immediately.
After bounce the database the changes were lost and we have to applied again.
Specifically we want to change a rule set from no static to static so we run the following commands:
begin
dvsys.dbms_macadm.UPDATE_RULE_SET (
rule_set_name => 'Limit DBA'
,description => 'Limit DBA access'
,enabled => 'Y'
,eval_options => 2
,audit_options => 1
,fail_options => 1
,fail_message =>''
,fail_code => NULL
,handler_options => 0
,handler => ''
,is_static => TRUE
commit;
end;
begin
DVSYS.DBMS_MACADM.SYNC_RULES();
end;
Are we missing something else ?
Thanks.
Regards.That was actually the first place I started when I began troubleshooting this issue.
I have logged in as the root user and attempted to check the "allow user to administer this computer" to the affected user. In fact, I tried it on all users that show up in the Accounts listing.
What happens is, the checkbox doesn't stick. You can check that checkbox all day, but the user is never changed over to an administrator. I have checked the checkbox, and then done like the subsequent popup tells me: I have logged off and logged back on as the affected user, but it's as if no change were made. The user is still just a "standard" user. It is never granted administrator access. -
Need to run the BDC job immediately after XK02 is saved.
Hi all.
I have to trigger a batch job (BDC program) after changing the customer thru xk02 TRANACTION.
I found one exit EXIT_SAPMF02K_001 which checks before saving. But my requirement is job (BDC prog) should run after saving. So I guess its of no use. Do we have any BADI ( method)....?Can you pls let me know how to procede.
If workflow is the solution...
I have run the event traces by transaction code swel & sels, I could not find any event triggering to tigger the workflow ( to perform background task) Do I need to create Change document & BOR for acheiving this thru workflow .
Cheers,
sami.Hi Neha.
Thanks for quik turn around. But I need this z program to run after all changes are done in XK02 because I need to use the changed vendor data in the BDC program. This is the exit which triggers before save, so I couldn't get the changed vendor data from database table to use in z program (BDC).
Hope I am clear.
Cheers,
sami. -
I have a MacBook Pro 13" (2010) running OS X 10.9.2 and have Airport Time Capsule. I routinely delete my cookies and often (every couple days or so) when I reboot, a number of cookies reappear in my Safari settings. The number of cookies that reappear is exactly the same when it does it (351 cookies) so I'm wondering if it is related to my Airport Time Capsule or possibly iCloud? How do the cookies get back into my MacBook Pro? Or.... Have they ever actually left? Befoer I reboot, I delete them and sometimes they stay gone for 24hrs or more, but then reappear the next time I reboot. Can someone tell me if there is a way to clear the cookies so they won't come back?
Blocking all cookies in Safari does not work. Deleted cookies will not stay deleted. There are numerous threads on this going back years, both in these forums and elsewhere. Many claim to have submitted the issue to Apple, but I have never seen anyone post a reply.
I have seen many suggested fixes that involve finding the cookies file, some including Terminal manipulations, and none seems to work universally. I can find noplace where Apple addresses this officially with an actual Apple-approved explanation or how-to.
Bottom line, your browser's security features should do what they claim: delete cookies. When they come back without ever even visiting another page, this is clearly not working in the way a reasonable user would expect.
Bottom line, Safari does not protect users' privacy in the way it pretends to and, after so many years of this issue, it appears that Apple wants it this way.
Having spent way too much time on this, I realize the choice is between Safari which is pretty well optimized; Firefox which is a lot pokier, at least for me; and Chrome, which I assume funnels personal information directly to Google. -
Aperture: after deleting a project (trash) this reappear opening again the program, how solve it?
I have the same issue. When I use fotostream, there will be automatically generated projects for each month. So I deleted all fotos inside the project and now I have empty projects. When I delete them (with or without empty trash), they will reappear after opening Aperture again.
If I delete them, close Aperture and start iPhoto with the same library, the projects will not reappear, but after the next start of Aperture, they reappear.
I've tried to put fotos into the project and deleted them with the fotos inside, but this didn't make any difference. -
Unable to remove login items (Revert after reboot) iOX10.5 iMac
I am having issues and permanent encounter in having my removed login items reappearing after reboot. I have very MANY of the same programs in 'open at Login accounts' eg: Messenger,Safari,Skype,Evernote,Dropbox,antivirus, but they are listed dozens of times. in this 'open at login' area.
Here's the steps I have taken:
1) Open Applications, Account Preferences, cluck my administrator acc, select program to delete, click on - and wait.
2) Remove some login items (with or without unlocking the lock, doesn't seem make a difference, tried both)
3) Login items are now fewer
4) Reboot
5) voila, the removed login items are still loaded and displayed in login item tab.
How does one solve this? Tried to google, but....Strange,but try these 2...
AppDelete...
http://download.cnet.com/AppDelete/3000-2096_4-10614485.html
AppZapper...
http://www.appzapper.com/ -
I am unable to update my apps on my iphone5s. After entering the applied password, the update button reappears and nothing happens. Can anyone help? Thanks
Hey there Tonyaokb,
It sounds like you are trying to update some of your apps and when you tap the update button, the update does not happen. I recommend starting by closing the running apps on the phone:
iOS: Force an app to close
http://support.apple.com/kb/ht5137
Double-click the Home button.
Swipe left or right until you have located the app you wish to close.
Swipe the app up to close it.
When you have done that, sign out of your iTunes account in Settings > iTunes and App Stores, and restart the phone and try to update them again:
iOS: Turning off and on (restarting) and resetting
http://support.apple.com/kb/ht1430
If the issue persists I would next verify that you can find it in your purchased history with ths article:
Tap App Store.
Make sure you're signed in with the same Apple ID used for the original purchase.
Tap Updates.
Tap Purchased on the resulting screen.
So that you can then delete the app and re install it:
Reinstall the affected app
Remove the app from your device and reinstall it:
Tap and hold any app icon on the Home Screen until the icons start to wiggle and show a small "x" in the top-left corner of the app.
Tap the "x" in the corner of the app you want to delete.
Tap Delete to remove the app and all of its data from your device.
Press the Home button.
Go to the App Store.
Search for the app and download it again.
Note: If it's a paid app, make sure you're using the iTunes account you purchased the app with originally. If it isn't, you may be asked to purchase the app again. Learn more about downloading previously purchased items.
From: iOS: Troubleshooting apps purchased from the App Store
http://support.apple.com/kb/ts1702
Thank you for using Apple Support Communities.
Take care,
Sterling -
Read Error logs after running the background jobs
Hi,
How to read the error logs after running the background jobs. In our scenarion we are running the COHV transaction to release the production orders in background. But we are not finding the error logs after background job. We would like to read the error logs and correct for further processing.
Kindly suggest.
Thanks & Regards,
N. LaxmanHi
you can check the back ground jobs defined by any user in SM37 and where you can see the spool and job logs as well.
plz check in your case and revert back
Regards
Anupam Sharma -
Job help to regenerate the test plan after test case addition in solar02
Hi,
Any job help to regenerate the test plan after the test case addition in the solar02?
It is very hard to regenerate in the test plan in test plan management, need to select the test case manually every time.
Rg,
KarthikHello,
You can send mail with the status of the test catalog-
specify a mail system to which Test Workbench test objects send messages to the people responsible
Please refer the below link for more information:
http://help.sap.com/saphelp_smehp1/helpdata/en/6a/88370a002911d2bd02080009b4534c/frameset.htm
Regards, -
- Firefox 4.0 is used as preferred browser
- One can change the user home pages. The new homepages are found & work ok after closing and reopening Firefox.
- However, after rebooting the laptop (HP Elitebook), old Firefox home pages reappear, they replace the new ones.
- If I remember correctly this bug appeared already prior Firefox 4.0, this malfunction/ bug was noted in some last winter version before the v 4.0.
- Help/ Bug fix is appreciated!- Firefox 4.0 is used as preferred browser
- One can change the user home pages. The new homepages are found & work ok after closing and reopening Firefox.
- However, after rebooting the laptop (HP Elitebook), old Firefox home pages reappear, they replace the new ones.
- If I remember correctly this bug appeared already prior Firefox 4.0, this malfunction/ bug was noted in some last winter version before the v 4.0.
- Help/ Bug fix is appreciated! -
After upgrade the background jobs
Dear all,
We are Upgrading the PRD server.after after upgrade the background job (user specific ) jobs are mannully started are atuomatically started.I check the job btctrns2.
The user specfic jobs are not started.
Kindly advise us to start automatically.
regards
gunaHello Guna,
Please find below a link to Background Jobs related information
(if click does not work, copy and paste it in your browser)
http://help.sap.com/erp2005_ehp_03/helpdata/EN/51/c0e07d569a11d189200000e8323d3a/frameset.htm
I hope this is useful to you in your work
Best Regards
Sitaraman
Maybe you are looking for
-
How do I get my outlook contacts to automatically sync to my iphone 5? In settings I have it set up to do so BUT it does not. My email and calendar updates every 1/2 hour but I can't get my contacts to auto update. Please advise.
-
Everytime i connect my USB it is not detected by PC....... I have tried with other PC'S but in vain....... Wht might be the problem??????????????????????????
-
Remove leading zeros for invoice lists to allow auto lockbox processing
I have a change request for the following document at my job. but i am very new into it and do not know how to start and what to do exactly? can anyone please help me what to do in this matter. SAP auto posting process for lockbox checks was created
-
Java Event Timing / Scheduling Question
Hi everyone, Looking for some pointers in the right direction. I'm writing a program that controls a hardware device to operate outputs at specific times in a timeline defined by the user. The delays between events are not regular and may vary from 1
-
How do I open a photo in CS3 as a RAW file from Aperture
How do I open a photo from the Aperture library in Photoshop CS3 so it opens in the RAW converter first, as it would if I opened it from bridge? I can only see options for TIFF and PSD. Thanks and regards, Craig