Differences
This shows you the differences between two versions of the page.
domino [2006/07/27 01:32] a |
domino [2009/05/25 00:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== IBM Lotus Domino (instalation under linux) ====== | ||
- | ===== Domino R5.011 ===== | ||
- | |||
- | '' | ||
- | |||
- | * [[domino: | ||
- | * [[http:// | ||
- | * [[http:// | ||
- | |||
- | ===== Domino | ||
- | '' | ||
- | |||
- | ==== instalation ==== | ||
- | |||
- | * create new user/ | ||
- | * chown all domino stuff to this user/group | ||
- | * run all domino proccesses as this user/group | ||
- | |||
- | For these versions it is not sufficient to just link '' | ||
- | |||
- | Also see [[http:// | ||
- | |||
- | ==== init.d script ==== | ||
- | #!/bin/sh | ||
- | # | ||
- | # domino Start/stop the Lotus Domino server | ||
- | # | ||
- | # chkconfig: 345 95 95 | ||
- | # description: | ||
- | # server as a background process. It will send | ||
- | # the serverID password from a file to the server. | ||
- | # Communication with the server has to be done through | ||
- | # console, Notes Administrator or webadmin. | ||
- | # | ||
- | # Usage: / | ||
- | # | ||
- | # process name: server, ... | ||
- | | ||
- | # Change the USER, GROUP, DATA_DIR and BIN_DIR for your server | ||
- | DOMINO_USER=" | ||
- | DOMINO_GROUP=" | ||
- | DOMINO_DATA_DIR="/ | ||
- | DOMINO_BIN_DIR="/ | ||
- | | ||
- | # We need a file to put the serverID password in. | ||
- | # Make sure the owner is the Domino owner and the file | ||
- | # permissions are set to 400 | ||
- | | ||
- | SERVER_PASSWD_FILE="/ | ||
- | | ||
- | # See if the user that runs this script is root | ||
- | | ||
- | if [ `id -u` != 0 ]; then | ||
- | echo "This script must be run by root only" | ||
- | exit 1 | ||
- | fi | ||
- | | ||
- | # See how we were called. | ||
- | | ||
- | case $1 in | ||
- | | ||
- | start) | ||
- | # First, check if the password file exists, | ||
- | # and if not, exit with an errorcode | ||
- | #if [ ! -f $SERVER_PASSWD_FILE ] ; then | ||
- | #echo " | ||
- | #exit 1 | ||
- | #fi | ||
- | | ||
- | # Set permission to 400 (read-only-owner) | ||
- | # and ownership to $DOMINO_USER. These next lines are | ||
- | # not necessary if the ownership was set correctly the first time. | ||
- | | ||
- | #chmod 400 $SERVER_PASSWD_FILE | ||
- | #chown $DOMINO_USER.$DOMINO_GROUP $SERVER_PASSWD_FILE | ||
- | # Two ways to run the server (comment one of them out) | ||
- | # 1. With the output of the console redirected to / | ||
- | # Be sure to change the logrotate daemon. | ||
- | # 2. With the output of the console redirected to /dev/null | ||
- | | ||
- | echo -n " | ||
- | | ||
- | # Version with logfile | ||
- | su - ${DOMINO_USER} -c "cd ${DOMINO_DATA_DIR}; | ||
- | | ||
- | >> / | ||
- | | ||
- | # Version without logfile | ||
- | # su - ${DOMINO_USER} -c "cd ${DOMINO_DATA_DIR}; | ||
- | # cat ${SERVER_PASSWD_FILE} |\ | ||
- | # ${DOMINO_BIN_DIR}/ | ||
- | | ||
- | echo " | ||
- | ;; | ||
- | | ||
- | stop) | ||
- | echo -n " | ||
- | su - ${DOMINO_USER} -c "cd ${DOMINO_DATA_DIR}; | ||
- | ;; | ||
- | | ||
- | *) | ||
- | echo " | ||
- | exit 1 | ||
- | ;; | ||
- | esac | ||
- | | ||
- | exit 0 | ||
- | # End of the domino script | ||
- | |||
- | ===== Troubleshooting ===== | ||
- | |||
- | ==== libnotes.so: | ||
- | / | ||
- | |||
- | Under Debian Sarge install {{libstdc_2.9-glibc2.1_2.91.66-4_i386.deb|this package}}. //See under installation.// | ||
- | |||
- | ==== bindsock ==== | ||
- | |||
- | LDAP Server: Listener failure: ' |