Topic
  • 1 reply
  • Latest Post - ‏2012-09-01T12:57:09Z by slowhand
SystemAdmin
SystemAdmin
300 Posts

Pinned topic [Answered] Install Log in Parent Directory

‏2012-08-28T17:15:57Z |
During Install and Uninstall, the Installation Manager attempts to write the log file to the parent directory of the installation directory. On Unix-based servers in particular, this parent directly will often not be writable by the ID used to run Install Manager (IM), unless IM is run as root, which is frowned upon more and more in data centers these days.

Suggested work-arounds include

1. Noting this behavior in the Installation Guide so that Unix admins can prepare the file system permissions accordingly.

2. Changing the IM plug-in so that the the install/uninstall log is written to the installation directory rather than its parent.
  • slowhand
    slowhand
    35 Posts

    Re: Install Log in Parent Directory

    ‏2012-09-01T12:57:09Z  
    > During Install and Uninstall, the Installation Manager attempts to write the log
    > file to the parent directory of the installation directory. On Unix-based servers in
    > particular, this parent directly will often not be writable by the ID used to run
    > Install Manager (IM), unless IM is run as root, which is frowned upon more and more
    > in data centers these days.

    Indeed, the installation currently fails in the situation where the installation directory
    is of the form /some/root-owned-dir/Worklight.

    As a workaround, you can install in /some/root-owned-dir/IBM/Worklight,
    if you make sure that /some/root-owned-dir/IBM and /some/root-owned-dir/IBM/Worklight
    are both owned by the non-root user.

    > Suggested work-arounds include
    > 2. Changing the IM plug-in so that the the install/uninstall log is written to the
    > installation directory rather than its parent.

    Thanks for these suggestions. Suggestion 2 will be implemented in a future fix pack
    or in the next release.

    --slowhand