#1  
Old 5th September 2005, 16:00
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default Help config Awstats

I have installed FC3 Awstats RPM. I think I have it configured correctly and from webmin, all the settings seam to be correct. I ran an update without errors and not getting errors when I set to update in cron. The only problem is, when I try to browse the main server domain awstats directory, I get an internal server error.

I tailed the error log but perl just doesn't give enough info on the error in order for me to t-shoot. Here is the error.

Quote:
[Mon Sep 05 08:05:24 2005] [error] [client 210.5.xxx.xxx] Premature end of script headers: awstats.pl,
Anyone successful in getting awstats to work, help me pleas?
Reply With Quote
Sponsored Links
  #2  
Old 5th September 2005, 16:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,787
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

Quote:
Originally Posted by domino
I have installed FC3 Awstats RPM. I think I have it configured correctly and from webmin, all the settings seam to be correct. I ran an update without errors and not getting errors when I set to update in cron. The only problem is, when I try to browse the main server domain awstats directory, I get an internal server error.

I tailed the error log but perl just doesn't give enough info on the error in order for me to t-shoot. Here is the error.



Anyone successful in getting awstats to work, help me pleas?
My answer is not AW-Stats specific, but maybe it helps anyway.

Does the perl script belong to the correct user and group and has the rights 755. Is the path to the perl interpreter correct in the head of the script?
Reply With Quote
  #3  
Old 5th September 2005, 16:42
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

Yes, I chmodded 755 and 777 awstats.pl and chown site1owner.site1group, based on the user wheel. Should have set it to apache.apache? The shabang location for perl is in the right place. Do you think it would help to set the permission to ALL files and folders under the cgi-bin dir?
Reply With Quote
  #4  
Old 5th September 2005, 20:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,787
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

Quote:
Originally Posted by domino
Yes, I chmodded 755 and 777 awstats.pl and chown site1owner.site1group, based on the user wheel. Should have set it to apache.apache? The shabang location for perl is in the right place. Do you think it would help to set the permission to ALL files and folders under the cgi-bin dir?
Yes, i think it must be apache:apache.

If this wont help, i would try to set the permissions to the other files too. But make a backup of the files with existing permissions before
Reply With Quote
  #5  
Old 6th September 2005, 06:47
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
 
Default

Ok. setting tarred the entire awstats directory . I just changed user and group to apache and gave everything inside the cgi-bin 755. Seams to work fine now. Thanks for the directions.
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd config misterm Installation/Configuration 0 29th August 2005 10:28
ISP Config as mailserver roberto8080 Installation/Configuration 5 25th August 2005 17:54
DNS Config Problem bolinux Installation/Configuration 27 20th August 2005 16:12
Config file templates till Developers' Forum 0 30th July 2005 23:10
Use kernel 2.4 config for kernel 2.6? rookie Kernel Questions 1 20th May 2005 15:15


All times are GMT +2. The time now is 15:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.