This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Oct 10, 2013, 12:35 AM
6 Posts
topic has been resolvedResolved

Unexpected behaviour during install on CENTOS 6

  • Category: Domino Server
  • Platform: Linux
  • Release: 9.0
  • Role: Administrator
  • Tags:
  • Replies: 8

Can't find anything obvious anywhere on site about this.

Issue: am trying to install Domino 9 32 bit server on CENTOS 6. Domino package is correct, checked. I have installed this twice now on clean servers. What I see is the correct sequence of Q&A for the install process, no errors flagged on screen but when the install completes I have data in the specified notesdata directory but I do not have anything in the specified program directory, nor a bin subdirectory with anything in it. If I search for all files containing "server" on the whole file system I get about 200 but none of them appears to be in a lotus or IBM directory.

Consequently I am unable to start the server and configure it.

As I have never installed domino on Linux before and Linux isn't my best OS, but as far as I am aware I have followed the standard set of instructions for a linux install.

Anyone seen anything similar or got any bright ideas where to start to find out what the install is (or isn't) doing?

Thanks,

              Rick.

Oct 10, 2013, 9:27 AM
6 Posts
Centos is however based on RHEL, which is supported

so the conclusion is it isn't going to be a million miles off.

Hence the request was aimed at those who might have done this before and encountered and resolved the issue or someone who can explain how to usefully debug the installation process through logs etc.

My guess is that there's something about the secure nature of CentOS that I've forgotten to switch off (I've done SELinux) that might be interfering with the install somehow.

Problem is I just don't know where to start. I tried through the install script but it is beyond my knowledge.

Oct 10, 2013, 1:20 PM
107 Posts
It does work
Domino 9 will work on CentOS6. We currently have three servers up and running on CentOS Linux 6.4. One is 32bits, the remaining two are 64bits.

In a standard setup, the path to executables is /opt/ibm/domino/notes/90000/linux, with symlinks in /opt/ibm/domino/bin.


Selinux does not seem to interfere. Here's how we have configured it:

SELINUX=enforcing

SELINUXTYPE=targeted


We did set up a special user & group (both named "notes") for the Domino server before we started installing.

We ran the install script in console mode, since our installations of CentOS are all GUI-less.

Finally, we ran the following script after installing, but before starting Domino for the first time, just to ensure proper access privileges.


#!/bin/bash

chown -R -h
notes:notes /opt/ibm/domino
chown -R -h
notes:notes /local/notesdata
chmod -R 550 /opt/ibm/domino

chmod -R 700 /local/notesdata

chown root:notes /opt/ibm/domino/notes/latest/linux/bindsock

chmod 4550 /opt/ibm/domino/notes/latest/linux/bindsock

chown root:root /opt/ibm/domino/notes/latest/linux/tunekrnl

chmod 4555 /opt/ibm/domino/notes/latest/linux/tunekrnl


As far as I can remember, an install log file was written to the directory from where the install script was started. Though it might have been somewhere else, I'm not sure about that.


Now, the bad news (for you, not for us ;-) is that getting Domino to run went w/o any problems, which is why I'm currently clueless as to what might be different in your case.
Oct 10, 2013, 7:03 PM
60 Posts
Check DominoInstall.log
In /tmp directory first - you could paste contents hers - should not be too long.
It should mention in the log where it tried to install.
[You were using UI or console or silent install? Do you have an installation  summary screenshot of any kind or any other indications of what was being installed where?]
Oct 10, 2013, 7:06 PM
60 Posts
another consideration
I re-read your post again. Please check /opt/ibm/domino/notes/latest/linux
When you will be setting up your server - change to data directory and be a "notes user" (which you had specified during install).
.
Oct 10, 2013, 8:49 PM
6 Posts
Thanks for pointers

Jochen - that's a confirmation it's me not doing it right - which I can live with for now.

Irina, I've checked the log, and on this round the log covers two attempts to install (which is correct ) but it's about 250K long. I also don't have a capture of what I entered, so...

I'm going to clean install CentOS again and step through carefully recording what I do. If it's the same I'll have something to share, if not I might be in luck. Whichever way I'm becoming more familiar with the console interface. :-)

 

Is the comment about being the Notes user to install rather than root important? I suspect I was trying to do this as root each time.

Rick.

Oct 11, 2013, 3:10 PM
107 Posts
Forgot to mention
Install as root, but run the server as notes (or whatever you have chosen as the user name for Domino).
Oct 11, 2013, 10:21 AM
6 Posts
Progress

Well, I'm now at server setup stage. I suspect that I was misreading the question about data directories, because I noted this time through that an incorrect answer can result in data directory updates only.

Unfortunately I do have one remaining issue but hopefully this is down to subtleties of file permissions.

when running the server I got:

    [notes@kembel dominodata]$ /opt/ibm/domino/bin/server
   Could not backup notes.ini

   As Jochen's permissions solution seemed a little more comprehensive than the others I'd seen I had applied it, i.e.

   [notes@kembel dominodata]$ cat ~/ensure_permissions
   #!/bin/bash
   chown -R -h notes:notes /opt/ibm/domino
   chown -R -h notes:notes /local/gallifrey/dominodata
   chown -R 550 /opt/ibm/domino
   chown -R 700 /local/gallifrey/dominodata
   chown root:notes /opt/ibm/domino/notes/latest/linux/bindsock
   chmod 4550 /opt/ibm/domino/notes/latest/linux/bindsock
   chown root:root /opt/ibm/domino/notes/latest/linux/tunekrnl
   chmod 4550 /opt/ibm/domino/notes/latest/linux/tunekrnl

but there appears to be something wrong as I couldn't create a file:

   [notes@kembel dominodata]$ echo "fred" >aaa
   -bash: aaa: Permission denied

The permissions appear to have been set according to this as they are:

   [notes@kembel dominodata]$ ls -l notes.ini
   -rw-r--r-- 1 700 notes 180 Oct 11 09:58 notes.ini

   [notes@kembel dominodata]$ ls -l *
   -rw-r--r-- 1 700 notes  1658880 Nov  1  2012 activity.ntf
   -rw-r--r-- 1 700 notes  2883584 Nov  6  2012 admin4.ntf
   -rwxr-xr-x 1 700 notes   634975 Jul  1  2010 afrikaan.dic
   -rw-r--r-- 1 700 notes   327680 Sep 17  1999 AgentRunner.nsf
   -rw-r--r-- 1 700 notes   327680 Aug 20  2008 alog4.ntf
   -rwxr-xr-x 1 700 notes   448087 May 27  2009 arabic.dic
   -rw-r--r-- 1 700 notes   411648 Sep 12  2008 archlg50.ntf
   -rwxr-xr-x 1 700 notes   690753 Jul  1  2010 aus.dic
   -rw-r--r-- 1 700 notes   262144 Nov  1  2012 autosave.ntf
   -rw-r--r-- 1 700 notes   135680 Nov 25  2002 billing.ntf
   -rwxr-xr-x 1 700 notes      905 Aug 21  1996 binary.gif
   -rw-r--r-- 1 700 notes  5505024 Feb 15  2013 bookmark.ntf
   -rwxr-xr-x 1 700 notes   490948 Jul  1  2010 brasil.dic

although I note it's not displaying the notes group in this list.

permissions on directory itself are:

   [notes@kembel gallifrey]$ ls -l
   total 4
   drwxr-xr-x 9 700 notes 4096 Oct 11 09:58 dominodata

...which made me wonder if in fact the notes in the list is the group and not the owner, which would explain why create/backup fails.

indeed it is...

   [notes@kembel gallifrey]$ stat dominodata
     File: `dominodata'
     Size: 4096            Blocks: 8          IO Block: 4096   directory
   Device: fd00h/64768d    Inode: 1310723     Links: 9
   Access: (0755/drwxr-xr-x)  Uid: (  700/ UNKNOWN)   Gid: (  500/   notes)
   Access: 2013-10-11 10:29:50.616849019 +0100
   Modify: 2013-10-11 09:58:16.269437232 +0100
   Change: 2013-10-11 10:24:43.813035572 +0100
   [notes@kembel gallifrey]$ stat dominodata/notes.ini
     File: `dominodata/notes.ini'
     Size: 180             Blocks: 8          IO Block: 4096   regular file
   Device: fd00h/64768d    Inode: 1318071     Links: 1
   Access: (0644/-rw-r--r--)  Uid: (  700/ UNKNOWN)   Gid: (  500/   notes)
   Access: 2013-10-11 10:29:10.401435287 +0100
   Modify: 2013-10-11 09:58:13.635318360 +0100
   Change: 2013-10-11 10:24:43.682034608 +0100

 

...so why?

 

...having manually changed the permissions again on the data directory using chown notes:notes ... the server program is running.  Would like to understand why it didn't set the first time tho' using the script. Is it the symlink stuff that might affect it?

 

Rick


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal