01-19-2008
you cannot bind to a port that is in use. There is a process that has this open. Use lsof -i to find the pid and kill it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all!
Does anyone know how to redirect i link to a host or alias name?
Here is the example:
i wank to type "Bob" in my browser and be redirected to
http://192.168.54.37:7001/Bob/BobMainServlet on that perticular port.
Im using Redhat 6.2 with bind 9.2.3
regards...
dOzY (4 Replies)
Discussion started by: dozy
4 Replies
2. Programming
Can anyone tell what is the system API for VxWorks which is used to find GetLastError() for socket/bind failure.
I need to use it in some VxWorks application and need to call GetLastError but I'm not sure about the correct API.
Thanks in advance (1 Reply)
Discussion started by: anilgurwara
1 Replies
3. UNIX for Advanced & Expert Users
Hello,
I have a question about dns file zone.
Every zone file begins like:
@ 86400 IN SOA ns1.website.com. admin@website.com. (
It means that name server ns1 is responsible for this zone.
At the ending I can add the records like
mysite.com IN A 1.2.3.4
So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies
4. Solaris
Hi,
When I use the ldapadd command I get this error.
ldap_simple_bind: Conidentiality required
ldap_simple_bind: additional info: confidentiality required
I was able to use this command and the ldapsearch command yesterday just fine. I think I may have made a change to a file, but I don't... (2 Replies)
Discussion started by: bitlord
2 Replies
5. Red Hat
I have problems with a simple BIND configuration in CentOS. I have a static public IP 1.1.1.1 and I recently bought a domain name gigi.com. I just want that gigi.com points to 1.1.1.1 (Apache Web Server).
This is how my named.conf file looks:
options {
directory "/var/named";
};
... (0 Replies)
Discussion started by: pasadia
0 Replies
6. UNIX for Dummies Questions & Answers
hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
7. Red Hat
Hello friends
Internet query not working anymore with bind , i am not using forwarder dns server .
1.
resolv.conf file =>
search local.server
nameserver 127.0.0.1
2.
named.conf file =>
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS... (8 Replies)
Discussion started by: rink
8 Replies
8. UNIX for Dummies Questions & Answers
I know how to manage DNS once it's installed. I can edit named.conf and create zone files. I can sign the zones, use TSIG, etc.
How do I take the BIND 9.9 tar ball from All Downloads | Internet Systems Consortium and install it and get it to work?
Maybe I am not getting it.
Can... (0 Replies)
Discussion started by: brianjb
0 Replies
9. UNIX for Dummies Questions & Answers
When you get the message can't bind to ip already in use.
is there a command to search to see everything that is using that IP?
I've already check the host and hostname files (2 Replies)
Discussion started by: mchelle_99
2 Replies
10. UNIX for Advanced & Expert Users
Hi All
I need to do bind of exiting filesystem to new storage allocated
mount --bind /prod/OpenCSS /var/lib/test
echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab
will this command just work ? (2 Replies)
Discussion started by: anil529
2 Replies
LEARN ABOUT DEBIAN
zmq_bind
ZMQ_BIND(3) 0MQ Manual ZMQ_BIND(3)
NAME
zmq_bind - accept connections on a socket
SYNOPSIS
int zmq_bind (void *socket, const char *endpoint);
DESCRIPTION
The zmq_bind() function shall create an endpoint for accepting connections and bind it to the socket referenced by the socket argument.
The endpoint argument is a string consisting of two parts as follows: transport://address. The transport part specifies the underlying
transport protocol to use. The meaning of the address part is specific to the underlying transport protocol selected.
The following transports are defined:
inproc
local in-process (inter-thread) communication transport, see zmq_inproc(7)
ipc
local inter-process communication transport, see zmq_ipc(7)
tcp
unicast transport using TCP, see zmq_tcp(7)
pgm, epgm
reliable multicast transport using PGM, see zmq_pgm(7)
With the exception of ZMQ_PAIR sockets, a single socket may be connected to multiple endpoints using zmq_connect(), while simultaneously
accepting incoming connections from multiple endpoints bound to the socket using zmq_bind(). Refer to zmq_socket(3) for a description of
the exact semantics involved when connecting or binding a socket to multiple endpoints.
RETURN VALUE
The zmq_bind() function shall return zero if successful. Otherwise it shall return -1 and set errno to one of the values defined below.
ERRORS
EINVAL
The endpoint supplied is invalid.
EPROTONOSUPPORT
The requested transport protocol is not supported.
ENOCOMPATPROTO
The requested transport protocol is not compatible with the socket type.
EADDRINUSE
The requested address is already in use.
EADDRNOTAVAIL
The requested address was not local.
ENODEV
The requested address specifies a nonexistent interface.
ETERM
The 0MQ context associated with the specified socket was terminated.
ENOTSOCK
The provided socket was invalid.
EMTHREAD
No I/O thread is available to accomplish the task.
EXAMPLE
Binding a publisher socket to an in-process and a TCP transport.
/* Create a ZMQ_PUB socket */
void *socket = zmq_socket (context, ZMQ_PUB);
assert (socket);
/* Bind it to a in-process transport with the address 'my_publisher' */
int rc = zmq_bind (socket, "inproc://my_publisher");
assert (rc == 0);
/* Bind it to a TCP transport on port 5555 of the 'eth0' interface */
rc = zmq_bind (socket, "tcp://eth0:5555");
assert (rc == 0);
SEE ALSO
zmq_connect(3) zmq_socket(3) zmq(7)
AUTHORS
This manual page was written by the 0MQ community.
0MQ 2.2.0 04/04/2012 ZMQ_BIND(3)