Help - Search - Members - Calendar
Full Version: Newbie Help
The Planet Forums > Control Panels > Urchin
plimmin
Forgive me if this is too basic a question, but I really can't get off the ground with the documentation I've found.

The install was flawless, but after that I'm lost. I found my log files, but there are many of them. Seems like one file for each day. How can I just analyze all of them? There was somehing in your demo about enabling cookies with apache? Clueless... got an easier explanation of that? Finally the UTM thing. Do I need to do this in addition to the log files? I put it on all my pages and I still can't see any reports.

Basically - is there an easier tutorial that I can get some simple info from?

The site is (www.treehugger.com)

Any help would be greatly appreciated! Thanks
saadsok
For Ensim
setting up profile log location is /home/virtual/domain.com/var/log/httpd/access_log* (the star grabs all log files available)
plimmin
ok that helps... i think. So I set up a profile and all that, then I hit "Run Now" and I get errors... what the devil?

The error looks like this:

------------------------------------------------------
Urchin 5.7.02 (freebsd4x) starting: 20050401 20:59:08
------------------------------------------------------
Processing profile: treehugger

WARNING: (7050-323-320) Starting automatic rollback


WARNING: (7054-323-378) Unable to restore databases since backup does not exist
DETAIL: /usr/home/dmazone/urchin/data/reports/treehugger/200503-backup-*.zip

------------------------------------------------------
Urchin 5.7.02 (freebsd4x) finishing: 20050401 20:59:08
------------------------------------------------------
acider
Remedy (from google)

Due to the fact that the previous run of Urchin terminated abnormally, the Urchin databases for the month being processed are in an unknown state and the data contained in them was not properly checkpointed. Therefore, the data for the entire month being processed will need to be removed. In most cases, the only Urchin data for the month will be that created during the failed processing run, so no good data exists anyway.

Please use the following procedure to reset the Urchin profile data and allow you to continue running the profile:

- Start a command shell either as "root" or the user that Urchin runs as
- Change directory to the location where the Urchin profile data is kept - e.g.
"cd /usr/local/urchin/data/reports/profilename"
- View the contents of the lock.udb file with the command "cat lock.udb". There should be one or more lines consisting of YYYYMM date entries, e.g. 200408.
- For each YYYYMM line the in lock.udb, perform the following steps:
Remove the corresponding monthly Urchin databases with the command "rm YYYYMM-*data*"
- Check to see if a backup archive exists for the corresponding month using the command
"ls YYYYMM*backup*.zip". The backup archives are named YYYYMM-backup-YYYYMMDDHHMMSS.zip, e.g. 200408-backup-20040831103340.zip.
- If one or more backup file exists for that month, restore the data from the backup archive with latest timestamp using the command "../../../util/unzip -o -u backupfile.zip", e.g. "../../../util/unzip -o -u 200408-backup-20040831103340.zip"
- Remove the lock.udb file with the command "rm lock.udb"
- You can now run the profile again with the Run Now button
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.