Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-01-2015, 08:16 PM
|
#1
|
Member
Registered: Sep 2013
Posts: 321
Rep: 
|
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
|
|
|
03-02-2015, 03:09 AM
|
#2
|
Member
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128
Rep:
|
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!
|
|
|
03-02-2015, 04:23 AM
|
#3
|
Member
Registered: Sep 2013
Posts: 321
Original Poster
Rep: 
|
Quote:
Originally Posted by Rawcous
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 ,
|
|
|
03-02-2015, 05:13 AM
|
#4
|
Member
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: SCO UNIX -> Fedora (Core) -> CentOS -> RedHat
Posts: 128
Rep:
|
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 assuming that the apache web service is correctly up & running, and that your 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
|
|
|
03-02-2015, 08:44 AM
|
#5
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Code:
host -t a centens.com
centens.com has no A record
|
|
|
03-02-2015, 10:05 AM
|
#6
|
Member
Registered: Sep 2013
Posts: 321
Original Poster
Rep: 
|
Quote:
Originally Posted by Rawcous
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 assuming that the apache web service is correctly up & running, and that your 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
|
|
|
03-03-2015, 01:29 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,709
|
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 ?
|
|
|
03-03-2015, 09:03 PM
|
#8
|
Member
Registered: Sep 2013
Posts: 321
Original Poster
Rep: 
|
Quote:
Originally Posted by John VV
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.
|
|
|
03-04-2015, 04:14 AM
|
#9
|
Member
Registered: Sep 2013
Posts: 321
Original Poster
Rep: 
|
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]
|
|
|
03-04-2015, 04:14 AM
|
#10
|
Member
Registered: Sep 2013
Posts: 321
Original Poster
Rep: 
|
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).
|
|
|
All times are GMT -5. The time now is 09:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|