Package Setup and Control Scripts

In this Topic Hide

Starting Services on MS Windows

Controlling Zend Server Components from the Command Line

Command Line Actions

 

Package setup and control scripts, refers to the management of the different components included in Zend Server. A list of the components that are installed and running on your system can be found in the Administration Interface in Server Setup | Components.

Which components are installed depends on the chosen installation method, license type and product version.

The following sections describe how to do the following:

Starting Services on MS Windows

All Zend Server component services are managed by the MS Windows Service Manager.

To Start/Stop (run) or restart any of the services go to Start | Control Panel | Administrative Tools | Services.

The installed components that have services are displayed with a Zend Prefix.

Additional components can be added by running the installer in modify mode:

 

 

Instructions on how to complete a procedure

To add components:

  1. Use the Windows Control Panel Start | Control Panel | Add or Remove Programs.

  2. In the Add or Remove Programs dialog, locate and click on the Zend Server package in the list.

  3. Click Change.
    The installer will start to run in modify mode.

  4. Click Modify and select the components you want to add in the Custom Setup dialog..

This adds (and can also remove) any additional packages that are selected.

Controlling Zend Server Components from the Command Line

The setup and control scripts control the optional components that come with Zend Server for the DEB and RPM packages.

 

 

Instructions on how to complete a procedure

To control the Administration Interface's dedicated server, run:

# <install_path>/bin/lighttpdctl.sh stop|start|restart:

To set the Administration Interface's password, run:

# <install_path>/bin/gui_passwd.sh

To setup the Java Bridge, run:

#<install_path>/bin/setup_jb.sh

To control (start/stop) the Java Bridge daemon, run:

# <install_path>/bin/java_bridge.sh  stop|start|restart

 

Command Line Actions

The following lists the possible actions that can be done to the Zend Server components from the command line:

Usage: <install_path>bin/zendctl.sh<action>

Zend Server

start - Start all Zend Server daemons

stop - Stop all Zend Server daemons

restart - Restart all Zend Server daemons

version - Print Zend Server version

status - Get Zend Server status

Apache

start-apache - Start Apache only

stop-apache - Stop Apache only

restart-apache - Restart Apache only

LightHttpd

start-lighttpd - Start lighttpd only

stop-lighttpd - Stop lighttpd only

restart-lighttpd - Restart lighttpd only

Java Bridge

setup-jb - Setup Java bridge

Running zendctl.sh will show a list of uses and only after running setup_jb.sh will the following additional options be available:

start-jb - Start Java bridge only

stop-jb - Stop Java bridge only

restart-jb - Restart Java bridge only

Zend Monitor:

start-monitor - Start Monitor node only

stop-monitor - Stop Monitor node only

restart-monitor - Restart Monitor node only