Professional Web Applications Themes

troubles - first try with db2 v8.1 for linux - IBM DB2

i just installed db2 on redhat 8.0 and, well, it doesn't seem to do anything. the install logs say everything was fine, an instance was created, but they also say that db2 will start up automatiocally on reboot (it doesn't), and when i try to run db2cc i get two lines printed out and nothing else: DB2JAVIT : RC = 9501 DB2INSTANCE : -2029059916 not a very good start. any ideas? thanks....

  1. #1

    Default troubles - first try with db2 v8.1 for linux

    i just installed db2 on redhat 8.0 and, well, it doesn't seem to do
    anything. the install logs say everything was fine, an instance was
    created, but they also say that db2 will start up automatiocally on
    reboot (it doesn't), and when i try to run db2cc i get two lines
    printed out and nothing else:
    DB2JAVIT : RC = 9501
    DB2INSTANCE : -2029059916

    not a very good start. any ideas? thanks.
    grafpoo Guest

  2. #2

    Default Re: troubles - first try with db2 v8.1 for linux

    "grafpoo" <grafpoohotmail.com> wrote in message
    news:e67651d7.0307230408.10758a8bposting.google.c om...
    > i just installed db2 on redhat 8.0 and, well, it doesn't seem to do
    > anything. the install logs say everything was fine, an instance was
    > created, but they also say that db2 will start up automatiocally on
    > reboot (it doesn't), and when i try to run db2cc i get two lines
    > printed out and nothing else:
    > DB2JAVIT : RC = 9501
    > DB2INSTANCE : -2029059916
    >
    > not a very good start. any ideas? thanks.
    1. Did you logon as the instance owner (even though you installed as root)?

    2. Did you route the output to your terminal before running db2cc

    xhost + host_name
    export DISPLAY=host_name:0

    where host_name is the hostname of your machine

    3. You should probably run db2fs first to install sample database


    Mark A Guest

  3. #3

    Default Re: troubles - first try with db2 v8.1 for linux

    On Wed, 23 Jul 2003 06:37:07 -0600, Mark A wrote:
    > "grafpoo" <grafpoohotmail.com> wrote in message
    > news:e67651d7.0307230408.10758a8bposting.google.c om...
    >> i just installed db2 on redhat 8.0 and, well, it doesn't seem to do
    >> anything. the install logs say everything was fine, an instance was
    >> created, but they also say that db2 will start up automatiocally on
    >> reboot (it doesn't), and when i try to run db2cc i get two lines
    >> printed out and nothing else:
    >> DB2JAVIT : RC = 9501
    >> DB2INSTANCE : -2029059916
    >>
    >> not a very good start. any ideas? thanks.
    >
    > 1. Did you logon as the instance owner (even though you installed as root)?
    >
    > 2. Did you route the output to your terminal before running db2cc
    >
    > xhost + host_name
    > export DISPLAY=host_name:0
    >
    > where host_name is the hostname of your machine
    >
    > 3. You should probably run db2fs first to install sample database
    Starting the instance automatically - check that an entry for db2fmcd has
    been added to inittab. You also need to set an DB2 registry variable
    DB2AUTOSTART=YES : check this by running db2set.

    If you're trying to run things as a regular user, not the instance owner,
    then you'll need to sort out authorities and also add the db2profile
    script to your BASH profile. This should have been done on db2inst1 (or
    whatever your instance owner is) automatically.

    Since I installed DB2 semi-manually on my Debian box, I had to do most of
    this by hand. I wrote a paper on this, which I can email you if you like
    (drop me an email).

    Regarding setting X parameters. There is a useful script called sux
    available, which passes over the parameters needed to run X when you su
    from the logon user to another user. Google for 'sux Linux' to find this.

    HTH

    Phil Nelson
    ScotDB Limited
    (teamdbascotdb.com)
    Philip Nelson Guest

Similar Threads

  1. Replies: 24
    Last Post: March 11th, 01:37 AM
  2. Question on which Linux Binaries to d/l for Linux Redhat 7.0 ?
    By K T in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: August 22nd, 05:16 PM
  3. Linux Event + 2 Workshops on Debian GNU/Linux
    By Warren Norrix in forum Debian
    Replies: 0
    Last Post: August 1st, 08:10 PM
  4. Replies: 1
    Last Post: August 1st, 07:50 PM
  5. Replies: 0
    Last Post: July 30th, 03:20 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139