Displaying 20 results from an estimated 90 matches for "eaddrinus".
Did you mean:
eaddrinuse
2008 Oct 02
2
Bug in dovecot 1.2 dict
...arly with "Fatal: dict: Socket already exists: ..."
(looks like a race condition as it doesn't fail always).
We discovered that this new code in dict-server.c seems to be the problem:
server->fd = net_listen_unix_unlink_stale(path, 64);
if (server->fd == -1) {
if (errno == EADDRINUSE)
i_fatal("Socket already exists: %s", path);
else
i_fatal("net_listen_unix(%s) failed: %m", path);
}
replacing it with the old code:
int i = 0;
[...]
while (server->fd == -1) {
server->fd = net_listen_unix(path, 64);
if (server->fd != -1)
b...
2011 May 18
9
Address already in use - bind(2) (Errno::EADDRINUSE)
...lowing error message.
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from /usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in `initialize''
from /usr/lib/ruby/1.8/mongrel.rb:93:in `new''
from /usr/lib/ruby/1.8/mongrel.rb:93:in `initialize''
from /var/lib/gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:
10:in `new''
from /var/lib/ge...
2010 Nov 04
11
Address already in use - bind(2) (Errno::EADDRINUSE)
...ng on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize''
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in
`new''
fr...
2007 Jan 03
12
Frustrating Error
...Daemonized, any open files are closed. Look at log/mongrel.8000.pid and
log/mongrel.log for info.
** Starting Mongrel listening at 127.0.0.1:8000
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/tcphack.rb:12:in
`initialize''
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:560:in `new''
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel.rb:560:in
`initialize''
from
/usr/lib/ruby/gems...
2008 Nov 11
7
problem starting mongrel server
...n starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
Exiting
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize''
from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in
`new''
from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in
`initialize''
from
/Library/Ruby...
2000 Oct 08
1
binding to privileged ports
...#if defined(SOCKS)
if (Rbind(sock, (struct sockaddr *)&sin, sizeof(sin)) >= 0)
break; /* Success. */
#else /* SOCKS */
if (bind(sock, (struct sockaddr *)&sin, sizeof(sin)) >= 0)
break; /* Success. */
#endif /* SOCKS */
if (errno == EADDRINUSE)
{
close(sock);
continue;
}
fatal("bind: %.100s", strerror(errno));
}
The portable OpenSSH distribution appears to count /upwards/ from 600:
(from bsd-bindresvport.c; whitespace elided)
for(i = 0; i < NPORTS; i++) {...
2012 Feb 09
7
ruby script/server is not working
...ne i just typed ruby script/server -d and then after when i
type again it is not working. i got this error
[2012-02-09 16:19:54] WARN TCPServer Error: Address already in use -
bind(2)
Exiting
/usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Address already
in use - bind(2) (Errno::EADDRINUSE)
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new''
from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners''
from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `each''
from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners''
from /usr/lib/ruby/1....
2010 May 30
1
upgrading problems, 2.3.5 -> 2.3.8
...05-29 18:14:58] INFO WEBrick 1.3.1
[2010-05-29 18:14:58] INFO ruby 1.9.1 (2009-01-30) [i686-linux]
[2010-05-29 18:14:58] WARN TCPServer Error: Address already in use -
bind(2)
Exiting
/usr/local/lib/ruby/1.9.1/webrick/utils.rb:73:in `initialize'': Address
already in use - bind(2) (Errno::EADDRINUSE)
from /usr/local/lib/ruby/1.9.1/webrick/utils.rb:73:in `new''
from /usr/local/lib/ruby/1.9.1/webrick/utils.rb:73:in `block in
create_listeners''
from /usr/local/lib/ruby/1.9.1/webrick/utils.rb:70:in `each''
from /usr/local/lib/ruby/1.9.1/webrick/utils.rb:70:in
`crea...
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
...g: config/scgi.yaml
:control_url: druby://127.0.0.1:8999
:disable_signals: true
:env: production
Heres the error I get:
c:/ruby/lib/ruby/1.8/drb/drb.rb:853:in `initialize'': Only one usage of
each sock
et address (protocol/network address/port) is normally permitted. -
bind(2) (Err
no::EADDRINUSE)
from c:/ruby/lib/ruby/1.8/drb/drb.rb:853:in `open''
from c:/ruby/lib/ruby/1.8/drb/drb.rb:853:in `open_server''
from c:/ruby/lib/ruby/1.8/drb/drb.rb:747:in `open_server''
from c:/ruby/lib/ruby/1.8/drb/drb.rb:745:in `each''
fro...
2007 Aug 03
1
race condition with ControlMaster=auto
...to set up multiplex master socket");
memset(&addr, '\0', sizeof(addr));
addr.sun_family = AF_UNIX;
@@ -1073,11 +1074,9 @@
old_umask = umask(0177);
if (bind(control_fd, (struct sockaddr *)&addr, addr_len) == -1) {
control_fd = -1;
- if (errno == EINVAL || errno == EADDRINUSE)
- fatal("ControlSocket %s already exists",
- options.control_path);
- else
+ if (errno != EINVAL && errno != EADDRINUSE)
fatal("%s bind(): %s", __func__, strerror(errno));
+ return 0;
}
umask(old_umask);
@@ -1085,6 +1084,9 @@
fatal("%s list...
2004 Dec 28
1
OpenSSH 3.9p1 X11 forwarding
...15.5940 bind(8, 0x00072238, 32, 3) Err#126
EADDRNOTAVAIL
19279: 15.5942 close(8) = 0
19279: 15.5944 so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", 1) = 8
19279: 15.5946 bind(8, 0x0007F108, 16, 3) Err#125
EADDRINUSE
19279: 15.5947 close(8) = 0
19279: 15.5948 so_socket(PF_INET6, SOCK_STREAM, IPPROTO_IP, "", 1) = 8
19279: 15.5949 bind(8, 0x00072238, 32, 3) Err#126
EADDRNOTAVAIL
19279: 15.5949 close(8)...
2008 Nov 11
1
Problem Starting Mongrel
...n starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
Exiting
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize''
from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in
`new''
from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in
`initialize''
from
/Library/Ruby...
2007 Sep 01
4
[Bug 1356] New: X11 forwarding broken.
http://bugzilla.mindrot.org/show_bug.cgi?id=1356
Summary: X11 forwarding broken.
Product: Portable OpenSSH
Version: 4.5p1
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: bitbucket at mindrot.org
ReportedBy: marka at isc.org
Created
2011 Mar 14
7
Rails server not works - yesterday worked fine
...nt on
http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize''
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in
`new''
fr...
2001 Aug 09
2
Solaris X86 Wine
...mapped: vfork");
abort ();
}
else if (pid == 0)
{
fstat (fd, &sb);
asmap = alloca (sb.st_size);
read (fd, asmap, sb.st_size);
if (is_mapped_test ((uintptr_t) addr, len, asmap,
sb.st_size / sizeof (prmap_t)))
_exit (EADDRINUSE);
else if ((actual_addr = mmap (addr, len, prot, flags | MAP_FIXED,
fildes, off)) == (void *) -1)
_exit (errno);
else if (actual_addr != addr)
{
munmap (actual_addr, len);
kill (getpid (), SIGKILL);
}
else...
2006 Jul 13
8
(OS X) Address binding still exists after terminating session
...ongrel process (by closing terminal window --
hey, it happens!), subsequent attempts to start mongrel give me the
following error:
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/
tcphack.rb:12:in `initialize_without_backlog'': Address already in use
- bind(2) (Errno::EADDRINUSE)
I suppose, because mongrel wasn''t stopped properly, the address
binding still exists somewhere. However, since the actual mongrel
process has been killed, i have no idea how to unbind the address and
port otherwise, so i usually have to resort to restarting the whole
system (ouc...
2006 Jan 17
0
asterisk.ctl limitations
...ort... */
for (y = 4; y > 0; y--) {
- rr = bind (nnetfd, (SA *)lclend, sizeof (SA));
+ if (unixsock_name) {
+ rr = bind (nnetfd, (SA *)unixsock, sizeof (SA));
+ } else {
+ rr = bind (nnetfd, (SA *)lclend, sizeof (SA));
+ }
if (rr == 0)
break;
if (errno != EADDRINUSE)
break;
else {
- holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), lp);
+ if (unixsock_name) {
+ holler ("retrying local socket %s", unixsock_name);
+ } else {
+ holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), lp);
+ }
sl...
2013 Aug 24
12
[Bug 2143] New: X11 forwarding for ipv4 is broken when ipv6 is disabled on the loopback interface
https://bugzilla.mindrot.org/show_bug.cgi?id=2143
Bug ID: 2143
Summary: X11 forwarding for ipv4 is broken when ipv6 is
disabled on the loopback interface
Product: Portable OpenSSH
Version: 5.3p1
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
2015 May 27
0
[RFC 1/6] VSOCK: Introduce vsock_find_unbound_socket and vsock_bind_dgram_generic
...TAVAIL;
+ } else {
+ /* If port is in reserved range, ensure caller
+ * has necessary privileges.
+ */
+ if (addr->svm_port <= LAST_RESERVED_PORT &&
+ !capable(CAP_NET_BIND_SERVICE)) {
+ return -EACCES;
+ }
+
+ if (__vsock_find_unbound_socket(&new_addr))
+ return -EADDRINUSE;
+ }
+
+ vsock_addr_init(&vsk->local_addr, new_addr.svm_cid, new_addr.svm_port);
+
+ return 0;
+}
+EXPORT_SYMBOL_GPL(vsock_bind_dgram_generic);
+
static int __vsock_bind_dgram(struct vsock_sock *vsk,
struct sockaddr_vm *addr)
{
--
2.4.1
2007 Apr 18
1
[Bridge] [PATCH] bridge: check kmem_cache_create() error
...bridge/br_private.h | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
Index: 2.6-mm/net/bridge/br.c
===================================================================
--- 2.6-mm.orig/net/bridge/br.c
+++ 2.6-mm/net/bridge/br.c
@@ -37,7 +37,9 @@ static int __init br_init(void)
return -EADDRINUSE;
}
- br_fdb_init();
+ err = br_fdb_init();
+ if (err)
+ goto err_out0;
err = br_netfilter_init();
if (err)
@@ -63,7 +65,10 @@ err_out3:
err_out2:
br_netfilter_fini();
err_out1:
+ br_fdb_fini();
+err_out0:
llc_sap_put(br_stp_sap);
+
return err;
}
Index: 2.6-mm/net/bridge/br_fd...