Results 1 to 4 of 4
  1. #1
    Join Date
    May 2003
    Posts
    1

    Unanswered: oninit error,how can i do?

    D:\Program Files\informix>oninit
    oninit: DBSERVERNAME 'myserver' not in sqlhosts file or sqlhosts file contents
    are damaged.
    my os:win2k
    online wait your answer!Thanks!

  2. #2
    Join Date
    May 2003
    Posts
    2

    111111

    HOW ABOUT YOUR ONINIT QUESTION?MY ERROR IS SAME TO YOURS....
    IF YOU HAVE METHOD TO THAT ,PLEASE MAIL TO ME ,CREATIVEHUANG@HOTMAIL.COM.THANK U ...

  3. #3
    Join Date
    May 2003
    Posts
    2

    Re: oninit error,how can i do?

    Originally posted by routine
    D:\Program Files\informix>oninit
    oninit: DBSERVERNAME 'myserver' not in sqlhosts file or sqlhosts file contents
    are damaged.
    my os:win2k
    online wait your answer!Thanks!
    I have the same question,but now i change the install disk <2g .and then no error appears.
    you can try ...

  4. #4
    Join Date
    Mar 2002
    Posts
    112

    Re

    Your DBSERVERNAME is not in sqlhosts file,
    for Windows NT you have to edit registry to add sqlhost
    \HKEY_LOCAL_MACHINE\SOFTWARE\Informix\SqlHosts\

    for Unix edit $INFORMIXSQLHOSTS file (default in $INFORMIXDIR/etc/)
    add this line
    DBSERVERNAME PROTOCOLS HOST SERVICE(port)

Posting Permissions

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