• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1322
  • Last Modified:

apachectl stop commond

Hello,

I'm using IBM IHS Apache web server. In the bin folder of IBMIHS, when I issued the commond: apachectl stop

the result is : usr/sbin/apachectl stop: httpd (no pid file) not running

Is this right? Does this mean the server was not running or it is stopped now?
Any instruction is highly appreciated,
lilyyan
0
lilyyan
Asked:
lilyyan
1 Solution
 
R7AFCommented:
That means apache is not running. You can try http://localhost/ to see if that is really the case. If you see something, then another apache might be running. You can try to use the command "top". If you see "httpd" in the list, it means apache is running.

If you're in the folder where apachectl resides you can use:
./apachectl stop
or: ./apachectl start

Starting the command with dot-slash will force the use of apachectl in that folder. (Depending on whether you have multiple installations of Apache, you might run another apachectl if you don't use ./ )
0
 
lilyyanAuthor Commented:
Hi, thanks for your reply. ./apachectl stop works
 
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now