SFX Related Daemons

Besides using the procedures mentioned in this section, all daemons can be stopped and restarted using the Server Admin Utility described in Start/Stop Services.

MySQL Daemon

To start the MySQL daemon:
  1. Log on as the sfxglb41 user:

login as sfxglb41

  1. Move to the mysqlbin directory:

cd /exlibris/sfx_ver/sfx4_1/app/mysql/

  1. Start the daemon:

./bin/mysqld_safe --defaults-file=/exlibris/sfx_ver/sfx4_1/data/my.cnf &

To stop the MySQL daemon:
  1. Log on as the sfxglb41 user:

login as sfxglb41

  1. Move to the mysql bin directory:

cd /exlibris/sfx_ver/sfx4_1/app/mysql/bin

  1. Stop the daemon:

mysqladmin -p --user=rootshutdown

  1. Enter the MySQL root password.

Apache Daemons

It is recommended to change the default webmaster e-mail address displayed in Apache error messages to reflect the e-mail address of the local server administrator. By default, the error message says:

For help, please send mail to the webmaster (you@example.com), giving this error message and the time and date of the error.

Change the e-mail address for both the reverse proxy server and the individual instance servers.

To change the webmaster address for the reverse proxy server:
  1. Log on as the sfxglb41 user.
  2. Type the following:

cv

cd proxy/conf

vi httpd.conf

  1. Change the following parameter:

ServerAdmin you@example.com

To change the webmaster address for the individual instance servers:
  1. Log on as an instance user (for example, sfxlcl41).
  2. Type the following:

cn

vi httpd.conf

  1. Change the following parameter:

ServerAdmin

  1. Restart both the reverse proxy server and the local Apache daemons.

Starting the Reverse Proxy Apache Daemon

To start the reverse proxy Apache daemon:

Log on as the sfxglb41 user.

Move to the Apache bin directory:

sfx4_1

Start the daemon:

./apachectl start

Type the following command to start the reverse proxy server when running it on a port lower than 1024 while logged on as the root user: /exlibris/sfx_ver/sfx4_1/sfxglb41/admin/init_scripts/ proxyctl start

Stopping the Reverse Proxy Apache Daemon

To stop the reverse proxy Apache daemon:
  1. Log on as the sfxglb41 user.
  2. Move to the Apache bin directory:

cd /exlibris/sfx_ver/sfx4_1/proxy/bin

  1. Stop the daemon:

./apachectl stop

Starting an Individual Instance Apache Daemon

To start an individual instance Apache daemon:
  1. Log on as an instance user (for example, sfxlcl41).
  2. Move to the instance's admin directory using the shortcut:

da

  1. Start the daemon:

./apachectl start

Stopping an Individual Instance Apache Daemon

To stop an individual instance Apache daemon:
  1. Log on as an instance user (for example, sfxlcl41).
  2. Move to the instance's admin directory using the shortcut:

da

  1. Stop the daemon:

./apachectl stop