View Single Post
  #1  
Old 15th April 2012, 20:52
veneficus veneficus is offline
Junior Member
 
Join Date: Mar 2012
Posts: 16
Thanks: 1
Thanked 1 Time in 1 Post
Default awstats.con stops apache

Hi to all, after tring to enebla awstats, the statistics come for a while, the no mre pages were reacheble, i try to restart apache, and comment line per line di awstats.con line that gives problem, i had to comment all to stop error then i had other error form the site awstats .conf file so i had to remove all of them and enable weblizer ( that i don't like at all ) i am using ccentos X86X64 release 5.8 here's the errors ihad thanks to all for any reply.

Code:
Avvio di httpd: [Sun Apr 15 16:06:40 2012] [warn] The Alias directive in /etc/httpd/conf.d/awstats.conf at line 1 will probably never match because it overlaps an earlier Alia
[Sun Apr 15 16:06:40 2012] [warn] The ScriptAlias directive in /etc/httpd/conf.d/awstats.conf at line 3 will probably never match because it overlaps an earlier ScriptAlias.
Syntax error on line 2 of /etc/httpd/conf.d/awstats.sra.it.conf:
Invalid command 'LogFile="/var/log/ispconfig/httpd/sra.it/yesterday-access.log"', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FALLITO]
[root@ocsinet ~]# nano /etc/httpd/conf.d/awstats.conf
[root@ocsinet ~]# nano /etc/httpd/conf.d/awstats.conf
[root@ocsinet ~]# service httpd restart
Interruzione di httpd:                                     [FALLITO]
Avvio di httpd: [Sun Apr 15 16:07:12 2012] [warn] The ScriptAlias directive in /etc/httpd/conf.d/awstats.conf at line 2 will probably never match because it overlaps an earlieptAlias.
Syntax error on line 2 of /etc/httpd/conf.d/awstats.sra.it.conf:
Invalid command 'LogFile="/var/log/ispconfig/httpd/sra.it/yesterday-access.log"', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FALLITO]
[root@ocsinet ~]# nano /etc/httpd/conf.d/awstats.conf
[root@ocsinet ~]# service httpd restart
Interruzione di httpd:                                     [FALLITO]
Avvio di httpd: [Sun Apr 15 16:07:55 2012] [warn] The ScriptAlias directive in /etc/httpd/conf.d/awstats.conf at line 1 will probably never match because it overlaps an earlieptAlias.
Syntax error on line 2 of /etc/httpd/conf.d/awstats.sra.it.conf:
Invalid command 'LogFile="/var/log/ispconfig/httpd/sra.it/yesterday-access.log"', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FALLITO]
[root@ocsinet ~]# nano /etc/httpd/conf.d/awstats.conf
[root@ocsinet ~]# rm  /etc/httpd/conf.d/awstats.conf
rm: rimuovere regular file `/etc/httpd/conf.d/awstats.conf'? y
[root@ocsinet ~]# nano /etc/httpd/conf.d/awstats.conf
[root@ocsinet ~]# service httpd restart
Interruzione di httpd:                                     [FALLITO]
Avvio di httpd: httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.d/awstats.sra.it.conf: Could not open configuration fic/httpd/conf.d/awstats.conf: No such file or directory
                                                           [FALLITO]
[root@ocsinet ~]# nano /etc/httpd/conf.d/awstats.sra.it.conf
[root@ocsinet ~]# service httpd restart
Interruzione di httpd:                                     [FALLITO]
Avvio di httpd: Syntax error on line 2 of /etc/httpd/conf.d/awstats.sra.it.conf:
Invalid command 'LogFile="/var/log/ispconfig/httpd/sra.it/yesterday-access.log"', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FALLITO]
[root@ocsinet ~]# rm  /etc/httpd/conf.d/awstats.sra.it.conf
rm: rimuovere regular file `/etc/httpd/conf.d/awstats.sra.it.conf'? y
[root@ocsinet ~]# service httpd restart
Interruzione di httpd:                                     [FALLITO]
Avvio di httpd: [Sun Apr 15 16:09:06 2012] [warn] NameVirtualHost 130.255.144.130:80 has no VirtualHosts
[Sun Apr 15 16:09:06 2012] [warn] NameVirtualHost 130.255.144.130:443 has no VirtualHosts
[Sun Apr 15 16:09:06 2012] [warn] NameVirtualHost 192.168.254.30:80 has no VirtualHosts
[Sun Apr 15 16:09:06 2012] [warn] NameVirtualHost 192.168.254.30:443 has no VirtualHosts
Reply With Quote
Sponsored Links