aussie
Aug 30 2003, 09:16 PM
HighRiskCO
Aug 31 2003, 08:14 AM
QUOTE
Originally posted by aussie
Its coming soon! I'm testing this one and so far it's working great. Anyone want this?
It will monitor the CRASHED status for the scheduler including the crashed status of Urchin, then restart everthing so we never need to see Urchin dying like it does under Cpanel. Again, so many people are running Urchin on Cpanel and DarkOrb is so lazy in coming out with a solution when so many millions of RackShack Clients are using it and have complained about unnecessary Urchin shutdowns.
aussie...
Sounds great!
Tired of ./urchinctl start

How far away are you from releasing this?
You would think DarkOrb would have taken care of this already :confused: Put like the old saying goes: If you want anything done right, you have to do it yourself! :rolleyes:
Your HowTo's have been a great help to many of us. I am looking forward to this one!
Thanks!
GetWired
Aug 31 2003, 11:38 AM
Ditto here.
Aussie's howto's rock major buttocks.
Water
Aug 31 2003, 01:37 PM
I will be looking forward to this.
aussie
Aug 31 2003, 02:38 PM
QUOTE
Originally posted by HighRiskCO
aussie...
Sounds great!
Tired of ./urchinctl start
How far away are you from releasing this?
You would think DarkOrb would have taken care of this already :confused: Put like the old saying goes: If you want anything done right, you have to do it yourself! :rolleyes:
Your HowTo's have been a great help to many of us. I am looking forward to this one!
Thanks!
TODAY!
Im still testing it. So far Urchin has died 5 times with 5 messages being sent to me in the past 12hrs.
Urchin failed @ Sun Aug 31 12:49:07 2003. A restart was attempted automagicly.
And it was restarted auto. without any help from me!
aussie
Aug 31 2003, 08:33 PM
Its ready, go for your lives! Ready the origional messages to get the link!
Water
Aug 31 2003, 08:42 PM
Works great.
Maybe you can make one of those scripts for your PostgreSQL Monitor.
piranha
Aug 31 2003, 08:45 PM
Good job.
Installed and works fine.
One problem I encountered was the fact that I had urchin installed in /usr/local/urchin (my version is 5).
So I just created a symlink called /usr/local/urchin5 and everything seems to work fine.
You're genius.
aussie
Aug 31 2003, 08:55 PM
QUOTE
Originally posted by piranha
Good job.
Installed and works fine.
One problem I encountered was the fact that I had urchin installed in /usr/local/urchin (my version is 5).
So I just created a symlink called /usr/local/urchin5 and everything seems to work fine.
You're genius.
You going to need to keep the symlink active because the script /scripts/restartsrv has been modified to accomodate the path to where i though Urchin5 is installed by default.
So where does everyone have their Urchin5 installed? Whats the proper path? I know that if you upgraded from Urchin4 -> Urchin 5 it should still be Urchin4.
piranha
Aug 31 2003, 09:03 PM
As I said.. I solved it with symlink since I didn't know if you don't use full path in the main scripts.
One wish though: uninstall procedure for those "technically challenged". At one point there may be need to remove it, so preparing instructions in advance will be a lovely thing from you.
Long live aussie!
P.S. If you do fresh install of Urchin5, it uses /usr/local/urchin directory.
aussie
Aug 31 2003, 09:12 PM
Uninstall script is in the works.
Ahh ok, then let me add additional code for /usr/local/urchin.
aussie
Aug 31 2003, 09:18 PM
Ok that should take care of everyone!
InternetPEI
Aug 31 2003, 11:33 PM
Thanks!! Worked like a charm!!
aussie
Aug 31 2003, 11:51 PM
Great, there is a uninstall script on my site if anyone needs it.
aussie
Sep 1 2003, 12:05 AM
Did everyone notice that i had to chattr +i /scripts/restartsrv???
This was necessary so as not to overwrite the script during the /scripts/updatenow run. If you run /scripts/updatenow and see something like, rename .restartsrv.yt9gRr -> restartsrv : Operation not permitted, then you know why. If you chattr -i the file you will loose the ability to monitor Urchin any futher because the updatenow script will overwrite it. Unless of course cPanel adds the necessary code to restartsrv this issue will not go away. If your restartsrv is overwritten you can either run the install script again or add the code manually. What a pain!!!
Ayoye
Sep 1 2003, 07:57 AM
Thanks Aussie
Work great
GetWired
Sep 1 2003, 11:08 AM
Worked great
So aussie, does this mean that everytime urchin goes down it'll try to automatically start?
I hate that bug that everytime you upgrade cpanel, urchin stops.
aussie
Sep 1 2003, 11:11 AM
QUOTE
Originally posted by GetWired
Worked great
So aussie, does this mean that everytime urchin goes down it'll try to automatically start?
I hate that bug that everytime you upgrade cpanel, urchin stops.
GetWired
Sep 1 2003, 12:01 PM
Mucho kisses for aussie.
thats good work...
hats off to you......
we was so sick of restarting Urchin we gave up!
GetWired
Sep 1 2003, 12:52 PM
Hmm, I did this and then did that Postgre howto, and now all 3 show up red.
Its been about 20 minutes after I put in the postgre edit, and its all showing red.
Help aussie?
GetWired
Sep 1 2003, 01:20 PM
Just noticed. I never had postgre installed.
I removed that, but now urchin is still showing 2 reds.
What should I do?
aussie
Sep 1 2003, 02:07 PM
I cant make this any easier than I have and that is by running the scripts. I suggest you get the uninstall script, run it, then check to see if you have Urchin installed and that its running. Then re run the install script.
Good luck!
GetWired
Sep 1 2003, 02:54 PM
2 greens.
good deal
aussie
Sep 1 2003, 05:32 PM
How is this working for everyone? Scheduler staying alive? Need feedback!
TySoft
Sep 1 2003, 08:56 PM
Looking great! Been staying green for me.
aussie
Sep 1 2003, 09:06 PM
QUOTE
Originally posted by TySoft
Looking great! Been staying green for me.
Green is my favourite color!
Has stayed up and added all domains and stats just fine.
aussie
Sep 2 2003, 12:38 AM
QUOTE
Originally posted by jmr
Has stayed up and added all domains and stats just fine.
Thanks for letting us know jmr!
Furthermore just updated to latest version R158 Urchin was stopped during the procedure and restarted just fine
Aussie,
The scheduler is perfect, has not missed a beat for the last 2 days.
Great job, you have officially become a Guru
:rolleyes:
we are all humbled.
Cheers,
L4s.
aussie
Sep 2 2003, 03:08 AM
QUOTE
Originally posted by L4S
Aussie,
The scheduler is perfect, has not missed a beat for the last 2 days.
Great job, you have officially become a Guru
:rolleyes:
we are all humbled.
Cheers,
L4s.
Great Mr! Guru?

