Jump to content

[SOLVED] start apache permanently


Recommended Posts

Im not sure how SUSE handles this but you basically need to make a symlink from the apache init script located in /etc/init.d into the appropriate run level directory, usually /etc/rc.3.

 

Most distro's have specific tools designed to automate this task for you. I'de google for SUSE startup scripts or something simlular before I'de attempt to do it manually, but something like...

 

ln -s /etc/init.d/apache /etc/rc.$(cat /etc/inittab | grep ^id | awk -F: '{print $3}')

 

would probably go close.

A big thanx,

 

I have solved my problem this way, after being asked to make a simbolic link. well I am not so clear on the above attempt but I made a copy of my apachectl like this:

# cp /usr/local/apache2/bin/apachectl /etc/init.d

# chmod 755 /etc/init.d/apachectl

# chkconfig --add apachectl

# chkconfig --level 35 apachectl on

and stated my apache via /etc/init.d then I reboot my pc, it worked without resistance.

 

thanx to the person who pointed me to the right path.goes by the name Thorpe.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.