Problem with Apache
nick at freelock.com
Sat Feb 23 02:52:53 UTC 2008
Miguel Alberto López Camacho wrote:
> I am a user of Ubuntu little experienced and I have a problem that I can
> not solve. The problem is this: I installed the apache server from the
> Synaptic package manager and with the command "aptitude" from console;
> all goes well until the moment you try to access through the Web browser
> when writing "localhost" on address bar takes a long time to send a
> message to initialize and run out of time for the server localhost I
> uninstalled and installed but does not work, what can I do?
In a terminal verify that apache is really running:
ps -ef | grep apache
If nothing is running, then start it:
sudo /etc/init.d/apache2 start
If it is running but you still experience the problem, check the log
(/var/log/apache/error.log). Post any errors back to the list.
I'd also check the configuration files, specifically
/etc/apache2/ports.conf, but it should be correct out of the box. When
going to http://localhost/ you should see a stock welcome page.
More information about the ubuntu-users