LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-01-2015, 09:16 PM   #1
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Rep: Reputation: Disabled
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
 
Old 03-02-2015, 04:09 AM   #2
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: 2 * CentOS 8.2 Self-Hosted Domain Servers (Mail & Web Server / FTP & VPN Server)
Posts: 107

Rep: Reputation: Disabled
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!
 
Old 03-02-2015, 05:23 AM   #3
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rawcous View Post
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 ,
 
Old 03-02-2015, 06:13 AM   #4
Rawcous
Member
 
Registered: Jan 2014
Location: Farnborough, Hampshire - UK
Distribution: 2 * CentOS 8.2 Self-Hosted Domain Servers (Mail & Web Server / FTP & VPN Server)
Posts: 107

Rep: Reputation: Disabled
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
 
Old 03-02-2015, 09:44 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
host -t a  centens.com
centens.com has no A record
 
Old 03-02-2015, 11:05 AM   #6
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rawcous View Post
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
 
Old 03-03-2015, 02:29 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,531

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
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 ?
 
Old 03-03-2015, 10:03 PM   #8
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
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.
 
Old 03-04-2015, 05:14 AM   #9
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
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]
 
Old 03-04-2015, 05:14 AM   #10
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
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).
 
Old 03-04-2015, 05:16 AM   #11
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
actually , I should use http://centens.com/.... or http://localhsot/... ? thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
About the awstats byran cheung Linux - Software 2 02-01-2015 09:47 AM
awstats installation error can any one help me out reg this issues vivekrock8 Linux - Server 2 01-03-2013 08:37 AM
HI can u give installation steps for awstats mail log analyzer vivekrock8 Linux - Software 1 01-02-2013 10:00 PM
issues with installation of webmin for awstats (not getting log data) kitesurfa Linux - Server 0 11-18-2009 06:39 PM
awstats tommytomato Linux - General 4 09-20-2006 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration