1753969 Members
7370 Online
108811 Solutions
New Discussion юеВ

Bind problem

 
Marko_3
Contributor

Bind problem

Dear all

I have my database server on server A. My application on server B tries to do a bind() but it returns Unix error 'bad bind()' error 126.

Can anybody help please?
3 REPLIES 3
Shahul
Esteemed Contributor

Re: Bind problem

Hi

Check up ur both the servers are pinging each other and able to do telnet each other.

Best of luck

Shahul
Ralf Hildebrandt
Valued Contributor

Re: Bind problem

Check if another instance of the application is running, maybe it's alreading bind()ing to the port. Kill it.
Postfix/BIND/Security/IDS/Scanner, you name it...
Herve BRANGIER
Respected Contributor

Re: Bind problem

Hi

If you know port number used by your application
you can use "netstat" command to see if your
port is already in used. But before verify you
can connect (ping or telnet [port]).
If you use a name try to resolve it with
nslookup.
You can use lsof utility to know what process
use the port if necessary ( http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.48/ and see options).

HTH

Herv?