LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   about awstats installation (https://www.linuxquestions.org/questions/linux-software-2/about-awstats-installation-4175535479/)

byran cheung 03-01-2015 08:16 PM

about awstats installation
 
I have followed the below installation guide to install awstats , I use LAMP , my domain name is centens.com

http://www.aldeid.com/wiki/AWStats

After installation , I try to use the below URL to access awstats but not work , it pops the page can not be display , would advise what is wrong ? thanks

http://centens.com/awstats/awstats.p...ig=centens.com

Rawcous 03-02-2015 03:09 AM

Hello Bryan,

Perhaps a silly question but is your web (apache?) server up and running as the "Page Cannot Be Displayed" message appears even when attempting to access your website? i.e. www.centens.com or is the URL a slight variation of this...?

As a starting point check your log files:
Quote:

/var/log/httpd/access_log
Regards,

Rawcous!

byran cheung 03-02-2015 04:23 AM

Quote:

Originally Posted by Rawcous (Post 5325472)
Hello Bryan,

Perhaps a silly question but is your web (apache?) server up and running as the "Page Cannot Be Displayed" message appears even when attempting to access your website? i.e. www.centens.com or is the URL a slight variation of this...?

As a starting point check your log files:

Regards,

Rawcous!

thanks reply ,

the apache is up and running ,

Rawcous 03-02-2015 05:13 AM

Hello Bryan,

I'm not sure about anyone else here but your website is not publicly accessible...

Can you access it internally directly via the server itself? For example via the server's web browser if you type
Code:

http://localhost
assuming that the apache web service is correctly up & running, and that your
Code:

/etc/hosts
file is configured correctly then does it serve web pages?

Have you correctly setup your DNS entries via a DNS hoster because when I attempt to perform a NameServer lookup on centens.com I get a blank response - i.e.
Quote:

"Unknown can't find www.centens.com: Non-existant Domain"
- a quick glance via a domain registrar proves the domain name at least has been purchased / registered:https://www.123-reg.co.uk/order/doma...domain=centens

Multiple lookups on the domain:

http://www.ip-whois-lookup.com/looku...x=0&submit.y=0

http://whois.domaintools.com/centens.com

So what's the deal Bryan?

Regards,

Rawcous

Habitual 03-02-2015 08:44 AM

Code:

host -t a  centens.com
centens.com has no A record

byran cheung 03-02-2015 10:05 AM

Quote:

Originally Posted by Rawcous (Post 5325524)
Hello Bryan,

I'm not sure about anyone else here but your website is not publicly accessible...

Can you access it internally directly via the server itself? For example via the server's web browser if you type
Code:

http://localhost
assuming that the apache web service is correctly up & running, and that your
Code:

/etc/hosts
file is configured correctly then does it serve web pages?

Have you correctly setup your DNS entries via a DNS hoster because when I attempt to perform a NameServer lookup on centens.com I get a blank response - i.e. - a quick glance via a domain registrar proves the domain name at least has been purchased / registered:https://www.123-reg.co.uk/order/doma...domain=centens

Multiple lookups on the domain:

http://www.ip-whois-lookup.com/looku...x=0&submit.y=0

http://whois.domaintools.com/centens.com

So what's the deal Bryan?

Regards,

Rawcous

thanks reply,

I tried to use IP address instead of http://localhost , but it still not work, I think it is not related to DNS

John VV 03-03-2015 01:29 PM

the awstats install docs are well VERY well documented on the site

the awstats config file is VERY well documented
the apache httpd.conf is VERY VERY well documented


the icon under your name says you are using Microsoft Windows 7
( this is NOT a linux operating system )
L - Linux
A - Apache
M - MarieaDB ( was mysql)
P - Php

so

what OS is apache running on ?
how did you install and set up Apache ?
how did you install and set up PERL in apache and the OS for awstats to use ?
How did you install and configure Awstats ?

byran cheung 03-03-2015 09:03 PM

Quote:

Originally Posted by John VV (Post 5326376)
the awstats install docs are well VERY well documented on the site

the awstats config file is VERY well documented
the apache httpd.conf is VERY VERY well documented


the icon under your name says you are using Microsoft Windows 7
( this is NOT a linux operating system )
L - Linux
A - Apache
M - MarieaDB ( was mysql)
P - Php

so

what OS is apache running on ?
how did you install and set up Apache ?
how did you install and set up PERL in apache and the OS for awstats to use ?
How did you install and configure Awstats ?

thanks reply ,

I use linux not windows , it is LAMP .
I have follow every thing as the above URL to config but not work.

byran cheung 03-04-2015 04:14 AM

The below is the error when use http://centens.com/awstats/awstats.p...ig=centens.com , I find the file "awstats.centens.com.conf" , in /etc/awstats , would advise what is wrong ? thanks

[code]
Error: Couldn't open config file "awstats.centens.com.conf" nor "awstats.conf". Please read the documentation for directories where the configuration file should be located.

- Did you use the correct URL ?
Example: http://localhost/awstats/awstats.pl?config=mysite
Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite
- Did you create your config file 'awstats.centens.com.conf' ?
If not, you can run "awstats_configure.pl" from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory).

[\code]

byran cheung 03-04-2015 04:14 AM

The below is the error when use http://centens.com/awstats/awstats.p...ig=centens.com , I find the file "awstats.centens.com.conf" , in /etc/awstats , would advise what is wrong ? thanks

Code:

Error: Couldn't open config file "awstats.centens.com.conf" nor "awstats.conf". Please read the documentation for directories where the configuration file should be located.

- Did you use the correct URL ?
Example: http://localhost/awstats/awstats.pl?config=mysite
Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite
- Did you create your config file 'awstats.centens.com.conf' ?
If not, you can run "awstats_configure.pl" from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory).


byran cheung 03-04-2015 04:16 AM

actually , I should use http://centens.com/.... or http://localhsot/... ? thanks


All times are GMT -5. The time now is 09:27 PM.