Be free…. be yourself with Linux.

Why I can’t run my apache2 in Ubuntu after I removed and re-installed it again?

I’ve my apache2 installed in my computer at the first time I install Ubuntu. Then, I remove it when I start to use XAMPP. I like to use Xampp because it’s more easy to use and the good thing is, it’s separate from the Ubuntu System. So, when you don’t need, just remove the its directory, and that’s it.

Then, when I make an article about Apache2 in my Blog, I installed the apache2 using ‘sudo apt-get install apache2′ command line in my terminal.

The whole process is run smoothly. But, I can’t get into the web server service when I put standard url “localhost‘ in my Firefox. I tried to run it manually through ‘/etc/init.d/apache restart‘, there was no error message, but still the server didn’t run. I tried to re-install it again but still couldn’t run. When I checked at ‘/var/run/‘ the ‘apache2.pid‘ was not there.

Then I decided to install it manually using apache2 packages that come from Ubuntu Live CD.

You will need 4 packages to run it and you have to install it from the first package (apache2-utils_2.2.3-3.2build1_i386.deb ) until at the last one (apache2_2.2.3-3.2build1_all.deb ).

Like this:

Related

One Response

Good Morning! How is it going today? It’s just that i dig your website so much, and that i believe you can start making alot of loot using it. I have a few successful websites that i started earning some money from recently. They are using a thing called a content revealer widget, it makes visitors fill out a small survey inorder to view special content or to download programs or tools that they need. And every time they do a fast survey i make about a dollar. Really cool eh..? Been earning much more from this than adsense! Feel free to contact me, or you can check it out through my refferal link. http://www.tinyurl.com/yevwfst, Regards, Henrik N. Hanson