
5th September 2005, 17:00
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
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?
|

5th September 2005, 17:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,796
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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?
|

5th September 2005, 17:42
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
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?
|

5th September 2005, 21:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,796
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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
|

6th September 2005, 07:47
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 18:15.
|
Recent comments
9 hours 42 min ago
14 hours 58 min ago
15 hours 9 min ago
15 hours 17 min ago
16 hours 19 min ago
18 hours 27 min ago
20 hours 52 min ago
21 hours 10 min ago
21 hours 18 min ago
22 hours 34 min ago