Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: edb on February 25, 2011, 06:20:32 AM

Title: Install of AWSTATS on SME8b6
Post by: edb on February 25, 2011, 06:20:32 AM
I just installed awstats but it does not appear under the Administration section of Server Manager.
I issued the following commands:
Code: [Select]
yum --enablerepo=smecontribs install awstats
Code: [Select]
signal-event post-upgrade; signal-event reboot
Not sure why it is not appearing in Server manager so any suggestions are appreciated.
Thanks
Title: Re: Install of AWSTATS on SME8b6
Post by: cactus on February 25, 2011, 04:54:08 PM
You also need smeserver-awstats as that is the package that should bind the package into server-manager. Since contribs are not officially released on SME Server 8 you will have to follow a slightly different approach as detailed in http://wiki.contribs.org/SME8.0_Contribs_QA . Please keep in mind that using SME Server 8.x which is still beta you are in unsupported territory and you should investigate and read documentation.

Please do not post questions on non stock SME Server questions in SME Server x.y forums (see the forum descriptions at http://forums.contribs.org) as they are off topic there. Moving to General Discussion where it is more appropriate.
Title: Re: Install of AWSTATS on SME8b6
Post by: edb on February 25, 2011, 08:41:24 PM
Thanks and dually noted about the general discussion section!
Title: Re: Install of AWSTATS on SME8b6
Post by: edb on February 25, 2011, 08:46:24 PM
Hi Cactus

That's my problem since I cannot find the smeserver-awstats package anywhere?
Things used to be easy to find but now it appears that there are just links to no where.
Title: Re: Install of AWSTATS on SME8b6
Post by: Stefano on February 25, 2011, 10:18:26 PM
did you setup the sme7contribs?
Title: Re: Install of AWSTATS on SME8b6
Post by: edb on February 25, 2011, 10:39:15 PM
I didn't know you could setup an SME7contribs repo on SME8?
Is there a particular command for doing so and is it wise?
Is there a download link that I may download it and then do a yum localinstall?
Title: Re: Install of AWSTATS on SME8b6
Post by: edb on February 26, 2011, 05:57:40 AM
Ok, thank you to both of you for pointing me in the right direction!

I finally found the "Create a repo named sme7contribs, which points at the SME7 smecontribs repo" from the instructions here:
http://wiki.contribs.org/SME8.0_Contribs_QA (http://wiki.contribs.org/SME8.0_Contribs_QA) followed the instructions to create the new repo.

Then installed with
Code: [Select]
yum --enablerepo=sme7contribs install smeserver-awstatsfollowed by
Code: [Select]
signal-event post-upgrade; signal-event reboot
Worked perfectly fine!
Thanks again

-edb

Title: Re: Install of AWSTATS on SME8b6
Post by: cactus on February 26, 2011, 09:00:48 AM
I finally found the "Create a repo named sme7contribs, which points at the SME7 smecontribs repo" from the instructions here:
http://wiki.contribs.org/SME8.0_Contribs_QA (http://wiki.contribs.org/SME8.0_Contribs_QA) followed the instructions to create the new repo.
There was a reason why I provided that link:

You also need smeserver-awstats as that is the package that should bind the package into server-manager. Since contribs are not officially released on SME Server 8 you will have to follow a slightly different approach as detailed in http://wiki.contribs.org/SME8.0_Contribs_QA .
Title: Re: Install of AWSTATS on SME8b6
Post by: edb on February 26, 2011, 06:52:39 PM
Yes, and thank you for providing that link Cactus!
It took me a while to understand the relevance but it finally clicked when Stefano ask if I setup the sme7contribs.
Appreciate the help.

-edb
Title: Re: Install of AWSTATS on SME8b6
Post by: edb on March 01, 2011, 05:08:54 AM
After waiting for a couple days to build stats it appears that something is very wrong as AWStats is always empty.
So I removed via
Code: [Select]
yum remove smeserver-awstats then
Code: [Select]
signal-event post-upgrade; signal-event reboot
After the reboot I try to install again and notice (this time)
Code: [Select]
awstats-6.95-2.el5.noarch 44% [======-        ] 210 kB/s | 584 kB     00:03 ETA
awstats-6.95-2.el5.noarch 53% [========       ] 219 kB/s | 696 kB     00:02 ETA
awstats-6.95-2.el5.noarch 61% [=========      ] 227 kB/s | 808 kB     00:02 ETA
awstats-6.95-2.el5.noarch 69% [==========     ] 234 kB/s | 912 kB     00:01 ETA
awstats-6.95-2.el5.noarch 78% [===========-   ] 242 kB/s | 1.0 MB     00:01 ETA
awstats-6.95-2.el5.noarch 87% [=============  ] 249 kB/s | 1.1 MB     00:00 ETA
awstats-6.95-2.el5.noarch 95% [============== ] 255 kB/s | 1.2 MB     00:00 ETA
awstats-6.95-2.el5.noarch.rpm                            | 1.3 MB     00:03

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : awstats                                                  1/2
  Installing     : smeserver-awstats                                        2/2
[b]cp: cannot stat `/var/www/awstats/icon/*': No such file or directory
cp: cannot stat `/var/www/awstats/awstats.pl': No such file or directory
cp: cannot stat `/var/www/awstats/lang': No such file or directory
cp: cannot stat `/var/www/awstats/lib': No such file or directory
cp: cannot stat `/var/www/awstats/plugins': No such file or directory[/b]
AWStats upgrade complete
Migrating existing database yum_updates
Migrating existing database yum_installed
Migrating existing database hosts
Migrating existing database accounts
Migrating existing database networks
Migrating existing database configuration
Migrating existing database yum_repositories
Migrating existing database yum_available
Migrating existing database backups
Migrating existing database spamassassin
Migrating existing database mailpatterns
Migrating existing database domains

Installed:
  smeserver-awstats.noarch 0:1.2-7.el4.sme

Dependency Installed:
  awstats.noarch 0:6.95-2.el5

After a reboot I enable AWStats but everything looks the same as the first time again.

Is there something wrong with the package maybe that it is a newer version that what may have been previously tested.
It was listed on the list of packages that appear to work on SME8 but I guess it doesn't which is a real bummer.