Sun Java Enterprise System 2005Q4 Installation Guide for UNIX

Starting and Stopping Web Server

When you install Web Server, two server instances are installed by default: an Administration Server instance and a Web Server instance. Web Server has no dependencies.

ProcedureTo Start Web Server Administration Server and Instance

Steps
  1. On the command line, change to WebServer-base/https-admserv.

  2. Enter the following command to start the Web Server administration process.


    ./start
  3. Change to WebServer-base/https- hostname.domainname.

  4. Enter the following command to start the Web Server instance.


    ./start

    You should receive the following message: startup: Server started successfully.

  5. Verify that the Web Server processes are running. For example, on Solaris OS:


    /usr/bin/ps -ef | grep SUNWwbsvr

    ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n http
    ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com
    webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n https-admserv
    webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-admserv/config -n https-admserv
    webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com/config
    webservd -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-host1.example.com/config
  6. Access the Administration Server graphical interface.

    In the browser, enter the http://hostname .domainname:adminport format. For example:

    http://host1.example.com:8888

    Your login confirms successful installation.

ProcedureTo Stop Web Server Administration Server and Instance

Steps
  1. On the command line, change to WebServer-base/https-admserv.

  2. Enter the following command to stop the Web Server administration process.


    ./stop
  3. Change to WebServer-base/https- hostname.domainname.

  4. Enter the following command to stop the Web Server instance.


    ./stop
  5. Verify that the Web Server processes are no longer running. For example:


    ps -ef | grep SUNWwbsvr