I have submitted the code to Cpanel. Hopefully they will include it in their next update so it will become part of something Urchin users need. Thanks for your feedback!
-AuZ
aussie
Sep 2 2003, 04:11 PM
QUOTE
Originally posted by aussie
Great Mr! Guru?
I have submitted the code to Cpanel. Hopefully they will include it in their next update so it will become part of something Urchin users need. Thanks for your feedback!
-AuZ
I wrote to DBraco about this code change but so far no response. I thought that maybe he implamented it silently but after getting the lastest scripts i found nothing added. I would like him to respond on this issue since we all need this. Just because Urchin is now an integrated part of Cpanel it doesnt mean the job has been completed. Its only 3/4 done so far and we need this integrated as part of Cpanel, otherwise Urchin, as it stands is useless to us if its going to shutdown all the time. Hmmm!
aussie
Sep 3 2003, 05:03 PM
It seems that the scheduler is misbehaving a bit and the status indicator is staying GREEN if the scheduler goes down. Did anyone notice this? In other words if you log into Urchin and check the status of the scheduler does it say its down? Now look at the status display does it show GREEN?
Ok so thats what i fixed this morning. I will be releasing an update script to fix that. It will also correct Postgresql.
Thanks guys.
GetWired
Sep 3 2003, 05:26 PM
Well its starting the services fine.
Upgraded cpanel, it started.
Rebooted server, it started.
Pretty nice.
Is the updated version already on the website? Do we just follow the installtion instructions to copy over the old installtion?
Thanks aussie.
aussie
Sep 3 2003, 06:09 PM
Not yet!
HighRiskCO
Sep 3 2003, 06:46 PM
aussie is da man
Installed your first release and haven't had a problem yet!
Urchin and Scheduler has been up and running since your first release!
What a pleasure!
You have out done yourself with this one
QUOTE
I wrote to DBraco about this code change but so far no response. I thought that maybe he implamented it silently but after getting the lastest scripts i found nothing added. I would like him to respond on this issue since we all need this. Just because Urchin is now an integrated part of Cpanel it doesnt mean the job has been completed. Its only 3/4 done so far and we need this integrated as part of Cpanel, otherwise Urchin, as it stands is useless to us if its going to shutdown all the time. Hmmm!
Rome wasn't built overnight but once the word is out about this one, it will be just a matter of time!
Great job aussie!
aussie
Sep 3 2003, 11:00 PM
Around 1am this morning i happen to log into Urchin and found the Urchin Scheduler in a stopped state. Looking at my stats everthing showed green. Looked at the other boxes same thing, Urchin Scheduler had also stopped at 1am and the stats was again green which is incorrect. I found the error and corrected it. I will let everyone know when the update will be available. After i finished modifying a few things.
aussie
Sep 4 2003, 02:02 AM
There is a new updater script on my site. Follow the directions for ur-update. Run this script only if have already installed the Urchin Monitoring stuff. Run the other script only if you have not installed Urchin Monitoring yet.
Please be patient after upgrading. Dont expect your status indicators to run red immediately. One on of my boxes it took over 40min until it turned GREEN so be patient.
If you have installed Postgresql it will reinstall it so that it works properly with the Urchin status monitor and there is no confict anymore. It also fixes a small bug in the detection of the Urchin Status monitor. If you have not installed postgresql it will install it for you.
Good luck!
aussie
Sep 4 2003, 02:24 AM
martinjr76
Sep 4 2003, 04:46 AM
after install i noticed urchin, urchin-schduler and postgrespl are all down.. will wait another 15mins and see if they come back up or not
ricoche
Sep 4 2003, 09:36 AM
Very nice! Everything worked well for me. Thank you.
- Jim
aussie
Sep 4 2003, 11:17 AM
QUOTE
Originally posted by martinjr76
after install i noticed urchin, urchin-schduler and postgrespl are all down.. will wait another 15mins and see if they come back up or not
I had to wait over 40min on one of my boxes. 15min is not waiting long enough.
GetWired
Sep 4 2003, 03:11 PM
Upgraded worked fine!
Urchins are working and showing in the green, but the fincky postgre is down, and its not running on my server.
Was this suppose to install postgre the database scripts, or just the montior, or both? Where can I find a howto on how to install postgre?
Aussie da man. Think you guys could put a cpanel tab on top of the linux network template?
aussie
Sep 4 2003, 03:24 PM
QUOTE
Originally posted by GetWired
Upgraded worked fine!
Urchins are working and showing in the green, but the fincky postgre is down, and its not running on my server.
Was this suppose to install postgre the database scripts, or just the montior, or both? Where can I find a howto on how to install postgre?
Aussie da man. Think you guys could put a cpanel tab on top of the linux network template?
You can do 1 of two things. You can remove the postgresql files because they are now installed by default, silly me! or you can install postgresql. The choice is yours.
You can install postgresql by running the follow as root;
/scripts/installpostgres
If you would rather just remove the postgresql monitoring
cd /etc/chkserv.d
rm -f postgresql
cd /var/run/chk*
rm -f postgresql
/etc/rc.d/init.d/chkservd restart
Got-Hosting
Sep 4 2003, 06:52 PM
I am having serious Urchin 5 issues.
In the admin control panel, the scheduler still says it is not running, but the service montior (thanks aussie) says it is running fine.
No graphs display for many users. Some users can click on the standard button (which gives an error) and then click on traffic and the graphs show up, but others, nothing shows up either way.
UTM does not seem to be working at all.
My process list looks like this:
24770 ? S 0:00 /usr/local/urchin4/bin/urchind
24814 ? S 0:00 /usr/local/urchin4/bin/urchind stop
25107 ? S 0:00 /usr/local/urchin4/bin/urchind
25153 ? S 0:00 /usr/local/urchin4/bin/urchind stop
31661 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31662 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31663 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31664 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31665 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31666 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31668 ? S 0:00 /usr/local/urchin4/bin/urchind
31706 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31707 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31708 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
Which seems excessive.
Anyone have thoughts?
aussie
Sep 4 2003, 07:29 PM
QUOTE
Originally posted by Got-Hosting
I am having serious Urchin 5 issues.
In the admin control panel, the scheduler still says it is not running, but the service montior (thanks aussie) says it is running fine.
No graphs display for many users. Some users can click on the standard button (which gives an error) and then click on traffic and the graphs show up, but others, nothing shows up either way.
UTM does not seem to be working at all.
My process list looks like this:
24770 ? S 0:00 /usr/local/urchin4/bin/urchind
24814 ? S 0:00 /usr/local/urchin4/bin/urchind stop
25107 ? S 0:00 /usr/local/urchin4/bin/urchind
25153 ? S 0:00 /usr/local/urchin4/bin/urchind stop
31661 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31662 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31663 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31664 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31665 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31666 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31668 ? S 0:00 /usr/local/urchin4/bin/urchind
31706 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31707 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
31708 ? S 0:00 /usr/local/urchin4/bin/urchinwebd -f /usr/local/urchi
Which seems excessive.
Anyone have thoughts?
You should probably uninstall the monitor, use the script. Then you need to find out why your Urchin is not running properly. You should not install monitoring on a system where Urchin is not running properly. Not sure what the two stop processes above are but you should probably shut Urchin down then make sure all Urchin processes a killed. Do a killall -9 urchind and then a killall -9 urchinwebd to be sure. Then start it up again. Run it for awhile. If its not running properly there is no use in installing monitoring.
The processes you listed are not excessive, at least i see about the same number of them but the STOP is whacko. I dont even know what that is. The monitor will fail if your processes look wrong.
Got-Hosting
Sep 4 2003, 08:41 PM
Okay, the uninstall seems to have worked well, and I killed all the processes and restarted urchin and it is looking good for the moment.
In ps, what is the task name for the scheduler? It still comes up as being down in the admin panel.
Thanks for your help!
martinjr76
Sep 5 2003, 08:23 AM
ok everything is green
I'm wondering if anyone have any problem after upgrading from v4 to v5? Mine stopped showing stats after upgrading to v5
GetWired
Sep 5 2003, 03:11 PM
I'm pretty sure what the script does is that it finds the version you're running, and makes the montoir watch that process.
If its not working and your sure its running, try uninstalling and installing it again.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.