The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Awstats not updating

Discussion in 'General Discussion' started by seby, Oct 13, 2007.

  1. seby

    seby Well-Known Member

    Joined:
    Oct 18, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Hi all,

    I have problem with awstat on all my accounts.

    I am using WHM 11.2.0, FREEBSD 5.4

    when i try to run awstat manually for one account and getting following error.

    /scripts/runweblogs northbe

    Code:
           Log checker loaded ok..
          (internal death while parsing ) Sat Oct 13 07:30:42 2007 [22974] error: Can't locate YAML/Syck.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/lib/perl /usr/lib/perl5/5.8.7/i386-freebsd /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i386-freebsd /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.6.2_o /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/DataStore.pm line 11.
           at /usr/local/cpanel/Cpanel/DataStore.pm line 11
            Cpanel:: DataStore::BEGIN() called at YAML/Syck.pm line 11
            eval {...} called at YAML/Syck.pm line 11
            require Cpanel/DataStore.pm called at /usr/local/cpanel/Cpanel/NotifyDB.pm line 10
            Cpanel::NotifyDB::BEGIN() called at YAML/Syck.pm line 11
            eval {...} called at YAML/Syck.pm line 11
            require Cpanel/NotifyDB.pm called at /usr/local/cpanel/Cpanel/BandwidthMgr.pm line 11
            Cpanel::BandwidthMgr::BEGIN() called at YAML/Syck.pm line 11
            eval {...} called at YAML/Syck.pm line 11
            require Cpanel/BandwidthMgr.pm called at /usr/local/cpanel/cpanellogd line 27
            main::BEGIN() called at YAML/Syck.pm line 11
            eval {...} called at YAML/Syck.pm line 11
    Thanks in Advance
     
    #1 seby, Oct 13, 2007
    Last edited by a moderator: Oct 14, 2007
  2. rachelm

    rachelm Well-Known Member

    Joined:
    Jan 26, 2005
    Messages:
    94
    Likes Received:
    1
    Trophy Points:
    8
    you need to upgrade perl.

    wget http://layer1.cpanel.net/perl588installer.tar.gz
    tar xzvf perl588installer.tar.gz
    cd perl588installer
    ./install

    after it's done

    service cpanel restart

    if you still get the error run

    /scripts/checkperlmodules

    and if it reports any errors at the end then post them here
     
  3. seby

    seby Well-Known Member

    Joined:
    Oct 18, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Thanks for your reply. I have upgraded perl.

    checkperlmodules] The perl module Net::DAV::Server could not be installed

    This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:

    Test Run
    ==============
    Net::DAV::Server is installed.


    Installer Run
    ==============
    Fetching CPAN timestamp...Done
    Testing connection speed...(this could take a while)...Done
    Ping:3.386 Testing connection speed to cpan.erlbaum.net using pureperl...(176785.96 bytes/s)...Done
    Ping:3.404 Testing connection speed to cpan.belfry.net using pureperl...(176785.96 bytes/s)...Done
    Ping:0.922 Testing connection speed to cpan.glines.org using pureperl...(175775.44 bytes/s)...Done
    Three usable mirrors located
    Three usable mirrors located
    Mirror Check passed for cpan.erlbaum.net (/index.html)
    Unknown config variable 'less'
    commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
    CPAN: File::HomeDir loaded ok (v0.66)
    CPAN: Storable loaded ok (v2.16)
    Going to read /home/.cpan/Metadata
    Database was generated on Sun, 14 Oct 2007 02:36:50 GMT
    Running get for module 'Net::DAV::Server'
    CPAN: LWP::UserAgent loaded ok (v2.036)
    CPAN: Time::HiRes loaded ok (v1.9708)
    Fetching with LWP:
    http://cpan.erlbaum.net/authors/id/B/BR/BRONG/Net-DAV-Server-1.29.tar.gz
    CPAN: YAML loaded ok (v0.66)
    CPAN: Digest::SHA loaded ok (v5.45)
    Fetching with LWP:
    http://cpan.erlbaum.net/authors/id/B/BR/BRONG/CHECKSUMS
    Checksum for /home/.cpan/sources/authors/id/B/BR/BRONG/Net-DAV-Server-1.29.tar.gz ok
    x Net-DAV-Server-1.29/
    x Net-DAV-Server-1.29/CHANGES
    x Net-DAV-Server-1.29/META.yml
    x Net-DAV-Server-1.29/litmus_test/
    x Net-DAV-Server-1.29/litmus_test/litmus.out
    x Net-DAV-Server-1.29/litmus_test/litmus.pl
    x Net-DAV-Server-1.29/lib/
    x Net-DAV-Server-1.29/lib/Net/
    x Net-DAV-Server-1.29/lib/Net/DAV/
    x Net-DAV-Server-1.29/lib/Net/DAV/Server.pm
    x Net-DAV-Server-1.29/MANIFEST
    x Net-DAV-Server-1.29/TODO
    x Net-DAV-Server-1.29/t/
    x Net-DAV-Server-1.29/t/pod.t
    x Net-DAV-Server-1.29/Build.PL
    x Net-DAV-Server-1.29/Makefile.PL
    x Net-DAV-Server-1.29/README
    CPAN: File::Temp loaded ok (v0.18)
    CPAN: Module::Build loaded ok (v0.2808)
    Running install for module 'Net::DAV::Server'
    Running make for B/BR/BRONG/Net-DAV-Server-1.29.tar.gz
    CPAN: Digest::SHA loaded ok (v5.45)
    CPAN: Compress::Zlib loaded ok (v1.42)
    Checksum for /home/.cpan/sources/authors/id/B/BR/BRONG/Net-DAV-Server-1.29.tar.gz ok
    x Net-DAV-Server-1.29/
    x Net-DAV-Server-1.29/CHANGES
    x Net-DAV-Server-1.29/META.yml
    x Net-DAV-Server-1.29/litmus_test/
    x Net-DAV-Server-1.29/litmus_test/litmus.out
    x Net-DAV-Server-1.29/litmus_test/litmus.pl
    x Net-DAV-Server-1.29/lib/
    x Net-DAV-Server-1.29/lib/Net/
    x Net-DAV-Server-1.29/lib/Net/DAV/
    x Net-DAV-Server-1.29/lib/Net/DAV/Server.pm
    x Net-DAV-Server-1.29/MANIFEST
    x Net-DAV-Server-1.29/TODO
    x Net-DAV-Server-1.29/t/
    x Net-DAV-Server-1.29/t/pod.t
    x Net-DAV-Server-1.29/Build.PL
    x Net-DAV-Server-1.29/Makefile.PL
    x Net-DAV-Server-1.29/README
    CPAN: File::Temp loaded ok (v0.18)
    CPAN: YAML loaded ok (v0.66)
    CPAN: Module::Build loaded ok (v0.2808)


    CPAN.pm: Going to build B/BR/BRONG/Net-DAV-Server-1.29.tar.gz


    Checking if your kit is complete...
    Looks good
    Warning: XML::LibXML compiled against libxml2 20623, but runtime libxml2 is older 20618
    Writing Makefile for Net::DAV::Server
    cp lib/Net/DAV/Server.pm blib/lib/Net/DAV/Server.pm
    Manifying blib/man3/Net::DAV::Server.3
    BRONG/Net-DAV-Server-1.29.tar.gz
    /usr/bin/make -- OK
    Running make install
    Writing /usr/lib/perl5/site_perl/5.8.8/i386-freebsd/auto/Net/DAV/Server/.packlist
    Appending installation info to /usr/lib/perl5/5.8.8/i386-freebsd/perllocal.pod
    BRONG/Net-DAV-Server-1.29.tar.gz
    /usr/bin/make install UNINST=1 -- OK
    perlmod--Install done

    When i clicked Update now button on cpanel, now getting following error

    Error: Failed to write temporary history file

    Setup ('/home/agreenco/tmp/awstats/awstats.agreencoltd.com.conf' file, web server or permissions) may be wrong.
    Check config file, permissions and AWStats documentation (in 'docs' directory).
     
  4. seby

    seby Well-Known Member

    Joined:
    Oct 18, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    Now I can update awstat using Update now button.
     
Loading...

Share This Page