• -931: Cannot locate service/tcp service in /etc/services.

    From joli.princesse@gmail.com@21:1/5 to All on Tue Jun 2 11:59:32 2020
    Hi,

    I hace an informix db 11.5 and I'm trying to start working on it.
    I've followed all steps from unzip to configure sqlhost file and initialize the db

    I ran 'oninit -ivy' and enden up succesfully (mode =5)
    then I'm able to run 'dbaccess' but when I try to select a DB or create one I got the error

    931: Cannot locate service/tcp service in /etc/services.

    I've been looking around on all forums and pages and all say I must check sqlhosts and /etc/hosts files to match hostname and service name with hostname and I do have this both correct.

    But for any reason there's no such entry on /etc/services as the error says, and I do not know why.

    Any additional infor I'm missing?

    Thanks a lot

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From boncalo mihai@21:1/5 to joli.p...@gmail.com on Wed Jun 3 12:18:06 2020
    On Tuesday, June 2, 2020 at 9:59:34 PM UTC+3, joli.p...@gmail.com wrote:
    Hi,

    I hace an informix db 11.5 and I'm trying to start working on it.
    I've followed all steps from unzip to configure sqlhost file and initialize the db

    I ran 'oninit -ivy' and enden up succesfully (mode =5)
    then I'm able to run 'dbaccess' but when I try to select a DB or create one I got the error

    931: Cannot locate service/tcp service in /etc/services.

    I've been looking around on all forums and pages and all say I must check sqlhosts and /etc/hosts files to match hostname and service name with hostname and I do have this both correct.

    But for any reason there's no such entry on /etc/services as the error says, and I do not know why.

    Any additional infor I'm missing?

    Thanks a lot

    Add your informix database port to /etc/services

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)