Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Apache to run at startup

Status
Not open for further replies.

MikeT

IS-IT--Management
Feb 1, 2001
376
US
Suse 7.1 Prof

How do I get Apache to start everytime I boot into Linux?
 
As root, type "setup" you will get a menu list, in the list is a heading system services highlight it and hit the "run tool" button to get a list of services the system will start at boot time, in the list is a heading for apache {i]httpd[/i] mark the checkbox and hit ok and then quit. The next time you reboot, apache will start. d3funct
zimmer.jon@cfwy.com
The software required `Windows 95 or better', so I installed Linux.

 
It doesn't recognize the setup command...
I tried putting
START_HTTPD="yes"
in my rc.config, but then i got 'permission denied' bs during startup.

What else can I do?
 
Hi,

Other than directly editing rc.config, you can use yast - go to 'system administration' then the 'change configuration file' option.

I've never installed apache on suse but, normally, it runs as a non-root user. Presumably when the suse init process runs it invokes apache under a non-root user and maybe there is some kind of permissions issue. Did you install a Suse provided rpm ?

Try '/usr/local/apache/bin/apachectl start' to see if you can start it manually .

Regards

 
It wasn't a Suse supplied rpm, it was a tarball fresh off the apache web site. It starts manually fine. What I ended up doing was adding an entry to local.boot (or was it boot.local?), and it starts up fine now.
Thanks for posting!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top