How to stop and start services

Stopping and Starting GroundWork Monitor services

About UI Components Using Web Services

In most cases, stopping and starting any of the services is not advised. These services are interdependent upon one another.

In this release, gwservices runs and controls the entire middleware that includes the different feeders, the data integration engine and the Web Service layer that drives the UI. It is not advised to just restart the gwservices service since it puts UI components consuming Web Services into an unknown state and the components may no longer respond in the browser. Some examples of these components are Status, Dashboards, and Event Console. When these services are randomly started, the other services will be placed into unknown states.

If you must stop and start one of these services have all users log out of the server first. Moreover in most cases, if an administrator needs to stop one of these services, the safest course of action is to stop all the services and start them again thereby allowing all the GroundWork Monitor services to re-synchronize with one another.

Restarting gwservices or other GroundWork Monitor services may make UI components unresponsive in the browser.
Stopping the Services
  • Stop Apache2
    /usr/local/groundwork/ctlscript.sh stop apache
  • Stop SNMP Trap Translator
    /usr/local/groundwork/ctlscript.sh stop snmptt
  • Stop Nagios
    /usr/local/groundwork/ctlscript.sh stop nagios
  • Stop Foundation
    /usr/local/groundwork/ctlscript.sh stop gwservices
  • Stop syslog-ng
    /usr/local/groundwork/ctlscript.sh stop syslog-ng
  • Stop network-service
    /usr/local/groundwork/ctlscript.sh stop network-service
  • Stop PostgreSQL
    /usr/local/groundwork/ctlscript.sh stop postgresql
  • Stop snmptrapd
    /usr/local/groundwork/ctlscript.sh stop snmptrapd
Starting the Services
  • Start Apache2
    /usr/local/groundwork/ctlscript.sh start apache
  • Start SNMP Trap Translator
    /usr/local/groundwork/ctlscript.sh start snmptt
  • Start Nagios
    /usr/local/groundwork/ctlscript.sh start nagios
  • Start Foundation
    /usr/local/groundwork/ctlscript.sh start gwservices
  • Start syslog-ng
    /usr/local/groundwork/ctlscript.sh start syslog-ng
  • Start network-service
    /usr/local/groundwork/ctlscript.sh start network-service
  • Start PostgreSQL
    /usr/local/groundwork/ctlscript.sh start postgresql
  • Start snmptrapd
    /usr/local/groundwork/ctlscript.sh start snmptrapd
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.