- Timestamp:
- 31/10/2011 21:09:45 (7 months ago)
- Location:
- box/trunk/lib/server
- Files:
-
- 2 edited
-
ServerException.txt (modified) (1 diff)
-
SocketListen.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/server/ServerException.txt
r217 r3034 14 14 SocketCloseError 13 15 15 SocketNameUNIXPathTooLong 14 16 SocketBindError 16 Check the ListenAddresses directive in your config file -- must refer to local IP addressesonly16 SocketBindError 16 Check the ListenAddresses directive (bbstored) or CommandSocket (bbackupd) in your config file -- must refer to local IP addresses (or existing writable path) only 17 17 SocketAcceptError 17 18 18 ServerStreamBadListenAddrs 18 -
box/trunk/lib/server/SocketListen.h
r2711 r3034 167 167 || ::listen(mSocketHandle, ListenBacklog) == -1) 168 168 { 169 int err_number = errno; 169 170 // Dispose of the socket 170 171 ::close(mSocketHandle); 171 172 mSocketHandle = -1; 172 THROW_EXCEPTION(ServerException, SocketBindError) 173 THROW_SYS_FILE_ERRNO("Failed to bind or listen " 174 "on socket", Name, err_number, 175 ServerException, SocketBindError); 173 176 } 174 177 }
Note: See TracChangeset
for help on using the changeset viewer.
