LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [solved] awstats install problem on OS X

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2011, 01:19 PM
urs urs is offline
Senior Member
 
Join Date: Feb 2011
Posts: 59
Default [solved] awstats install problem on OS X

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 [i][# [ 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 NiteWave; 03-01-2011 at 01:53 AM..
Reply With Quote
  #2  
Old 02-28-2011, 08:34 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
download and install 4.0.20 again. ignore "chown: root: Invalid argument" message.
Reply With Quote
  #3  
Old 02-28-2011, 10:47 PM
urs urs is offline
Senior Member
 
Join Date: Feb 2011
Posts: 59
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 [i][# [ 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.
Reply With Quote
  #4  
Old 02-28-2011, 10:54 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
remove your local copy and download again. the file (for OSX) on server was updated a couple hours ago.
Reply With Quote
  #5  
Old 02-28-2011, 10:59 PM
urs urs is offline
Senior Member
 
Join Date: Feb 2011
Posts: 59
i done that. dmg is from 5 AM (CH-time) this morning, same result....
Reply With Quote
  #6  
Old 02-28-2011, 11:49 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
do following in your expanded package directory (e.g. lsws-4.0.20):
Quote:
egrep 'wget|curl' admin/misc/awstats_install.sh
and paste your output here.
Reply With Quote
  #7  
Old 03-01-2011, 12:06 AM
urs urs is offline
Senior Member
 
Join Date: Feb 2011
Posts: 59
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$
Reply With Quote
  #8  
Old 03-01-2011, 01:09 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
try below commands:
Quote:
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.
Reply With Quote
  #9  
Old 03-01-2011, 01:36 AM
urs urs is offline
Senior Member
 
Join Date: Feb 2011
Posts: 59
Great! It woks! Thanks a lot!
Reply With Quote
  #10  
Old 03-01-2011, 05:22 AM
urs urs is offline
Senior Member
 
Join Date: Feb 2011
Posts: 59
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:14 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.