Migrating Oblik to another host. Version 2

Source: Red Hat Linux 8.0 (Psyche), kernel 2.4.18-14. Destination: CentOS 4.8, kernel 2.6.9-89

  1. Installed a new server.
  2. Transferred the directories to it (using tar):

    /usr/java
    /usr/pro
    /usr/dlc (in our case, /usr/dcl91)
    

  3. Created new users and set passwords:

    groupadd -g 200 progress
    useradd -u 200 -g progress -d /usr/dlc91/home -s /bin/sh -c "Progress user" progress
    useradd -u 201 -o -g progress -d /usr/pro/admin/home -s /bin/sh -c "Progress Admin user" admin
    useradd -u 202 -g progress -d /usr/pro/home -s /bin/sh -c dbadmin dbadmin
    
    passwd progress 
    passwd admin
    passwd dbadmin
    

  4. Set directory permissions:

    chmod -R 774 /usr/dlc91 /usr/pro
    chown -R progress:progress /usr/dlc91 /usr/pro
    

This came up in July 2016 on CentOS 5.3: there were many databases on the server (166). Not enough semaphores. Add:

echo "kernel.sem = 250 128000 32 512" >> /etc/sysctl.conf