Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
domino:r5 [2006/07/26 18:46] a add links |
domino:r5 [2009/05/25 00:35] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== IBM Lotus Domino r5 ====== | ||
+ | This was all done on Debian system .. | ||
+ | |||
+ | for Domino v6 [[: | ||
+ | |||
+ | ===== instalation ===== | ||
+ | Some basic stuff that can be done to secure your running linux system. Try to run (see init.d script below) domino proccesses as domino user not as root. | ||
+ | |||
+ | * create notes user and group as //(example below)//: | ||
+ | |||
+ | groupadd -g 501 domino | ||
+ | useradd -g 501 -u 501 domino | ||
+ | |||
+ | * and then run domino ./install script from CD as root | ||
+ | * after successful install (for install troubleshooting see below) do: | ||
+ | |||
+ | chown -R domino.domino $NOTESDATA_DIR | ||
+ | |||
+ | * run $DOMINODIR/ | ||
+ | * connect to < | ||
+ | * after restart you can configurate it on < | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== init.d script ===== | ||
+ | **Change variables values to your settings** in this script below. | ||
+ | |||
+ | #!/bin/sh | ||
+ | # | ||
+ | # domino Start/stop the Lotus Domino server | ||
+ | # < | ||
+ | # | ||
+ | # 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="/ | ||
+ | | ||
+ | # 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) | ||
+ | echo -n " | ||
+ | # Version with logfile | ||
+ | su - ${DOMINO_USER} -c "cd ${DOMINO_DATA_DIR}; | ||
+ | ${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 ===== | ||
+ | |||
+ | ==== < | ||
+ | //most common install error as far as I've tested ;-]// | ||
+ | |||
+ | During the installation you get the following error. An unexpected error occured during post-install processing: '' | ||
+ | |||
+ | **Notes Installation does NOT like symlinks**.. so if you wanted so keep the default settings however you did not enough diskspace and created symlinks for the /opt/notes and / | ||
+ | |||
+ | |||
+ | ==== < | ||
+ | |||
+ | I get the following error when starting | ||
+ | |||
+ | [domino@iluzija notesdata]$ / | ||
+ | / | ||
+ | libstdc++-libc6.1-1.so.2: | ||
+ | directory | ||
+ | |||
+ | you have a wrong verscion of libstdc check in your ''/ | ||
+ | |||
+ | ln -s libstdc++-libc6.2-2.so.3 | ||
+ | |||
+ | #debian: apt-get install libstdc++2.9-glibc2.1 | ||
+ | |||
+ | |||
+ | ==== < | ||
+ | |||
+ | |||
+ | I get the following error when starting | ||
+ | |||
+ | [domino@iluzija notesdata]$ / | ||
+ | | ||
+ | 10/18/2001 11:58:12 AM Created new log file as / | ||
+ | 10/18/2001 11:58:12 AM | ||
+ | ***************************************** | ||
+ | * Lotus Domino Server Setup * | ||
+ | * To setup this server, please connect | ||
+ | * your web browser to port 8081 * | ||
+ | * Example: http:// | ||
+ | ***************************************** | ||
+ | libjitc.so: cannot open shared object file: No such file or directory (libjitc.so) | ||
+ | |||
+ | This means that notes does not find its Java Libraries. Either they are not installed or you have to include them in your ''/ | ||
+ | |||
+ | ==== <--- SIGSEGV (Segmentation fault) ---> ==== | ||
+ | |||
+ | When starting http httpsetup it stops just after | ||
+ | |||
+ | [domino@iluzija notesdata]$ / | ||
+ | 10/18/2001 01:43:53 PM | ||
+ | ***************************************** | ||
+ | * Lotus Domino Server Setup * | ||
+ | * To setup this server, please connect | ||
+ | * your web browser to port 8081 * | ||
+ | * Example: http:// | ||
+ | ***************************************** | ||
+ | |||
+ | This is again a Java library problem You can verify this by running '' | ||
+ | |||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | |||
+ | This has everything to do with your JDK. Let`s tackle this problem step by step. remove the file '' | ||
+ | |||
+ | [domino@iluzija notesdata]$ / | ||
+ | 10/18/2001 01:43:53 PM | ||
+ | ***************************************** | ||
+ | * Lotus Domino Server Setup * | ||
+ | * To setup this server, please connect | ||
+ | * your web browser to port 8081 * | ||
+ | * Example: http:// | ||
+ | ***************************************** | ||
+ | 10/18/2001 01:43:53 PM JVM: The JVM runtime library could not be found. | ||
+ | 10/18/2001 01:43:53 PM JVM: Java Virtual Machine failed to start | ||
+ | 10/18/2001 01:43:53 PM HTTP server error, could not load the Java VM | ||
+ | 10/18/2001 01:43:53 PM HTTP Web Server started | ||
+ | |||
+ | As you can see this works but you don`t have a JVM available. | ||
+ | | ||
+ | Recently I have discovered that with the java versions that are currently included with Notes there are less problems. | ||
+ | |||
+ | [root@linnotes linux]# more / | ||
+ | Red Hat Linux release 7.3 (Valhalla) | ||
+ | [root@linnotes linux]# ./java -version | ||
+ | java.bin version " | ||
+ | [root@linnotes linux]# pwd | ||
+ | / | ||
+ | |||
+ | #debian | ||
+ | iluzija:~# cat / | ||
+ | 3.0 | ||
+ | |||
+ | |||
+ | No problem there .. but we use the java version included with Notes . | ||
+ | |||
+ | ==== <Lotus Notes: error 0x102> ==== | ||
+ | |||
+ | You get '' |