Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

-930: Cannot connect to database server

Status
Not open for further replies.

AttilaDan

Programmer
Joined
Dec 15, 2004
Messages
5
Location
US
Running version 7.2 on a HPUX 11 machine.

When I try to start oninit, it fails and online.log has the message 'listener-thread: err = -930: Cannot connect to database server (l2000).'.

The sqlhosts file has:
onl_up01shm onipcshm l2000 localserver
onl_up01 onsoctcp l2000 sqlexec

My INFORMIXSERVER is set to 'onl_up01'. In the onconfig file, the DBSERVERNAME is set to 'onl_up01' and DBSERVERALIASES is 'onl_up01shm'.

There is a sqlexec entry in /etc/services. And the /etc/hosts file has an entry for 'l2000'.

What am I missing?
 
your dns is not resolving the l2000 entry. Try putting the actual ip address there instead.
 
EUREKA!!!! That was it! Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top