IBM Support

-931: oserr = 0: errstr = sqlexec: Cannot locate service/tcp service in /etc/services.

Troubleshooting


Problem

When trying to bring a database server online by just running oninit or by doing a in-place upgrade, a error indicating the servicename defined in the sqlhosts file could not be resolved.

Symptom

Error similar to the following will be found in the Online.log file:
listener-thread: err = -931: oserr = 0: errstr = myserver: Cannot locate myserver service/tcp service in /etc/services.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"11.5;11.7;12.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21669647