Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

AWstats 7.0 not updating automatically

Posted on 2011-02-14
12
Medium Priority
?
651 Views
Last Modified: 2012-05-11
I setup AWstats and it won't update automatically. The account that needs permissions is Internet Guest User, right? I might have missed a step that sets up new text files but after a few days it won't create the text files where the stats are stored. Also, if I manually update (command prompt), it has an error unless I manually add a text file with the correct name and manually update again.
0
Comment
Question by:rpmccly
  • 7
  • 5
12 Comments
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 34887890
Are you running a public website on your SBS Server?
0
 
LVL 1

Author Comment

by:rpmccly
ID: 34888161
Yes
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 34888256
Well first I feel obliged to point out that this is a very bad idea and threatens the security of the whole network.

With regard to your question, did the install create the http.conf file
Have you reviewed the permissions on each of the paths layed out in that file?

Have you verified the log file format according to the instructions here?
http://awstats.sourceforge.net/docs/awstats_setup.html
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
LVL 1

Author Comment

by:rpmccly
ID: 34888283
Can you explain the security issue in more detail? Why does it threaten the security?

I used that link to set it up in the first place, the conf file the setup made was the "awstats.mysite.conf"
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 34888336
There are a couple of issues
1. Port 80 is the singularly most attacked port on the internet
2. Allowing anonymous access to your server creates the potential for folks to drop all kinds of bad things on the server

Secondly,  having apache and iis on the same box is going to eventually cause port/application conflicts

I understand the site was created but inside the http.conf file it should spell out the path and format for your logging.   That's where you'll need to verify permissions
0
 
LVL 1

Author Comment

by:rpmccly
ID: 34890480
Are you thinking it is a bad idea because of giving rights to the Internet Guest account? I could see why you would say that but if they are only given rights to the folders where the txt log files are, they shouldn't be able to get into anything correct?
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 34890741
Hosting any public facing website on port 80 and is open to the entire world is a huge security risk.  None of my customers host their public website on their SBS server because of the risk to their confidential information.   And no company I've ever worked for in the past has ever hosted their public website on their server that also hosts their private information

Web servers which face the public are always stand alone boxes which have no direct connection to the private servers
0
 
LVL 1

Author Comment

by:rpmccly
ID: 34890821
ok, I might look into getting another computer for the public website. It would still have to be on the network though right? When you say direct connection, what do you mean? Would it be fairly simple to setup the new computer? Could I just move the files to the new computer and redirect IIS to those files? Or how would I do that?

Thanks for your concern.
0
 
LVL 35

Expert Comment

by:Cris Hanna
ID: 34891580
The new computer can be plugged into the network, but should not be joined to the domain
Give it a Static IP
Create the website on the new computer
Forward port 80 from the router to the new computer.
0
 
LVL 1

Author Comment

by:rpmccly
ID: 34929025
I have the manual update working now but how do I get it to automatically update?
0
 
LVL 1

Accepted Solution

by:
rpmccly earned 0 total points
ID: 34960627
I used Task Scheduler to get it to automatically update.
0
 
LVL 1

Author Closing Comment

by:rpmccly
ID: 34995330
Make a shortcut to your awstats with the update command. Then schedule a task, starting in your perl folder then where your awstats file is.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Screencast - Getting to Know the Pipeline

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question