Awstats Internal Server Error Centos
Contents |
Storage SAN NAS Projects About Home > Clouding, HA & HPC, IT Architecture awstats centos 5 > resolved awstats 500 internal server error after installation on awstats centos 7 centos linux resolved awstats 500 internal server error after installation on centos linux May nagios internal server error centos 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 centos cgi internal server error 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
Centos 500 Internal Server Error
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
Ubuntu Awstats
I am receiving 500 error - Internal Server Error! The requested URL caused an debian awstats internal server error I tried to copy files from this folder to my local computer. On my local computer I can see gentoo awstats all 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 http://www.doxer.org/resolved-awstats-500-internal-server-error-after-installation-on-centos-linux/ log? jnsc, Jun 19, 2009 #2 jacek_arwal New Member In my log I have [Mon Jun 22 09:34:42 2009] [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: https://www.howtoforge.com/community/threads/awstats-error-500.36783/ 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 but if I change the name of statistic to awstatswwwmysitepl2009-06.html then I can see it http://www.mysite.pl/awstats/awstatswwwmysitepl2009-06.html So it looks that dots inside names are problems. I configured ISP2 on Mandriva 2009.1 . jacek_arwal, Jun 23, 2009 #7 jnsc rotaredoM Moderator ok, I see that your domain has a .pl tld is this right? Maybe your apache is configured to handle .pl file as perl scripts jnsc, Jun 23, 2009 #8 jacek_arwal New Member I think you are right. When I remove .pl form site name it works. Is this possible to resolve it ? jacek_arwal, Jun 23, 2009 #9 jnsc rotaredoM Mod
Installing, Configuring, Troubleshooting server daemons such as Web and Mail Post Reply Print view Search Advanced search 10 posts • Page 1 of 1 ga_mo84 Posts: 2 Joined: 2006/06/05 12:21:39 Help http://www.centos.org/forums/viewtopic.php?t=40036 me Install Awstats Quote Postby ga_mo84 » 2006/07/03 11:32:29 Runing http://mysite.com/awstats/awstats.pl?co ... tc/awstats <~~~ Output 500 INTERNAL ERROR . Help me Top K_Frye Posts: 425 Joined: 2005/07/13 01:48:35 Location: Canada Re: Help me Install Awstats Quote Postby K_Frye » 2006/07/03 20:05:12 ga_mo84 wrote:Runing http://mysite.com/awstats/awstats.pl?co ... tc/awstats <~~~ Output 500 INTERNAL ERROR . Help meUse Dag Wieer's RPM if you're not using it already:http://dag.wieers.com/packages/awstats/Once the RPM is installed, look internal server at the /etc/httpd/conf.d/awstats.conf file. It should look something like:Alias /awstats/icon/ /var/www/awstats/icon/ScriptAlias /awstats/ /var/www/awstats/ DirectoryIndex awstats.pl Options ExecCGI order deny,allow deny from all allow from 127.0.0.1#Alias /css/ /var/www/awstats/css/#Alias /js/ /var/www/awstats/js/Just add in your PC's IP to the "allow from" line or reconfigure awstats.conf to use a .htaccess setup. Dag's rpm will put an 00awstats file in /etc/cron.hourly/. Next, just edit your /etc/awstats.conf file according to your needs and restart internal server error apache.To see your stats, just navigate to http://www.yoursite.com/awstats/awstats.pl Top matg Posts: 7 Joined: 2006/08/16 10:49:44 Re: Help me Install Awstats Quote Postby matg » 2006/08/26 10:39:45 which one of the rpm's do I use? (sorry noob here) Top K_Frye Posts: 425 Joined: 2005/07/13 01:48:35 Location: Canada Re: Help me Install Awstats Quote Postby K_Frye » 2006/08/26 22:36:16 matg wrote:which one of the rpm's do I use? (sorry noob here)Yum will determine that for you if you don't know.Follow Dag's instructions to setup his repo with yum:http://dag.wieers.com/home-made/apt/FAQ.php#BThen do a "yum install awstats" as root. Top matg Posts: 7 Joined: 2006/08/16 10:49:44 Re: Help me Install Awstats Quote Postby matg » 2006/08/27 11:41:22 thanks for the help but which repository RPM do I use? (see said I was noob!) Top K_Frye Posts: 425 Joined: 2005/07/13 01:48:35 Location: Canada Re: Help me Install Awstats Quote Postby K_Frye » 2006/08/27 17:49:29 matg wrote:thanks for the help but which repository RPM do I use? (see said I was noob!)That depends on what version of CentOS/Fedora you're running.If it's CentOS 4.x, use Dag's RHEL4 RPM. (i386 or x86_64 depending on what architecture you need)If it's CentOS 3.x, use Dag's RHEL3 RPM. (i386 or x86_64 depending on what archit