CartMetrix - Do you know yours?

« Are You Competing With Google’s Own Employees For Adwords? | Home | Debugging POP/IMAP/SMTP With Telnet »

9/12/2005

How To Clear Stuck Urchin Tasks

  1. Check the status of the task

    Open the Urchin Configuration GUI and select the following window: Configuration -> Scheduler -> Task History. From this view you will see a Status column. Each item in the “Status” column is a clickable link. The link will open a window that displays the process status when Urchin attempted to process the log file for that profile. Stuck tasks will normally appear as running with a date in the past.

  2. SSH to server.
  3. Stop Urchin daemons with one of the following:
    /etc/init.d/urchin stop
    /usr/local/urchin/bin/urchinctl stop
  4. Change directory to the urchin utils directory:
    cd /usr/local/urchin/utils
  5. Run the following commands, replacing profilename with the selected profile name:
    uconf-driver action=set_parameter table=task name=“profilename” cr_runnow=0
    uconf-driver action=set_parameter table=task name=“profilename” ct_runstatus=2
    uconf-driver action=set_parameter table=task name=“profilename” ct_completed=0
    uconf-driver action=set_parameter table=task name=“profilename” ct_status=1
    uconf-driver action=set_parameter table=task name=“profilename” ct_lockid=0
  6. Restart the Urchin daemons with one of the following:
    /etc/init.d/urchin start
    /usr/local/urchin/bin/urchinctl start

Popularity: 11%

Trackback:

Related Posts

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It