How To Clear Stuck Urchin Tasks

by damonp on September 12, 2005

in SysAdmin

  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: 1%

Most Popular Posts

Damon Parker is a freelance sysadmin and web developer in Texas. He specializes in server setup, server security and high performance server configurations. Need help setting up a web server or getting a server back online after a crash or hack? Email Damon

Leave a Comment

Previous post:

Next post: