Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AWstats 7.0 not updating automatically

Posted on 2011-02-14
12
Medium Priority
?
645 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The SBS 2011 release date (RTM) is supposed to be around Christmas, 2011.  This article is a compilation of my notes -- things I have learned first hand.  The items are in a rather random order, but I think this list covers most of what is new and d…
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

660 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