Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Awstat error: No Address Given (Internal Server error)

Reply to Post Add a New Topic
UserPost

9:45 am
September 2, 2009


robbo007

Member

posts 5

Hello all,

I am using awstat on Debian (Lenny) with ISPCP OMEGA, Apache and hosting multiple sites.

One  of my virtual domains works pefectly and the others seems to display a Internal Server Error "No Address Given" when I logon to the awstats page??

Any ideas where I can start troubleshooting? Can't really find any problems? I use Modsecurity too but if one virtual domain works why do all the others fail?

Thanks,

Rob

10:08 am
September 2, 2009


Jean-Luc

Admin

posts 1125

Hi,

There are many reasons why one can get an “Internal Server Error”. It is hard to help with so little information. Please give more detail about the configuration.

Are you calling the same awstats.pl  for all domains or is it a different copy for each domain ? Are all the config files in the same directory ? Are the AWStats data files generated for all these domains ?

10:49 am
September 2, 2009


robbo007

Member

posts 5

Thanks for the response. Quite lost at present. Ok I'm no expert but I'll try and answer your questions.

Everything was installed via ISPCP OMEGA. Multi domain control panel for hosting. (very cool)

It only uses the awstats in /usr/lib/cgi-bin/awstats.pl 

Each domain has its own config file located in: /etc/awstats/

All the data seems to be generated for each virtual domain in /var/cache/awstats

Thanks,

Rob

11:38 am
September 2, 2009


Jean-Luc

Admin

posts 1125

It is probably a permission problem, but it could be a time-out issue if the “Internal Server Error” does not come up immediately. If this is permission related, double check the permissions of all files and directories involved. If this is a matter of time-out, it would only produce the time-out for domains with very high traffic.

Can you give an example of the URL you are using to view a report ?

12:00 pm
September 2, 2009


robbo007

Member

posts 5

Don't think its a time out issue as the website that always works has no problems. All other virtual sites fail. Only one works.

Comes up fast yes.

An example of the URL would be: http://www.mydomain.com/stats I then get prompted for a user authentication. I enter the correct details and then I get straight away the Internal Error “no ip issued”..

Rob

1:01 pm
September 2, 2009


Jean-Luc

Admin

posts 1125

Where do you get this “no ip issued” ? This sounds like an address resolution problem (when converting the domain name to its IP address). This is weird as you say that you get prompted for the user name and password before. Are you redirected to a new address after the authentication (new address coming up in the address bar) ?

By the way, “no address given” usually means that no email address was defined as destination for error reports. So this message is not directly related to your AWStats problem.

1:36 pm
September 3, 2009


robbo007

Member

posts 5

Sorry I missed typed.  ”No ip issued” is ” no address given”

I see  ISPCP creates a security group called “statistics” there I define the usernames that have access to the awstats for the virtual domain. That's why there is a logon window when I enter in http://www.mydomain.com/stats

No new address coming up all the right domain details.

2:07 pm
September 3, 2009


Jean-Luc

Admin

posts 1125

I have no practical experience with ispCP, but I believe that we are dealing here with an ispCP configuration issue and not with an AWStats configuration issue.

Did you post your question on an ispCP forum already ? They should probably be more helpful.

10:14 am
September 14, 2009


robbo007

Member

posts 5

Hello,

I found the error is with Modesecurity blocking Awstat. The rule in question is:

SecRule REQUEST_BASENAME “\\.(?:c(?:o(?:
nf(?:ig)?|m)|s(?:proj|r)?|dx|er|fg|md)|
p(?:rinter|ass|db|ol|wd)|v(?:b(?:proj|s
)?|sdisco)|a(?:s(?:ax?|cx)|xd)|d(?:bf?|
at|ll|os)|i(?:d[acq]|n[ci])|ba(?:[kt]|c
kup)|res(?:ources|x)|s(?:h?tm|ql|ys)|l(
?:icx|nk|og)|\\w{0,5}~|webinfo|ht[rw]|xs
[dx]|key|mdb|old)$” \\

”phase:2,t:none,t:urlDecodeUni, t:lower
case, deny,log,auditlog,status:500,msg:
'URL file extension is restricted by po
licy', severity:'2',id:'960035',tag:'PO
LICY/EXT_RESTRICTED'”

I've not worked out how to only exclude the awstat info. Once I do I'll post a reply.

Regards,

Rob

Reply to Post

Reply to Topic:
Awstat error: No Address Given (Internal Server error)

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
3 + 8
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)