500 Internal Server Error Awstats
Storage SAN NAS Projects About Home > Clouding, HA & HPC, IT Architecture > resolved awstats 500 internal server error after installation on centos linux resolved awstats 500 internal server error after installation on centos linux May 21st, 2012 After installation of awstats on centos according to official installation guide, the dynamically view from browser was rendering ok, i.e. http://www.mysite.com/awstats/awstats.pl?config=mysite was ok and I can see statistics with no problem. However, when I tried view the static html page generated by perl ./awstats.pl -config=mysite -output -staticlinks > awstats.mysite.html, there was 500 internal server error when visiting this page: http://www.mysite.com/awstats/awstats.mysite.html. This is quite weird because usually the ones that complain about 500 internal server error are usually dynamically generated pages such as php pages or perl cgi script pages. But this problem was that only static html page gave 500 internal server error, and the dynamically generated pages were ok to render. I tried moving the html file to some other virtualhost and it's ok to render without the horrible 500 internal server error: statistics looked good and all icons were ok. The configuration of awstats in httpd conf file was like this: [root@doxer awstats]# cat /etc/httpd/conf.d/awstats.conf Alias /awstats/icon/ /var/www/awstats/icon/ ScriptAlias /awstats/ /var/www/awstats/
have installed awstats http://www.howtoforge.org/awstats_ispconfig , I I made some changes ( newer versions ). AWStats generates data. When I log into mypage/awstats I can see mypage 2009 06 When I press 06 I am redirected to mypage/awstats/...2009-06.html and I am receiving 500 error - Internal Server Error! The requested URL caused an internal server error I tried to copy files from this folder to my local computer. On my local computer I can see all http://www.doxer.org/resolved-awstats-500-internal-server-error-after-installation-on-centos-linux/ of them. They are OK. So I think that this is a problem of permissions. Please help ; Jacek jacek_arwal, Jun 19, 2009 #1 jnsc rotaredoM Moderator what is in your apache error log? jnsc, Jun 19, 2009 #2 jacek_arwal New Member In my log I have [Mon Jun 22 09:34:42 2009] https://www.howtoforge.com/community/threads/awstats-error-500.36783/ [error] [client 89.76.235.124] (13)Permission denied: exec of '/var/www/web3/web/awstats/awstats.www.mysite.2009-06.html' failed, referer: http://www.mysite/awstats/ [Mon Jun 22 09:34:42 2009] [error] [client 89.76.235.124] Premature end of script headers: awstats.www.mysite.2009-06.html, referer: http://www.mysite/awstats/ mysite means a name of my site jacek_arwal, Jun 22, 2009 #3 jnsc rotaredoM Moderator What is the output of this 2 commands? Code: ls -la /var/www/web3/web/awstats/awstats.www.mysite.2009-06.html Code: ls -ld /var/www/web3/web/awstats jnsc, Jun 22, 2009 #4 jacek_arwal New Member Answers are : -rw-r--r-- 1 myuser_name web3 79737 2009-06-22 04:00 /var/www/web3/web/awstats/awstats.www.mysite.2009-06.html drwxr-xr-x 2 myuser_name web3 4096 2009-06-22 04:00 /var/www/web3/web/awstats/ jacek_arwal, Jun 22, 2009 #5 jnsc rotaredoM Moderator That looks fine. What version did you use? As it's simple html I don't see what could produce the 500 error jnsc, Jun 22, 2009 #6 jacek_arwal New Member It is the newest vesrison from your site RC2. I think I found the reason but I don't know a solution. If I try to access a statistic by : http://www.mysite.pl/awstats/awstats.www.mysite.pl.2009-06.html I receive 500 Error b
several visits during this period, it is counted only once. Visitors are tracked by IP address, so if multiple users are accessing http://www.awstats.org/docs/awstats_glossary.html your site from the same IP (such as a home or office network), they will be counted as a single unique visitor. The period shown by AWStats reports is by default the current http://www.jodohost.com/blog/entry/awstats-is-showing-500-internal-server-error/ month. However if you use AWStats as a CGI you can click on the "year" link to have a report for all the year. In such a report, period is a full year, 500 internal so Unique Visitors are number of hosts that have made at least 1 hit on 1 page of your web site during the year. Visits: Number of visits made by all visitors. Think "session" here, say a unique IP accesses a page, and then requests three other pages within an hour. All of the "pages" are included in the visit, therefore you should expect multiple 500 internal server pages per visit and multiple visits per unique visitor (assuming that some of the unique IPs are logged with more than an hour between requests) Pages: The number of "pages" viewed by visitors. Pages are usually HTML, PHP or ASP files, not images or other files requested as a result of loading a "Page" (like js,css... files). Files listed in the NotPageList config parameter (and match an entry of OnlyFiles config parameter if used) are not counted as "Pages". Hits: Any files requested from the server (including files that are "Pages") except those that match the SkipFiles config parameter. Bandwidth: Total number of bytes for pages, images and files downloaded by web browsing. Note 1: Of course, this number includes only traffic for web only (or mail only, or ftp only depending on value of LogType). Note 2: This number does not include technical header data size used inside the HTTP or HTTPS protocol or by protocols at a lower level (TCP, IP...). Because of two previous notes, this number is often lower than bandwith reported by your provider (your provider counts in most cases bandwitdh at a lower level and includes all IP a
and Reseller CP Support Center Billing and Support Center Plesk Linux, Windows, Domains VPS Customers Control Panel Virtuozzo VPS Support Center Hyper-V VPS Support Center Admin Control Panel Hyper-V VPS Support Center Domain Control Panel Customers Resellers Login 24x7x365 Presence 1-888-289-2246 Live Chat JodoHost VPS Linux Windows Hosting Home Web Hosting Windows Hosting Plesk Control Panel H-Sphere Control Panel Linux Hosting Plesk Control Panel H-Sphere Control Panel Reseller Hosting Semi-Dedicated Server Hosting Windows w/H-sphere Control Panel Linux w/H-sphere Control Panel SSL Digital Certificates VPS Hosting Hyper-V Windows VPS Cloud Linux VPS Support Pre-Sales FAQ After-Sales Help Forums Legal Currency Converter Company Why Us Contact Us Deals Hosting Blog AWStats showing the 500 Internal Server Error? Sometimes, when you check AWStats for your domain you see the 500 Internal Server error using the url http://domain/cgi-bin/awstats.pl and there are several possible ways to check and fix this error. 1. We need to check the permissions of the cgi-bin directory and the files inside that directory under the domain name. They must be set to 755.2. If that doesn't solve your problem, we need to check the memory/process limit options in the plan of that specific account. If they are enabled, we need to disable them and save the plan.3. After that save the site configuration in the H-Sphere control panel on the web services page of the domain and recheck AWStats - it should work fine after this. Sachin Wednesday 26 June 2013 - 8:23 pm | ¶ | Default Used tags: 500, awstats, cgi_bin, control, controlpanel, domain, error, hsphere, panel No comments Please enable Javascript (and reload this page) to add any comments. Name Email (optional field) URL (optional field) Comment Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor. Remember personal info? Yes, give me a cookie and remember me. Small print: All html tags except and will be removed from your comment. You can make links by just typing the url or mail-address. « Steps to add a domain… | Home | Steps to make your pa… » JodoHost - 26,000 hosting end-users in 100 countries Plesk Web Hosting Windows Web Hosting$3.95 Linux Web Hosting$3.95 VPS Hosting Windows VPS Hosting$29.95 Linux VPS Hosting$11.95 H-Sphere Web Hosting Windows Web Hosting$2.95 Linux Web Hosting$2.95 Windows Semi-dedicated Hosting$69.00 Linux Semi-dedicated Hosting$59.00 Reseller Web Hosting$18.75 Other Services SSL Digital Certificates$9