[solved] awstats install problem on OS X

urs

Well-Known Member
#1
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:

urs

Well-Known Member
#3
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.
 

urs

Well-Known Member
#7
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$
 

webizen

Well-Known Member
#8
try below commands:
rm -rf /usr/local/lsws/add-ons/awstats-6.9
rm -rf /usr/local/lsws/add-ons/awstats-6.9.tar.gz
sh -xv /usr/local/lsws/admin/misc/awstats_install.sh
where /usr/local/lsws is the lsws install directory.
 

urs

Well-Known Member
#10
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.
 

urs

Well-Known Member
#12
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:

urs

Well-Known Member
#14
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.
 

urs

Well-Known Member
#16
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!
 
Top