Results 1 to 3 of 3
  1. #1
    Join Date
    May 2014

    Unanswered: db2setup run as root

    I have a virtual machine x86-64 running Ubuntu 12.4 LTS server with GUI (kubuntu)
    (8G mem , 25G disk) . The virtual machine runs under Openstack cloud .

    Accessing the server console I can run ./db2setup as non root to completion . But the outcome does not function well (db2start does not function) and the non rooot install has limitations
    So : I arranged -so I think- for a root user to access the X server .
    ( xhost local:root; sudo DISPLAY=$DISPLAY gedit /etc/profile; sudo su)

    Simple applications like Xclock are run fine by root. But the ./db2setup starts a GUI window , shows the first IBM db2 screen and is stuck ( does not get to the Welcome screens !)

    In the /tmp/db2setup.log file I see (this file is generated only in the root db2 install not in the non root install) :

    DB2 Setup log file started at: Tue 20 May 2014 01:29:36 PM IDT IDT
    ================================================== ========
    Operating system information: Linux 3.2.0-61-generic.#93-Ubuntu SMP Fri May 2 21:31:50 UTC 2014 x86_64
    ERROR: Query IBM General Parallel File System (GPFS) info failed. Detailed
    message is "/home/ubuntu/ese/db2/linuxamd64/install/db2ckgpfs: 1:
    /home/ubuntu/ese/db2/linuxamd64/install/db2ckgpfs: rpm: not found".

    The mentioned db2chkgpfs file exist . But I have nothing on my server that involves GPFS (an IBM file system) and this failure message does not appear in the non root installation case . I see nothing special in the /var/log/Xorg.* files

    1. Can someone point if my enablement of root user to access X, as stated
    above, correct ?

    Am I missing something more in runnung db2setup as root

    Last edited by zvidubi; 05-20-14 at 10:10.

  2. #2
    Join Date
    Jun 2003
    Toronto, Canada
    Provided Answers: 1
    rpm: not found
    This should give you a hint. Check also one of your other million threads on this topic for a suggestion.
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    May 2014

    run db2setup as root on Ubuntu

    I managed to enable root to operate X server so db2setup could be run as

    1.xhost local:root

    2. $ echo $DISPLAY # memorize as <non root display>

    3. swich to root

    4. export DISPLAY=<non root display>

    5. export XAUTHORITY=/home/<non-root-usersname>/.Xauthority

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts