M|22
Jun 27 2003, 04:38 PM
1) get license from RackShack
2) mkdir /usr/local/src/urchin then cd /usr/local/src/urchin
3) download urchin
CODE
wget [url]http://www.urchin.com/download/urchin4/download/urchin4105_redhat7x.sh[/url]
4) chmod 755 urchin4105_redhat7x.sh
5) ./urchin4105_redhat7x.sh
6) ./install.sh
7) walk through install, i used the following
/usr/local/urchin
port 9999
nobody:nobody
start after install is complete
Urchin is now installed at
http://ip:9999 and you must go there to install your license (default u/p is admin/urchin)
CPanel will autodiscover logs/sites in /usr/local/apache/domlogs at some random time
if you want them to appear and process immediately, run the following (if you don't, you'll just get a blank page)
/scripts/runstatsonce
You have to access the stats from
http://domain.com/cpanel or it won't work (you'll get an error) and you CANNOT view the reports via the urchin admin.
HostDime
Jun 28 2003, 02:59 PM
Still dont understand? I'm on 8080, with /usr/local/urchin, and I'm still puzzled.
Got-Hosting
Jun 28 2003, 04:45 PM
I can access reports okay through the control panel, but they remain empty, even after having run the runstatsonce script....
M|22
Jun 28 2003, 10:01 PM
QUOTE
Originally posted by Got-Hosting
I can access reports okay through the control panel, but they remain empty, even after having run the runstatsonce script....
You can't view them through the Urchin web admin, They are viewable through the site CP only.
M|22
Jun 28 2003, 10:02 PM
QUOTE
Originally posted by HostDime
Still dont understand? I'm on 8080, with /usr/local/urchin, and I'm still puzzled.
Puzzled about what?
Illusion!
Jun 29 2003, 02:38 AM
QUOTE
Originally posted by M|22
You can't view them through the Urchin web admin, They are viewable through the site CP only.
What do you mean they cannot be viewed within the urchin web admin? That is the whole points in urchin was my thought otherwise why did I just spend out this much money?
The bit I am stuck on is the urchin DNS Resolved IP...
M|22
Jun 29 2003, 03:49 AM
QUOTE
Originally posted by Illusion!
What do you mean they cannot be viewed within the urchin web admin? That is the whole points in urchin was my thought otherwise why did I just spend out this much money?
The bit I am stuck on is the urchin DNS Resolved IP...
WHM will create the reports automagically and move them into the home/*/tmp folder where you can then view them in CPanel.
Got-Hosting
Jun 29 2003, 05:11 AM
QUOTE
Originally posted by M|22
You can't view them through the Urchin web admin, They are viewable through the site CP only.
Through the site cp, the reports all indicate no hits. As in, no stats are being generated.
M|22
Jun 29 2003, 05:50 AM
QUOTE
Originally posted by Got-Hosting
Through the site cp, the reports all indicate no hits. As in, no stats are being generated.
/scripts/cpanellogd
does that do anything?
Got-Hosting
Jun 29 2003, 06:07 AM
That file is located in:
/usr/local/cpanel/cpanellogd
and is presently running:
root@server2 [~]# ps -ax | grep cpanellogd
14498 ? SN 0:08 cpanellogd - license engine
root@server2 [~]# /usr/local/cpanel/cpanellogd
Running that makes it look like something might have been amis because now:
root@server2 [~]# ps -ax | grep cpanellogd
14498 ? SN 0:08 cpanellogd - license engine
11751 pts/2 SN 0:00 cpanellogd - sleeping for logs
How now to generate the reports if that was the problem?+
M|22
Jun 29 2003, 07:11 AM
QUOTE
Originally posted by Got-Hosting
How now to generate the reports if that was the problem?+
try /scripts/runstatsonce
Got-Hosting
Jun 29 2003, 11:08 AM
Yay! Now I have stats. Will the continue to be generated or do I need to take this another step?
Thanks!
M|22
Jun 29 2003, 12:21 PM
QUOTE
Originally posted by Got-Hosting
Yay! Now I have stats. Will the continue to be generated or do I need to take this another step?
Thanks!
They've been working for me w/o any intervention for a few days now.
anders
Jul 2 2003, 09:46 AM
dont get it, how do i find/add the link to urchin in the site cpanel?
I use xskin
thanks
Got-Hosting
Jul 2 2003, 12:36 PM
As per prevous posters, the stats stareted going automatically. Though, I must say that I find it very confusing.
anders
Jul 2 2003, 01:47 PM
QUOTE
Originally posted by Got-Hosting
As per prevous posters, the stats stareted going automatically. Though, I must say that I find it very confusing.
yes - i understand that, but how to find it?
where do i find the link to the stats?
Got-Hosting
Jul 2 2003, 02:51 PM
I really do not know if xskin supports urchin stats. I know xcontroller does.
x2 supports urchin, vertex doesn't. What you have to do is to copy the urchin.html in the cp frontend directory to the one which doesn't support.
# cd /usr/local/cpanel/base/frontend
# cp x2/stats/urchin.html ../../vertex/stats/urchin.html
# vi vertex/main.html
search for the string webalizer.html and add this line after the html tag
Urchin 4 Statistics
The target=_blank is important, it gives me blank results and errors if the page is viewed in frame. I don't know why, but it happened.
viooltje
Jul 12 2003, 05:07 PM
http://ip:8080 or
http://ip:9999
then the browser says cannot find server?????
please help me out here
thnx
Illusion!
Jul 29 2003, 08:22 PM
Im just getting a pure white blank page when I goto look at urchin stats! What is this???
mickalo
Jul 29 2003, 08:37 PM
QUOTE
Originally posted by CSV
x2 supports urchin, vertex doesn't. What you have to do is to copy the urchin.html in the cp frontend directory to the one which doesn't support.
# cd /usr/local/cpanel/base/frontend
# cp x2/stats/urchin.html ../../vertex/stats/urchin.html
# vi vertex/main.html
search for the string webalizer.html and add this line after the html tag
Urchin 4 Statistics
The target=_blank is important, it gives me blank results and errors if the page is viewed in frame. I don't know why, but it happened.
which skins support Urchin with the Cpanel ?? Were about to install Urchin and was wondering which skins we need to use in order for our customers to view their stats.
thx's
mooseontheloose
Jul 31 2003, 01:51 AM
:heart:
Mistar twoooo
imma stalker
denvercg
Aug 3 2003, 11:51 AM
Hello,
Can someone help me?
Urchin was loaded by RS on my server. It does load fine in Cpanel, but no data is loaded and the site is running.
What is the problem?
Thank you.
Carol
BudWay
Aug 30 2003, 04:09 PM
QUOTE
denvercg
In the same...boat once I got urchin running but nothing again....
?!?!?! How know's... have still on the issue
vma
Aug 30 2003, 05:06 PM
QUOTE
Originally posted by denvercg
Hello,
Can someone help me?
Urchin was loaded by RS on my server. It does load fine in Cpanel, but no data is loaded and the site is running.
What is the problem?
Thank you.
Carol
I fixed it with cron-entry
add this into cron:
CODE
13 13 * * * find /home -name "lock.udb" -exec rm -f {} \;
then urchin5 is working for me...
the problem is lock.udb , if it not deleted, urchin5 isnīt working
itīs an known bug, but in the moment now fix available
I'm moving from Ensim to cPanel and have read allot of posts about only being able to view Urchin stats through cPanel. Most of these posts are a few months old.
I don't give my users cPanel access but do want them to be able to view Urchin stats on port 9999.
Is there a way to get Urchin stats on port 9999 or 8080 on a cPanel server?
Danieliang
Jan 8 2004, 11:47 AM
I did everything, but still can't let urchin work in cpanel. I got plank report page in urchin admin. If I use cpanel to access urchin, I got this: "Urchin CGI Report. Error Encountered (1006). No Permission to view Report. " I did run "/scripts/runstatsonce" and I did change permission. Please help me, thanks.
denvercg
Jan 8 2004, 01:03 PM
Hello,
You must ssh to your server as root and resart urchin. it is not running!
denvercg
Jan 8 2004, 01:07 PM
To restart typy the following:
/usr/local/urchin/bin/ ./urchinctl start
Replace the urchin directory with urchin4 or urchin5. Wherever you have installed urchin.
Danieliang
Jan 9 2004, 04:42 AM
Yes, I did it. However, several hours passed. I still got the same error message. should I restart the server?
Danieliang
Jan 9 2004, 01:05 PM
Things became worse now. My Webalizer shows "Cannot find an acceptable log file for your domain. "
DavidB
Jan 9 2004, 05:23 PM
Did you ever get the 1006 error fixed and if so how? Many of us are still getting this error!
Danieliang
Jan 9 2004, 11:16 PM
QUOTE
Originally posted by DavidB
Did you ever get the 1006 error fixed and if so how? Many of us are still getting this error!
If you are talking to me, no, I didn't. I changed the permission of all files in /usr/local/apache/domlogs directory, and I restarted urchin, It didn't work. Then I changed the permission of domlogs directory, and then I run /scripts/runstatsonce. The error is still there, however, now my Webalizer shows "Cannot find an acceptable log file for your domain. "
DavidB
Jan 10 2004, 12:39 AM
Run /usr/local/urchin/util/inspector and fix anything broken. See if that corrects things.
Danieliang
Jan 10 2004, 03:08 AM
I run /usr/local/urchin/util/inspector and fixed some permission errors. and then run it again. I got this:
/usr/local/urchin/bin/admin: Urchin 5500 (redhat72)
/usr/local/urchin/bin/auth: Urchin 5500 (redhat72)
/usr/local/urchin/bin/rollup.cgi: Urchin 5500 (redhat72)
/usr/local/urchin/bin/urchin: Urchin 5500 (redhat72)
/usr/local/urchin/bin/urchin.cgi: Urchin 5500 (redhat72)
/usr/local/urchin/bin/urchinctl: Urchin 5500 (redhat72)
/usr/local/urchin/bin/urchind: Urchin 5500 (redhat72)
/usr/local/urchin/htdocs/report.cgi: Urchin 5500 (redhat72)
/usr/local/urchin/htdocs/session.cgi: Urchin 5500 (redhat72)
/usr/local/urchin/util/geo-update: Urchin 5500 (redhat72)
/usr/local/urchin/util/inspector: Urchin 5500 (redhat72)
/usr/local/urchin/util/u3importer: Urchin 5500 (redhat72)
/usr/local/urchin/util/uconf-driver: Urchin 5500 (redhat72)
/usr/local/urchin/util/uconf-export: Urchin 5500 (redhat72)
/usr/local/urchin/util/uconf-import: Urchin 5500 (redhat72)
/usr/local/urchin/util/uconf-schedule: Urchin 5500 (redhat72)
/usr/local/urchin/util/udb-sanitizer: Urchin 5500 (redhat72)
-->/usr/local/urchin/var/urchinwebd.conf is not owned by the user nobody
-->/usr/local/urchin/var/urchinwebd.conf is not owned by the group nobody
then I checked cpanel, urchin show:
Urchin CGI Report. Error Encountered (1000).
So it changed from 1006 to 1000.
denvercg
Jan 10 2004, 09:43 AM
Danieliang,
Are you using the original Urchin installed by EV1, or Urchin4 or Urchin5? I think you problem is that in the admin you have not installed nor cpanel new profiles for your users.
Danieliang
Jan 10 2004, 10:38 AM
I am using urchin 5.5 downloaded from urchin.com. I bought the license from EV1.
In urchin admin, Urchin Profiles, log sources, there are 5 files:
/var/log/httpd/log:
access_log
access_log.1
access_log.2
access_log.3
access_log.4
So I chosed access_log. Then urchin recognized all my domains and subdomains, but it doesn't show any stats.
denvercg
Jan 10 2004, 10:45 AM
Do you see stats in urchin admin?
denvercg
Jan 10 2004, 10:47 AM
I forgot did you upgrade from urchin4, if yes you must install urchin5 in that directory.
Danieliang
Jan 10 2004, 10:48 AM
No, There are report pages but no stats. There are no user and group in urchin admin. I added nobody as user and group. Then I run /usr/local/urchin/util/inspector. I got the wrong permssions again:
*****
The webserver is configured to run as user nobody and group nobody
/usr/local/urchin/bin/admin: Urchin 5500 (redhat72)
/usr/local/urchin/bin/auth: Urchin 5500 (redhat72)
/usr/local/urchin/bin/rollup.cgi: Urchin 5500 (redhat72)
/usr/local/urchin/bin/urchin: Urchin 5500 (redhat72)
/usr/local/urchin/bin/urchin.cgi: Urchin 5500 (redhat72)
/usr/local/urchin/bin/urchinctl: Urchin 5500 (redhat72)
/usr/local/urchin/bin/urchind: Urchin 5500 (redhat72)
-->Incorrect Permissions on File: /usr/local/urchin/data
Current Mode: 755 Correct Mode: 700
-->Incorrect Permissions on File: /usr/local/urchin/data/conf/uconf.log
Current Mode: 777 Correct Mode: 644
-->Incorrect Permissions on File: /usr/local/urchin/data/conf/uconf.und
Current Mode: 777 Correct Mode: 644
-->Incorrect Permissions on File: /usr/local/urchin/data/conf/uconf.unf
Current Mode: 777 Correct Mode: 644
-->Incorrect Permissions on File: /usr/local/urchin/data/conf/uconf.uni
Current Mode: 777 Correct Mode: 644
-->Incorrect Permissions on File: /usr/local/urchin/data/conf/uconf.unq
Current Mode: 777 Correct Mode: 644
-->Incorrect Permissions on File: /usr/local/urchin/data/conf/uconf.uns
Current Mode: 777 Correct Mode: 644
/usr/local/urchin/htdocs/report.cgi: Urchin 5500 (redhat72)
/usr/local/urchin/htdocs/session.cgi: Urchin 5500 (redhat72)
/usr/local/urchin/util/geo-update: Urchin 5500 (redhat72)
/usr/local/urchin/util/inspector: Urchin 5500 (redhat72)
/usr/local/urchin/util/u3importer: Urchin 5500 (redhat72)
/usr/local/urchin/util/uconf-driver: Urchin 5500 (redhat72)
-->Incorrect Permissions on File: /usr/local/urchin/util/uconf-driver
Current Mode: 4755 Correct Mode: 4700
/usr/local/urchin/util/uconf-export: Urchin 5500 (redhat72)
/usr/local/urchin/util/uconf-import: Urchin 5500 (redhat72)
/usr/local/urchin/util/uconf-schedule: Urchin 5500 (redhat72)
/usr/local/urchin/util/udb-sanitizer: Urchin 5500 (redhat72)
-->/usr/local/urchin/var/urchinwebd.conf is not owned by the user nobody
-->/usr/local/urchin/var/urchinwebd.conf is not owned by the group nobody
Danieliang
Jan 10 2004, 10:50 AM
QUOTE
Originally posted by denvercg
I forgot did you upgrade from urchin4, if yes you must install urchin5 in that directory.
No, I didn't.
denvercg
Jan 10 2004, 10:54 AM
You should point to /usr/local/apache/domlogs/usersdomainlog. Replace usersdomainlog, with the proper domain, like (
www.users.com) this is where all the logs are for your users.
denvercg
Jan 10 2004, 11:00 AM
I would recommend that you re-install urchin5 in the urchin4 directory as cpanel needs its files in that directory. Or as I did, I installed urchin5 in a new directory call urchin5. I do not use the stats in cpanel. I provide my users with their own Urchin admin.
Danieliang
Jan 10 2004, 11:05 AM
Sorry, I meant I didn't upgrade from urchin 4.
Danieliang
Jan 10 2004, 11:17 AM
QUOTE
Originally posted by denvercg
You should point to /usr/local/apache/domlogs/usersdomainlog. Replace usersdomainlog, with the proper domain, like (www.users.com) this is where all the logs are for your users.
You mean in urchin admin I should choose this path as log sources? I checked, I found there are three files for every domain:
mydomain.com
mydomain.com-bytes_log
mydomain.com-bytes_log.offset
Should I choose the first one?
denvercg
Jan 10 2004, 11:23 AM
Yes!
denvercg
Jan 10 2004, 11:29 AM
Make sure that you verify the log file and that it reads OK!
Danieliang
Jan 10 2004, 12:19 PM
After I clicked run, it works. Thanks a lot.
DavidB
Jan 10 2004, 09:28 PM
Well I am still stuck. I just did a clean install of Urchin 5.5. Heres what I get.
Urchin Admin (myIP:9999):
View Reports lists all 55 of my hosted domains.
Configuration shows the same items.
When I select any of the configurations and click Run I get the pop up window that supposedly runs the task but it sticks on o%.
User cPanel (x):
Click on Web/FTP Stats.
Click Urchin Stats.
I get the error "Urchin CGI Report. Error Encountered (1000). "
I am stuck. Tried everything I know. Runing "urchinctl status" shows both the Urchin webserver and the Urchin scheduler are running.
Any help?
Thanks,
DB
denvercg
Jan 10 2004, 09:36 PM
DavidB,
Read my post above. You will find your answer!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.