Starting and Stopping the Web
Server
You can start and stop the Apache Web server manually if necessary.
The apachectl file has been replaced by the apachectl-dist file. You can use the apachectl-dist file to start and stop the Apache Web server. There are changes in the structure of the Apache Web server and as a result of these you must make the following changes to the apachectl-dist file:
#SERVERROOT=@@SERVERROOT
SERVERROOT=<TREX Path>
#PIDFILE=${SERVERROOT}/logs/httpd.pid
PIDFILE=${SERVERROOT}/<trex_hostname>/Apache/logs/httpd.pid
#
# the path to your httpd binary, including options if necessary
#HTTPD="${SERVERROOT}/bin/httpd -d ${SERVERROOT} -R ${SERVERROOT}/libexe
HTTPD="${SERVERROOT}/exe/Apache/bin/httpd -d ${SERVERROOT}/<hostname>/
Apache -R ${SERVERROOT}/<trex_hostname>/Apache/libexec"

#SERVERROOT=@@SERVERROOT
SERVERROOT=/usr/sap/TRX/TRX00
#PIDFILE=${SERVERROOT}/logs/httpd.pid
PIDFILE=${SERVERROOT}/mytrex/Apache/logs/httpd.pid
#
# the path to your httpd binary, including options if necessary
#HTTPD="${SERVERROOT}/bin/httpd -d ${SERVERROOT} -R ${SERVERROOT}/libexe
HTTPD="${SERVERROOT}/exe/Apache/bin/httpd -d ${SERVERROOT}/mytrex/
Apache -R ${SERVERROOT}/mytrex/Apache/libexec"
...
1. Log on with <SAPSID>adm.
2. Execute the following commands:
cd <TREX_DIR>/Apache
apachectl-dist start
...
1. Log on with <SAPSID>adm.
2. Execute the following commands:
cd <TREX_DIR>/Apache
apachectl-dist stop