AWStats Internal Server Error

AWStats Internal Server Error

Hello,

I just enabled AWStats on my DirectAdmin server and are now trying it out.
Im running suPHP.

When visiting the url with /awstats I get a ‚Internal Server Error’. Viewing the different logs gives me this info:

Site error log (/var/log/httpd/domains/domain.com.error.log

Code:

Tue Apr 10 11:36:20 2012] [error] [client x.x.x.x] fopen: Permission denied
[Tue Apr 10 11:36:20 2012] [error] [client x.x.x.x] Premature end of script headers: awstats.pl


And /var/log/httpd/suexec_log

Code:

[2012-04-10 11:36:20]: uid: (1051/a589214) gid: (1053/1053) cmd: awstats.pl


My permissions are as follows:

Code:

/home/a589214/domains/domain.com

drwxr-xr-x  3 a589214 a589214 4096 2012-04-10 11:31 awstats


Code:

web1:/home/a589214/domains/domain.com/awstats# ls -al

drwxr-xr-x 3 a589214 a589214  4096 2012-04-10 11:40 .
drwx--x--x 8 a589214 a589214  4096 2012-04-10 11:31 ..
-rw-r--r-- 1 root    root      5846 2012-04-10 11:40 awstats.domain.com.1204.alldomains.html
-rw-r--r-- 1 root    root      8621 2012-04-10 11:40 awstats.domain.com.1204.allhosts.html
-rw-r--r-- 1 root    root      6886 2012-04-10 11:40 awstats.domain.com.1204.allrobots.html
-rw-r--r-- 1 root    root      9007 2012-04-10 11:40 awstats.domain.com.1204.browserdetail.html
-rw-r--r-- 1 root    root      5462 2012-04-10 11:40 awstats.domain.com.1204.errors404.html
-rw-r--r-- 1 root    root    73906 2012-04-10 11:40 awstats.domain.com.1204.html
-rw-r--r-- 1 root    root      5420 2012-04-10 11:40 awstats.domain.com.1204.keyphrases.html
-rw-r--r-- 1 root    root      5514 2012-04-10 11:40 awstats.domain.com.1204.keywords.html
-rw-r--r-- 1 root    root      8629 2012-04-10 11:40 awstats.domain.com.1204.lasthosts.html
-rw-r--r-- 1 root    root      6876 2012-04-10 11:40 awstats.domain.com.1204.lastrobots.html
-rw-r--r-- 1 root    root      7992 2012-04-10 11:40 awstats.domain.com.1204.osdetail.html
-rw-r--r-- 1 root    root      5723 2012-04-10 11:40 awstats.domain.com.1204.refererpages.html
-rw-r--r-- 1 root    root      5367 2012-04-10 11:40 awstats.domain.com.1204.refererse.html
-rw-r--r-- 1 root    root      4279 2012-04-10 11:40 awstats.domain.com.1204.session.html
-rw-r--r-- 1 root    root      5107 2012-04-10 11:40 awstats.domain.com.1204.unknownbrowser.html
-rw-r--r-- 1 root    root      8606 2012-04-10 11:40 awstats.domain.com.1204.unknownip.html
-rw-r--r-- 1 root    root      5081 2012-04-10 11:40 awstats.domain.com.1204.unknownos.html
-rw-r--r-- 1 root    root      7188 2012-04-10 11:40 awstats.domain.com.1204.urldetail.html
-rw-r--r-- 1 root    root      6492 2012-04-10 11:40 awstats.domain.com.1204.urlentry.html
-rw-r--r-- 1 root    root      6098 2012-04-10 11:40 awstats.domain.com.1204.urlexit.html
-rwxr-xr-x 1 a589214 a589214 624832 2012-04-10 11:40 awstats.pl
drwxr-xr-x 2 root    root      4096 2012-04-10 11:40 .data
-rw-r--r-- 1 root    root      201 2012-04-10 11:31 .htaccess
lrwxrwxrwx 1 root    root        31 2012-04-10 11:31 icon -> /usr/local/awstats/wwwroot/icon
lrwxrwxrwx 1 root    root        28 2012-04-10 11:40 index.html -> awstats.domain.com.1204.html
lrwxrwxrwx 1 root    root        39 2012-04-10 11:31 lang -> /usr/local/awstats/wwwroot/cgi-bin/lang
lrwxrwxrwx 1 root    root        38 2012-04-10 11:31 lib -> /usr/local/awstats/wwwroot/cgi-bin/lib
lrwxrwxrwx 1 root    root        42 2012-04-10 11:31 plugins -> /usr/local/awstats/wwwroot/cgi-bin/plugins


Comments are closed.