Discussion:
-931: Cannot locate service/tcp service in /etc/services.
(too old to reply)
j***@gmail.com
2020-06-02 18:59:32 UTC
Permalink
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
boncalo mihai
2020-06-03 19:18:06 UTC
Permalink
Post by j***@gmail.com
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

Loading...