[solved] awstats install problem on OS X

Discussion in 'Bug Reports' started by urs, Feb 28, 2011.

  1. urs

    urs New Member

    Would you like to install AWStats Add-on module [y/N]? y


    gzip: awstats-6.9.tar.gz: not in gzip format
    find: ./awstats-6.9: No such file or directory
    usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [# [ n]]] mode|entry file ...
    chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...
    chown: root: Invalid argument
    [INFO] Removing old symbolic link.
    [INFO] Creating a symbolic link from './awstats-6.9' to './awstats'
    [OK] AWStats 6.9 has been successfully installed as a litespeed
    add-on module.

    Congratulations! The LiteSpeed Web Server has been successfully installed.
    Command line script - "/usr/local/lsws/bin/lswsctrl"
    can be used to start or stop the server.
    Last edited by a moderator: Mar 1, 2011
  2. webizen

    webizen New Member

    download and install 4.0.20 again. ignore "chown: root: Invalid argument" message.
  3. urs

    urs New Member

    I think it was the same file i redownloaded and the same result


    Chroot is disabled with your current setup.

    Would you like to change chroot settings [y/N]?


    Installing, please wait...


    AWStats Integration

    AWStats is a popular log analyzer that generates advanced web server
    statistics. LiteSpeed web server seamlessly integrates AWStats into
    its Web Admin Interface. AWStats configuration and statistics update
    have been taken care of by LiteSpeed web server.

    Note: If AWStats has been installed already, you do not need to
    install again unless a new version of AWStats is available.

    Would you like to install AWStats Add-on module [y/N]? y


    gzip: awstats-6.9.tar.gz: not in gzip format
    usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a [# [ n]]] mode|entry file ...
    chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...
    chown: root: Invalid argument
    chown: awstats-6.9: No such file or directory
    [INFO] Removing old symbolic link.
    [INFO] Creating a symbolic link from './awstats-6.9' to './awstats'
    [OK] AWStats 6.9 has been successfully installed as a litespeed
    add-on module.

    Congratulations! The LiteSpeed Web Server has been successfully installed.
    Command line script - "/usr/local/lsws/bin/lswsctrl"
    can be used to start or stop the server.
  4. webizen

    webizen New Member

    remove your local copy and download again. the file (for OSX) on server was updated a couple hours ago.
  5. urs

    urs New Member

    i done that. dmg is from 5 AM (CH-time) this morning, same result....
  6. webizen

    webizen New Member

    do following in your expanded package directory (e.g. lsws-4.0.20):
    and paste your output here.
  7. urs

    urs New Member

    ulc-dmz:lsws-4.0.20 admin$ egrep 'wget|curl' admin/misc/awstats_install.sh
    wget --timeout=5 "http://easynews.dl.sourceforge.net/sourceforge/awstats/awstats-$AWS_VER.tar.gz"
    echo "WGET failed, try curl"
    curl -L "http://easynews.dl.sourceforge.net/sourceforge/awstats/awstats-$AWS_VER.tar.gz" -o awstats-$AWS_VER.tar.gz
    curl -L "http://easynews.dl.sourceforge.net/sourceforge/awstats/awstats-$AWS_VER.tar.gz" -o awstats-$AWS_VER.tar.gz
    ulc-dmz:lsws-4.0.20 admin$
  8. webizen

    webizen New Member

    try below commands:
    where /usr/local/lsws is the lsws install directory.
  9. urs

    urs New Member

    Great! It woks! Thanks a lot!
  10. urs

    urs New Member

    Now, one domain works!
    The second didn't

    Logfile:
    2011-03-01 14:02:39.211 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
  11. webizen

    webizen New Member

    manually remove the file (i.e. aqulach_acc.log.awstats) if this error keeps coming up.
  12. urs

    urs New Member

    there is no such file

    /usr/local/lsws/logs/aqulach_acc.log.awstats

    there is only /usr/local/lsws/logs/aqulach_acc.log
    Last edited: Mar 2, 2011
  13. webizen

    webizen New Member

    is the error still happening? if no, then you should be fine.
    Last edited: Mar 2, 2011
  14. urs

    urs New Member

    2011-03-01 22:00:02.213 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
    2011-03-01 23:00:02.260 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
    2011-03-02 00:00:02.476 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
    2011-03-02 01:00:02.236 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
    2011-03-02 02:00:02.247 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
    2011-03-02 03:00:02.258 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
    2011-03-02 04:00:02.255 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
    2011-03-02 05:00:02.271 ERROR File already exists: [/usr/local/lsws/logs/aqulach_acc.log.awstats], Awstats updating might be in progress.
  15. webizen

    webizen New Member

    try change "update offset (secs)" to 300 (Web Console -> Configuration -> Virtual Hosts -> Add-on -> AWStats Integration)
  16. urs

    urs New Member

    I've found it! My fault! There was a second VH configuration on the same directory and this was the error....
    Thanks a lot for your help!
  17. urs

    urs New Member

    What is your problem? Please describe it....

Share This Page