Archive for October 11th, 2007

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 ).

  • apache2-utils_2.2.3-3.2build1_i386.deb

  • apache2.2-common_2.2.3-3.2build1_i386.deb

  • apache2-mpm-prefork_2.2.3-3.2build1_i386.deb

  • apache2_2.2.3-3.2build1_all.deb


taufanlubis@zyrex:~$ sudo dpkg -i apache2-utils_2.2.3-3.2build1_i386.deb

Selecting previously deselected package apache2-utils.

(Reading database … 155074 files and directories currently installed.)

Unpacking apache2-utils (from apache2-utils_2.2.3-3.2build1_i386.deb) …

Setting up apache2-utils (2.2.3-3.2build1) …


taufanlubis@zyrex:~$ sudo dpkg -i apache2.2-common_2.2.3-3.2build1_i386.deb

(Reading database … 155099 files and directories currently installed.)

Preparing to replace apache2.2-common 2.2.3-3.2build1 (using apache2.2-common_2.2.3-3.2build1_i386.deb) …

Unpacking replacement apache2.2-common …

Setting up apache2.2-common (2.2.3-3.2build1) …

Installing new version of config file /etc/init.d/apache2 …


taufanlubis@zyrex:~$ sudo dpkg -i apache2-mpm-prefork_2.2.3-3.2build1_i386.deb

(Reading database … 155099 files and directories currently installed.)

Preparing to replace apache2-mpm-prefork 2.2.3-3.2build1 (using apache2-mpm-prefork_2.2.3-3.2build1_i386.deb) …

Unpacking replacement apache2-mpm-prefork …

Setting up apache2-mpm-prefork (2.2.3-3.2build1) …


taufanlubis@zyrex:~$ sudo dpkg -i apache2_2.2.3-3.2build1_all.deb

(Reading database … 155099 files and directories currently installed.)

Preparing to replace apache2 2.2.3-3.2build1 (using apache2_2.2.3-3.2build1_all.deb) …

Unpacking replacement apache2 …

Setting up apache2 (2.2.3-3.2build1) …


Then when I put ‘localhost’ at my Firefox a ‘common message that I’ve been looking for’ came out displayed on the Firefox, ‘It works!‘.

Well, I got my apache2 back again…..

Read Full Post »


Get every new post delivered to your Inbox.

Join 69 other followers