One of my Urchin profiles is stuck in a "Pending" or "Running" state. (Windows)



You should first ensure that the profile which you are resetting is indeed
not running.



1. Open a command prompt and stop the urchin scheduler.


C:\>cd “\Program Files\Urchin\bin”



C:\Program Files\Urchin\bin>urchinctl -s stop

Stopping Urchin Scheduler.

Urchin Scheduler stopped.

Urchin scheduler stopped



C:\Program Files\Urchin\bin>



2. Clear the state of the profile with the uconf-driver utility.


C:\Program Files\Urchin\bin>cd ..\util

C:\Program Files\Urchin\util>

Run the following commands in order. Replace profile_name with the name of the Profile you want to reset.

uconf-driver action=set_parameter table=task name="profile_name" cr_runnow=0
uconf-driver action=set_parameter table=task name="profile_name" ct_runstatus=2
uconf-driver action=set_parameter table=task name="profile_name" ct_completed=0
uconf-driver action=set_parameter table=task name="profile_name" ct_status=1
uconf-driver action=set_parameter table=task name="profile_name" ct_lockid=0

3. Restart the scheduler.


C:\Program Files\Urchin\util>cd ..\bin

C:\Program Files\Urchin\bin>urchinctl -s start
Starting Urchin Scheduler.
Urchin Scheduler started.
Urchin scheduler started

C:\Program Files\Urchin\bin>


Your rating: None