- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Apache help needed
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
01-31-2004 06:58 AM
01-31-2004 06:58 AM
apachectl start
/sbin/sh: apachectl not found
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 07:28 AM
01-31-2004 07:28 AM
SolutionYou must specify the full path to apachectl.
It may be something like /opt/apache/bin/apachectl or something similar.
Try doing:
# find /opt -name apachectl and see if you can find it. If not, you must determine what path Apache was installed to and then find the apachectl program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 08:57 AM
01-31-2004 08:57 AM
Re: Apache help needed
/.profile
unless someone has edited root's home directory in the /etc/passwd file. Add the location of apachectl to the PATH variable (separated by colons). Once you do this, log out and back in again (it's an easy way). Then you'll be able to just do "apachectl start".
Mic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 01:00 PM
01-31-2004 01:00 PM
Re: Apache help needed
/sbin/init.d/apache
or
/sbin/init.d/apache2
If hp delivered it hit might be named hpapache
To set up for auto start so you don't have to start it yourself, try this:
cd /sbin/rc3.d
ln -s /sbin/init.d/apache S980apache
cd /sbin/rc2.d
ln -s /sbin/init.d/apache K020apache
This will relieve you of the burden of starting and stopping apache manually.
make sure you identify the name of the startup script before trying to set up the soft links with ln -s
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
02-01-2004 07:04 AM
02-01-2004 07:04 AM
Re: Apache help needed
$ORACLE_HOME/Apache/Apache/bin
Note: that on 9iAS, apachectl is deprecated, and they expect you to start it via the Appserver Enterprise manager. (not to be confused with OEM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 09:29 AM
02-01-2004 09:29 AM
Re: Apache help needed
of course:
find / -name apachectl -print
would be on the save side.
If I am not mistaken and the apache belongs to an Oracle installation, then starting Oracle will start it too.
Michael