File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes starting apache manually Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "starting apache manually" Watch "starting apache manually" New topic

starting apache manually

naru rao

Joined: Jul 11, 2007
Posts: 1
I use apache in my ubuntu feisty computer where apache starts on boot by default.I wanted otherwise so i made changes in my /etc/default/apache2 from '0' to '1' in order to make it start manually.Now when i wanted to start the server i used "sudo /etc/init.d apache2 start" from the command line but the server never started and the normal start statement does not appear and the command ends with out any effect.And when i type localhost on the web browser it shows failed to find server.
now when i make the changes in the /etc/default/apache2 to default and restart my PC the server start working fine.
Please help me debug this problem ,since i dont want my server to start even when a guest user starts the PC.
I agree. Here's the link:
subject: starting apache manually
It's not a secret anymore!