AWStats web statistics page does not work as expected

Follow

Comments

6 comments

  • Avatar
    Luis Zubeldia

    step 2, wich file i have to put Enable=0 ?

     

    -rw-r--r-- 1 root root 1664 nov 29 19:12 CentOS-Base.repo
    -rw-r--r-- 1 root root 1309 nov 29 19:12 CentOS-CR.repo
    -rw-r--r-- 1 root root 649 nov 29 19:12 CentOS-Debuginfo.repo
    -rw-r--r-- 1 root root 314 nov 29 19:12 CentOS-fasttrack.repo
    -rw-r--r-- 1 root root 630 nov 29 19:12 CentOS-Media.repo
    -rw-r--r-- 1 root root 1331 nov 29 19:12 CentOS-Sources.repo
    -rw-r--r-- 1 root root 2893 nov 29 19:12 CentOS-Vault.repo
    -rw-r--r-- 1 root root 957 dic 27 18:37 epel.repo
    -rw-r--r-- 1 root root 1056 dic 27 18:37 epel-testing.repo
    -rw-r--r-- 1 root root 353 may 2 07:55 plesk-migrator.repo
    -rw-r--r-- 1 root root 614 may 2 03:32 plesk.repo
    -rw-r--r-- 1 root root 636 may 2 06:12 tortix-common.repo

  • Avatar
    Nikolay Zhmuk

    2Luis, to all of them, except the following ones:

    -rw-r--r-- 1 root root 1664 nov 29 19:12 CentOS-Base.repo
    -rw-r--r-- 1 root root 1331 nov 29 19:12 CentOS-Sources.repo
    -rw-r--r-- 1 root root 2893 nov 29 19:12 CentOS-Vault.repo
    -rw-r--r-- 1 root root 353 may 2 07:55 plesk-migrator.repo
    -rw-r--r-- 1 root root 614 may 2 03:32 plesk.repo
    -rw-r--r-- 1 root root 636 may 2 06:12 tortix-common.repo

    To verify that proper package is installed, find awstat package and retrieve the information about the vendor:

    # rpm -qa | grep awstat
    awstats-7.4-centos7.17031414.noarch
    # rpm -qi awstats-7.4-centos7.17031414.noarch | grep Vendor
    Vendor : Plesk

  • Avatar
    Petr Voinov

    when epel (or other third party repo) is enabled, you can simply put:

    exclude=awstats*

    line at /etc/yum.repos.d/epel.repo, [epel] section.

    After this:

    1. yum remove awstats

    2. run pleks autoinstaller and reinstall awstats there.

    This will allow normal yum updates afterwards.

     

  • Avatar
    Pavel Mikhaylov (Edited )

    Hello Petr,

    Thank you for your input.

    The article has been modified with consideration of your recommendations.

  • Avatar
    Eric Bardoul

    Bonjour, 

    Le point 3 n'est pas clair pour le néophyte que je suis.

    Quels sont les référentiels tiers ? Ceux qui ne commencent pas par plesk ni par CentOS ?

    Ou faut il ajouter exclude=awstats* exactement ? A la fin ? Dans une section précise ?

    J'ai fait l'ajout en début de tous les fichiers trouvés qui ne commencent pas par plesk et j'ai une erreur  à l'étape 4 :

    File contains no section headers.
    file: file:///etc/yum.repos.d/CentOS-Base.repo, line: 13
    'exclude=awstats*\n'

    Merci de votre aide.

  • Avatar
    Ivan Postnikov

    @Eric, 

    > What are the third-party repositories? Those who do not start with plesk or CentOS?

    Yes, you are correct. These are repositories not provided by Plesk or CentOS.

    > Or should we add exclude=awstats* exactly? At the end ? In a specific section?

    Usually, it is enough to end at the end of the repository file.

    An example may be found here

Please sign in to leave a comment.

Have more questions? Submit a request