Help - Search - Members - Calendar
Full Version: Can't get Urchin to work with cPanel? Try this.
The Planet Forums > Control Panels > Urchin
Root
-update April 20th, 2004: As of cPanel v9.2.0 STABLE build #25 the same Urchin bug fixes are included that the RELEASE build had that I previously recommended.

First, make sure you're Urchin license is setup. (SM may have setup Urchin itself but the license may not be yet.)

From root shell:
/usr/local/urchin/bin/urchinctl start

Go to Urchin Admin at http://<ip/domain>:9999/ and login with username "admin" and password "urchin".

From just viewing that first page after login you will be able to tell whether or not SM setup the license. If they didn't it will be prompting you to setup/purchase a license and will not let you do anything else.

From root shell:
/usr/local/urchin/bin/urchinctl stop

If your license is not setup, submit a trouble ticket in Orbit.
If your license is already setup, continue further.

Login to WHM as root and go to "Change Update Preferences" (close to very top of menu)
Change "Cpanel/WHM Updates:" to either "Automatic (STABLE tree)" or "Manual Updates Only (STABLE tree)"

Now go to "Upgrade to Latest Version" (closer to bottom of menu)
Click on the "Click to Upgrade" button and wait until it is 100% complete.

If Urchin was setup when you first ordered your server you should not have to do this next step. (If it's still not working it won't hurt if you do it anyway.)

From root shell:
/scripts/runstatsonce

The next steps are optional.

From root shell:
/usr/local/urchin/bin/urchinctl start

Go to Urchin Admin at http://<ip/domain>:9999/ and login with username "admin" and password "urchin".

Select "Configuration" from the menu on the left.
Now where it says "#Shown" on the right select "100" from the drop-down menu.

Go to WHM at https://<ip/domain>:2087/scripts2/listaccts?viewall=1

Compare the domains from each list. Remove any from Urchin that are not listed in WHM.

From root shell:
/usr/local/urchin/bin/urchinctl stop

That's it! Your Urchin stats should be viewable in cPanel now.

If anyone thinks I missed something please let me know icon_smile.gif
System
Sweet! Worked for me.

Thanks
sightz
Looks like it will work for me, but Urchin is asking for a license code.

Should SM have activated that already?
Root
I think they should have done that for you already, though in my case they did not so I'm not sure if they make it common practice to do so or not.

I would go ahead and submit a trouble ticket asking them to setup the license key for your Urchin installation.
Cyan Smoke
Oh, sweet.

I'm sticking this topic. Well done, Root.

-C.
ALS
Ok where are Urchin stats viewable at in cPanel?
ALS
I found them..... icon_smile.gif
ALS
Make sure that the port that urchin uses is added if you have a firewall.

Thanx klaude......
thedude
i have a fresh install of urchin, but for some reason the admin and urchin usename/pass wont work.
Root
QUOTE (thedude)
i have a fresh install of urchin, but for some reason the admin and urchin usename/pass wont work.

Perhaps try admin as username and the root password that ThePlanet first gave you.
thedude
hmm nope.

I had changed the password that TP had assinged me on the server.

Guess I'll open up a ticket and see if I can't find out what the PW is.
Root
This should help you.

http://help.urchin.com/index.cgi?&id=1088
QUOTE
2003-07-07 v.5.x

Overview

If you are unable to log in to the web-based Urchin Administrative GUI as the admin user due to the password being lost or corrupted, do not despair! You can still reset the password as long as you can gain some type of command line access to the system running Urchin with the privileges of the user that Urchin runs as.

Procedure

On UNIX-type systems:

Invoke a shell as the user that Urchin runs as, and change directory to the Urchin distribution. Then type type the following (line breaks added for readability):

cd util
./uconf-driver action=set_parameter table=user
name="(admin)" ct_password=urchin

On a Windows system

Start up a Command Prompt window and type the following (line breaks added for readability):

cd Program FilesUrchinutil
uconf-driver action=set_parameter table=user
name="(admin)" ct_password=urchin

In both examples, this sets the admin password to be "urchin".
thedude
Yeah that got it.

Thanks for the help.
rgpayne
I did what you said and Urchin pickuped up the lastest domains and subdomains that I created but not all of them - is there anything I missed.
I just had Urchin enabled and followed your instruction in shell but it did not pickup all of my domains
actually only pickuped the last two I setup
Root
QUOTE (rgpayne)
I did what you said and Urchin pickuped up the lastest domains and subdomains that I created but not all of them - is there anything I missed.
I just had Urchin enabled and followed your instruction in shell but it did not pickup all of my domains
actually only pickuped the last two I setup

How many domains are there in Urchin right now?
How many Urchin profiles does your Urchin license cover? (100, 200, 300, etc.)
rgpayne
a 100 I guess, it has 3 profiles
one I setup trying to get it to work, then I followed your directions and it automatically pickuped a domain.com account and its subdomain.domain.com account
spiff06
Old thread. Is the content here still valid with cPanel/Urchin setups?

QUOTE (ALS)
Make sure that the port that urchin uses is added if you have a firewall.


I'm trying to access the config page on port 9999 but get a timeout error. Is that caused by the firewall, and if so, how do I allow access to this port (must be an iptables command, but I don't want to mess things up)?

Thanks.
spiff06
Ok, found it:

Added an ingress TCP port 9999 to /etc/apf/conf.apf
Restarted apf: /etc/apf/apf -r

Now when trying to access https://ip:9999/ (after starting the urchin webserver with /usr/local/urchin/bin/urchinctl start) I get a blank page and a browser message "Connection terminated unexpectedly, some data may have been transferred" (fatal error 47).

Please help. All I'm trying to do here is exclude an RSS file from the stats (the configuration panel at 9999 will allow me to do this, right?).
James Erickson
Cpanel kills the urchinwebd as it has a specific command that it runs when it updates the urchin profiles. It is recommended by cpanel not to start the configuration wizard, or make any changes, as they will cause the urchin profile to not function correctly.

Unfortunately, I can't tell you how to keep the RSS files from being recorded in the stats, I thought I would provide this information as a warning.
spiff06
Mmh, ok, thanks. Could it be done easily with Webalizer?
theAnalyticsGuy
I recently found a resource site mentioning about the similar issues with Urchin and cPanel.
If you get a chance take a look www.urchintools.com Urchin Tools, it might help you understand a bit more.
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.