PDA

View Full Version : start apache at boot (howto)


q(*v*)p
March 19th, 2005, 11:19 AM
Hi,

i'm new to linux/ubuntu, and installed apache,
but can't seem to find how to make apache start at bootup.

any help much appreciated ;-)
cheers,
j

d0nk
March 19th, 2005, 01:09 PM
Hi,

i'm new to linux/ubuntu, and installed apache,
but can't seem to find how to make apache start at bootup.

any help much appreciated ;-)
cheers,
j
try doing:
# chmod +x /etc/init.d/apache

(you may need sudo to do that command, or become root [i set my box up so i can log in as root])

q(*v*)p
March 19th, 2005, 01:19 PM
Thanks,
I get this error:
chmod: failed to get attributes of `/etc/init.d/apache': No such file or directory

there is no apache in the init.d directory...
do i need to copy something there?

fjleal
March 20th, 2005, 08:05 AM
there is no apache in the init.d directory...
do i need to copy something there?
Is there an httpd? :)

q(*v*)p
March 20th, 2005, 08:34 AM
yes, there is, in /www/bin
I can start apache with apachectl, but want to start it automatically.

cheers

cisthebestuk
March 20th, 2005, 06:35 PM
Thanks,
I get this error:
chmod: failed to get attributes of `/etc/init.d/apache': No such file or directory

there is no apache in the init.d directory...
do i need to copy something there?
Hi,

Try this instead:

# sudo chmod +x /etc/init.d/apache2

Dave

geek.de.nz
April 17th, 2006, 08:20 AM
See my post at http://ubuntuforums.org/showthread.php?p=929849#post929849 for a detailed question on almost the same problem, please.

geek.de.nz
May 10th, 2006, 06:35 AM
See http://ubuntuforums.org/showthread.php?p=1001226#post1001226 if you still have this problem. This might help.