You start, stop, or restart a vFabric Web Server instance on Linux
httpdctl shell script in the
directory of the instance.
Warning: You always use the start
script in the
bin of the instance directory, such as
/opt/vwmare/vfabric-web-server/myserver/bin. Do not use the
start script in the
httpd-2.2/bin sub-directory of the main
Complete the appropriate procedure in Create vFabric Web Server Instances.
Log in to your Linux computer as the
Start a terminal window and change to the
sub-directory of your vFabric Web Server instance's root directory.
For example, if you created an instance called
that lives in the installation directory
prompt# cd /opt/vmware/vfabric-web-server/myserver/bin
Start the instance using the
prompt# ./httpdctl start
You should see a message as follows:
Starting Apache: Server started OK
To test that the vFabric Web Server instance actually started,
navigate to the
URL in your browser, where
refers to the host
computer (you can use
localhost if your browser is on the
same computer) and
to the HTTP listen port number you provided when you created the
instance. The default value is
For example, if you are using the default ports on your local computer, you can use this URL:
If the instance started successfully, you should see the Welcome page.
To stop the instance immediately, even if there are current connections in use:
prompt# cd /opt/vmware/vfabric-web-server/myserver/bin prompt$ ./httpdctl stop
To stop the instance gracefully:
prompt$ ./httpdctl gracefulstop
To restart a currently running instance:
prompt$ ./httpdctl restart
Complete the procedure in Serve a Sample HTML File from your vFabric Web Server Instance.
Configure your instance as described in Configuring vFabric Web Server.