07-01-2008 05:48 AM
I ran a netconfig job and it remained on "running" status for a very long time, so I decided to stop it and now is showing "Stop Initiated". Are passed almost 5 hours and the status hasn't changed. I have also unsuccessfully stopped the CiscoWorks services and reboot the server. I can't even deleted it. Is there any way to remove it from CLI?
07-01-2008 08:38 AM
Please post the output of the pdshow command.
07-01-2008 09:32 PM
07-01-2008 09:34 PM
What is the job number in question?
07-01-2008 09:36 PM
The Job number is 2834
07-01-2008 09:38 PM
Try running pdreg -u 2834, then restart dmgtd.
07-01-2008 10:15 PM
I did as you suggested and after I restarted the dmgtd, the job still appears in the Netconfig Job browser.
But running again pdreg -u 2834 I receive now this responce:
bash-2.03# ./pdreg -u 2834
ERROR: cmd failed. Server reason: Application specified in an unregister call does not exist.
07-01-2008 10:20 PM
Can you delete the job from job browser now?
07-01-2008 10:21 PM
NO!
Failed while deleting job(s)
Possible Cause: Could not delete job in JRM:2834
07-01-2008 10:25 PM
Run:
cwjava com.cisco.nm.cmf.jrm.jobcli
Once the application initializes, type:
delete 2834
07-01-2008 10:50 PM
You may need to run:
cwjava -cw /opt/CSCOpx com.cisco.nm.cmf.jrm.jobcli
If NMSROOT is not defined in your environment. You may also need to run "stop 2834" before running "delete 2834".
07-01-2008 10:56 PM
I unsuccessfully tried to stop the job.
It seems stop 2834 is not recognized!
bash-2.03# ./cwjava -cw /opt/CSCOpx
com.cisco.nm.cmf.jrm.jobcli
Established connection with JRM
Enter "exit" to quit the CLI
stop 2834
4.0: Syntax error
delete 2834
job_delete returned JobRunning
07-01-2008 10:59 PM
The only other way to delete the job is to remove it directly from the database. You'll need to open a TAC service request to get the steps to do this. I was hoping it could be avoided, but it does not appear to be the case.
07-01-2008 11:05 PM
Thank you for your support!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide