Fail to statr Apache

Failed to start apache :

Starting httpd: [Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Thu Nov 08 12:58:21 2012] [warn] VirtualHost 192.168.0.4:80 overlaps with VirtualHost 192.168.0.4:80, the first has precedence, perhaps you need a NameVirtualHost directive
[FAILED]
Status: 
Active

Comments

Howdy -- the output you're seeing there isn't actually a fatal error, and shouldn't prevent Apache from starting.

Do you see any additional errors in the Apache error log, /var/log/httpd/error_log?

The warnings you're seeing are fixable though... if you look in /etc/httpd/conf/httpd.conf, do you see a "NameVirtualhost" line? You need to make sure the line in there has an IP address which matches the IP on your server.

Here is what I have in

/var/log/httpd/error_log

[Sun Nov 04 03:41:05 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:41:40 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:42:15 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:42:50 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:43:26 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:44:01 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:44:36 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:45:11 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:45:47 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:46:22 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:46:57 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:47:32 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:48:08 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:48:43 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:49:18 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:49:53 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:50:29 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:51:04 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:51:39 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:52:15 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:52:50 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:53:25 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:54:00 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:54:36 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:55:11 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:55:46 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:56:21 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:56:57 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:57:32 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:58:07 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:58:42 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Sun Nov 04 03:59:18 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 04:07:18 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 04:20:02 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 04:30:11 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 06:09:30 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 06:18:01 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 07:01:04 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 07:48:54 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 07:52:29 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 07:53:38 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 07:54:35 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 07:58:20 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 08:01:33 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 08:22:54 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 08:24:23 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 08:26:01 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 08:30:09 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 08:38:39 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 08:48:19 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 08:52:47 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 09:24:13 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 11:36:13 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 12:29:07 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 12:31:23 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 12:38:22 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 12:55:32 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 12:58:21 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:04:05 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:13:51 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:21:51 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:22:53 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:25:05 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:26:18 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:35:23 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:42:17 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:43:11 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:44:37 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:45:10 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:46:04 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:46:47 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:50:26 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:50:55 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:51:51 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:52:29 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n [Thu Nov 08 13:52:58 2012] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 2) line 1.\n

It looks like a Virtual Server is setup to use Google Analytics, but it doesn't appear that Google Analytics is setup yet on your server.

Did you by chance migrate this domain in from another system?

You may want to make sure that the Virtualmin Google Analytics module is installed, and enabled in System Settings -> Enabled Features.

Yes it is my standby server where is replicated from the main web server, the main one crashed this morning :(, enable google analytics in the standby server and still get Starting httpd: [FAILED]

Can you verify that you're still seeing the same error in the logs?

Or is there a different error now?

Apache in standby server still don't works, will do a fresh install in the crashed primary web server to restore domains from backup

Can you verify that you're still seeing the same error in the logs on your standby server?

I'm curious if you're still having the same problem, or whether installing Google Analytics solved one problem, but there's another issue still outstanding.

I already installed google analytics and the virtualmin license from the primary to the standby server, but still apache is not working.

From the primary I'm trying to install virtualmin with the script but shows some errors and stops

I understand that Apache is not working on your standby server -- can you show us what the current Apache error log entries look like on that server?

Follow this tread here Installation error on centos 6.2 and 6.3 newly installed

and run rpm -e httpd-manual

...then run the install again

wget -O install.sh http://software.virtualmin.com/cgi-bin/install.cgi?serial=#######\&key=XXXXXXXXXX; /bin/sh install.sh

install is running now in the primary server :) Install is clean now :P

Logs in secondary (It has Cloudmin installed) are old ones only, before apache problem here attached the logs

I'm glad you got Virtualmin installed on your system!

Regarding the logs -- we're going to need to see the current logs, so that we can best understand what problem you're currently having.

All the log entries there have timestamps that are at least 10 days old -- could you log into your standby system, restart Apache, and then attach the resulting logs? Thanks!

from the standby server here is the newest log

About my primary, will try to restore last backup of all domains. wish me lock or any advise before doing that?

Thank you in advance for your help

Okay, I spoke with Jamie about your issue... he suggested that you could solve it by creating a file "/etc/webmin/virtualmin-google-analytics/apachemod.pl" with the following contents:

#!/usr/bin/perl
use lib '/usr/libexec/webmin/virtualmin-google-analytics';
1;

After you create that file, try starting Apache again

He'll be including a fix for the issue you're seeing in the next Virtualmin version.

Hi I create the file in Cloudmin Standby server 192.168.0.3 but still Apache don't start either BIND When my primary crashed 192.168.0.1 first thing I transfer license to secondary to try to fix the problem but still dont work.

Already fix the primary 192.168.0.1 did a clean install CentOS and Virtualmin thanks Im doning backups in a NAS Server that I setup. Noticed that huge backups like copies of the mirrors I host cant be restored (100 and 300 GB each) not a big issue but just let you know.

I will built other machine 192.168.0.5 will install a clean CentOS and Virtualmin and will use as standby server.

What I learn is not use Cloudmin Host as Standby or install Virtualmin domains there but is nice to use the KVM virualmachines with Virtualmin to host and test complex apps if it breaks it can be fixed fast firing up other vm from image.

Other issue with my Cloudmin Server is that my AWS EC2 vms are not recognized anymore.

I create the file in Cloudmin Standby server 192.168.0.3 but still Apache don't start

Now that you've created the file "apachemod.pl", you should no longer receive an error about it not existing. Can you check in the Apache logs to see what the current error message is?

Other issue with my Cloudmin Server is that my AWS EC2 vms are not recognized anymore.

We'd be happy to help! Can you post that issue in a new support request though? Then we can address any issues with Apache not starting here, and we can go over issues with EC2 in your new request. Thanks!