- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- can't startup the service when server start
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 08:11 PM
10-15-2004 08:11 PM
#ln -s /usr/local/apache/bin/httpd /etc/init.d
# pwd
/etc/init.d
#ll /usr/local/apache/bin/httpd
lrwxrwxrwx 1 root root 27 Oct 16 15:50 httpd -> /usr/local/apache/bin/httpd
but still can't run this daemon when startup , but i can run it manually , could suggest what is wrong ? thx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 08:50 PM
10-15-2004 08:50 PM
SolutionI think you are expert in SVR4 Systems thats why you are doing like this .
better try to configure in the following steps
#chkconfig --list httpd
see whether it is on or off in runlevel 4 ,5,6
if not
#chkconfig --level 3 on 4 on 5 on httpd
it will start the service at desired run levels
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2004 10:32 PM
10-16-2004 10:32 PM
Re: can't startup the service when server start
ln -s /etc/init.d/httpd /etc/rc3.d/S99httpd
and
ln -s /etc/init.d/httpd /etc/rc5.d/S99httpd
[not every package knows to work with chkconfig]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2004 02:16 AM
10-17-2004 02:16 AM
Re: can't startup the service when server start
Linux books recomend
chkconfig -level 12345 httpd on
Script must exist in /etc/init.d
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2004 02:49 AM
10-17-2004 02:49 AM
Re: can't startup the service when server start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2004 12:19 PM
10-17-2004 12:19 PM
Re: can't startup the service when server start
YOU DEFINATELY DO NOT WANT TO DIRECTLY LINK A BINARY HERE!
What you want to be linking to is the script '/usr/local/apache/bin/apachectl'. This is the distributed startup/shutdown routine.
As for the 'chkconfig' stuff, it will only work if there is a comment line similar to '# chkconfig 2345 84 16' and a '# description