These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Apache won't start after restoring backups on the new forum.
Changed from centos to ubuntu 10.04 used install.sh. When I restored backup got this error. Everything else seems to be OK.
Failed to start apache :
Howdy,
It looks like something being included from your Apache config isn't actually loaded or setup at the moment, and that's causing trouble.
One option would be to just comment out that line, if it's something you don't actually need.
To figure out what is actually being loaded though, you'd need to take a look at line 39 of /etc/apache2/sites-enabled/stlcold.com.conf. If you aren't sure what it is, feel free to paste the contents of that line in here.
-Eric
It looks like you did not install mod_perl on Ubuntu?
I tried to install mod_perl through webmin. It downloads but will not install. I have never seen this happen. Any ideas.
What error message did you get?
no error message. it just keeps hanging up after download
Downloading http://www.cpan.org/authors/id/G/GO/GOZER/mod_perl-1.31.tar.gz (380.82 kB) .. Received 1024 bytes (0 %) Received 39 kB (10 %) Received 77 kB (20 %) Received 115 kB (30 %) Received 153 kB (40 %) Received 191 kB (50 %) Received 229 kB (60 %) Received 267 kB (70 %) Received 305 kB (80 %) Received 343 kB (90 %) Received 380.82 kB (100 %) .. download complete.
what about installing mod_perl with aptitude?
I did what you said with aptitude, which seemed to install ok. then I got this
[Sun Jan 23 08:09:15 2011] [error] Can't locate /etc/webmin/virtualmin-google-analytics/apachemod.pl in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at (eval 2) line 1.
It looks like the Google Analytics feature is causing the problem you're seeing.
It appears that Virtualmin doesn't have the files setup for Google Analytics to run. In order to get those copied out, you may need to disable, then re-enable, the Google Analytics feature in that domain (or any other domain).
-Eric
uninstalled Google Analytics and it works now. Thanks everyone.