search for: open_socket

Displaying 20 results from an estimated 61 matches for "open_socket".

2017 Feb 12
3
Centos7 and old Bind bug
This is my new Centos7 DNS server. In logwatch I am seeing: **Unmatched Entries** dispatch 0xb4378008: open_socket(0.0.0.0#5546) -> permission denied: continuing: 1 Time(s) dispatch 0xb4463008: open_socket(::#1935) -> permission denied: continuing: 1 Time(s) dispatch 0xb4464440: open_socket(::#8554) -> permission denied: continuing: 1 Time(s) dispatch 0xb4464440: open_socket(::#8614) -&g...
2017 Feb 12
2
Centos7 and old Bind bug
...ring it. > > It's probably safe to specify some range of higher numbered ports: > > use-v4-udp-ports { range 10240 65535; }; > use-v6-udp-ports { range 10240 65535; }; But that is not the ports that I am seeing in logwatch: **Unmatched Entries** dispatch 0xb4463008: open_socket(::#8554) -> permission denied: continuing: 1 Time(s) dispatch 0xb4463008: open_socket(::#8614) -> permission denied: continuing: 1 Time(s) dispatch 0xb4464008: open_socket(::#8613) -> permission denied: continuing: 1 Time(s) dispatch 0xb4465008: open_socket(::#4444) -> pe...
2003 May 06
0
Issue with Mandrake 9.1 and Samba
...5:36, 0] libsmb/nmblib.c:send_udp(756) Packet send failed to 192.168.1.255(138) ERRNO=Operation not permitted smbd log: [2003/05/05 09:30:26, 0] smbd/server.c:main(707) smbd version 2.2.7a started. Copyright Andrew Tridgell and the Samba Team 1992-2002 [2003/05/05 09:31:24, 0] smbd/server.c:open_sockets(238) Got SIGHUP [2003/05/05 09:31:26, 0] smbd/server.c:open_sockets(238) Got SIGHUP [2003/05/05 09:33:48, 0] smbd/server.c:main(707) smbd version 2.2.7a started. Copyright Andrew Tridgell and the Samba Team 1992-2002 [2003/05/05 09:34:48, 0] smbd/server.c:open_sockets(238) Got SIGHUP [20...
2008 Jan 05
1
Samba not seeing any interfaces
...at some critical file that samba needs is missing but stracing the daemons doesn't reveal anything strange. It's running 2.4.34 kernel. Samba is failing to find any interfaces. [2000/01/02 10:55:01, 3] nmbd/nmbd.c:main(759) Opening sockets 137 [2000/01/02 10:55:01, 10] lib/util_sock.c:open_socket_in(839) bind succeeded on port 137 [2000/01/02 10:55:01, 10] lib/util_sock.c:open_socket_in(839) bind succeeded on port 138 [2000/01/02 10:55:01, 5] lib/util_sock.c:print_socket_options(206) socket option SO_KEEPALIVE = 0 .... (bunch of print stuff)..... [2000/01/02 10:55:01, 3] nmbd/nmbd.c...
2009 Feb 12
1
problem when using xapian's static libs in windows
...al void __thiscall RemoteDatabase::flush(void)" (?flush at RemoteDatabase@@UAEXXZ) libnet.lib(tcpclient.obj) : error LNK2019: ????????? "public: virtual void __thiscall RemoteDatabase::flush(void)" (?flush at RemoteDatabase@@UAEXXZ)??????? "private: static int __cdecl TcpClient::open_socket(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,int)" (?open_socket at TcpClient@@CAHABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@HH at Z) ???? libbackend.lib(dbfactory_remote.obj) : error LNK...
2002 Nov 23
2
The smbd ran away with the spoon...
...02/11/16 20:14:50, 0] lib/util_sock.c:write_socket(524) write_socket: Error writing 5 bytes to socket 5: ERRNO = Connection reset by peer [2002/11/16 20:14:50, 0] lib/util_sock.c:send_smb(704) Error writing 5 bytes to client. -1. (Connection reset by peer) [2002/11/22 15:01:26, 0] smbd/server.c:open_sockets(275) open_sockets: accept: Too many open files in system [2002/11/22 15:01:26, 0] smbd/server.c:open_sockets(275) open_sockets: accept: Too many open files in system [2002/11/22 15:01:26, 0] smbd/server.c:open_sockets(275) open_sockets: accept: Too many open files in system [2002/11/22 16:11...
2004 Feb 15
0
Nmbd errors & not starting since upgrade to 3.0.2a?
...lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2004/02/14 10:05:19, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2004/02/14 10:05:19, 3] nmbd/nmbd.c:main(720) Opening sockets 137 [2004/02/14 10:05:19, 3] nmbd/nmbd.c:open_sockets(589) open_sockets: Broadcast sockets opened. [2004/02/14 10:05:19, 2] lib/interface.c:add_interface(79) added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0 [2004/02/14 10:05:19, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:192.168.0.1 Broadcast address:192.1...
2003 Mar 13
0
too many open files , samba crashes
...reopen: open failed (Too many open files in system) [2003/03/13 09:31:29, 0] locking/brlock.c:brl_init(235) Failed to open byte range locking database [2003/03/13 09:31:29, 0] locking/locking.c:locking_init(328) ERROR: Failed to initialise locking database [2003/03/13 09:31:29, 0] smbd/server.c:open_sockets(275) open_sockets: accept: Too many open files in system [2003/03/13 09:31:29, 0] lib/debug.c:reopen_logs(348) Unable to open new log file /var/log/samba/log.smbd: Too many open files in system [2003/03/13 10:00:13, 0] smbd/posix_acls.c:create_canon_ace_lists(919) create_canon_ace_lists: una...
2005 Mar 28
1
[BUG] Samba 3.0.11: nmbd forgets to close stderr
...the daemon is started and works at the same time. And the shell gives the control back only after the daemon is stopped. This looks like nmbd holds stderr opened after fork or so. Then, this dummy patch cures all the things back: --- nmbd/nmbd.c +++ nmbd/nmbd.c @@ -766,6 +766,7 @@ static BOOL open_sockets(BOOL isdaemon, /* We can only take signals in the select. */ BlockSignals( True, SIGTERM ); + close(2); process(); if (dbf) So, this confirms that stderr is left opened by the daemon. I can't say when this bug has arisen exactly. All I know is that it does not present in 3.0.4...
2003 Apr 16
1
Failed to setup RT_SIGNAL_LEASE
RH9.0 / samba-2.2.7a-8.9.0 / Linux pegasus.houtsma.net 2.4.20-9 #1 Wed Apr 2 13:42:50 EST 2003 i686 i686 i386 GNU/Linux The syslog shows the following messages: [2003/04/13 04:02:36, 0] smbd/server.c:open_sockets(238) Got SIGHUP [2003/04/13 16:13:52, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(287) Failed to setup RT_SIGNAL_LEASE handler [2003/04/13 23:14:06, 0] smbd/oplock_linux.c:linux_init_kernel_oplocks(287) Failed to setup RT_SIGNAL_LEASE handler [2003/04/14 17:49:36, 0] smbd/oplock_linux.c...
2014 Nov 04
1
Solution for: "Samba server does not show up in Windows Network Places"
I may have a solution to this problem but would like any advice on the downside of doing this. Essentially, I remove role check in nmbd.c as follows: --- samba-4.1.13.orig/source3/nmbd/nmbd.c +++ samba-4.1.13/source3/nmbd/nmbd.c @@ -914,16 +914,6 @@ static bool open_sockets(bool isdaemon, reopen_logs(); - if (lp_server_role() == ROLE_ACTIVE_DIRECTORY_DC - && !lp_parm_bool(-1, "server role check", "inhibit", false)) { - /* TODO: when we have a merged set of defaults for - * loadparm, we could possibly check if the internal -...
2001 Mar 02
0
Problems with Samba 2.0.7, Solaris 8, and Windows 2K
...guest ok = Yes hosts allow = 192.168.0. 192.168.1. 192.168.2. localhost The error log from nmbd ... [2001/03/02 12:56:16, 2] lib/interface.c:add_interface(83) added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0 [2001/03/02 12:56:16, 0] lib/util_sock.c:open_socket_in(863) bind failed on port 137 socket_addr=192.168.0.3 (Cannot assign requested address) [2001/03/02 12:56:16, 0] nmbd/nmbd_subnetdb.c:make_subnet(142) nmbd_subnetdb:make_subnet() Failed to open nmb socket on interface 192.168.0.3 for port 137. Error was Cannot assign requested addre ss [2001...
2001 Dec 13
4
Severe problem with Samba
...2: ERRNO = Broken pipe [2001/12/13 11:40:30, 0] lib/util_sock.c:send_smb(753) Error writing 4 bytes to client. -1. Exiting [2001/12/13 11:40:33, 0] lib/util_sock.c:read_socket_data(479) read_socket_data: recv failure for 4. Error = Connection reset by peer [2001/12/13 11:40:49, 0] smbd/server.c:open_sockets(251) open_sockets: accept: Software caused connection abort [2001/12/13 11:40:53, 0] lib/util_sock.c:read_socket_data(479) read_socket_data: recv failure for 4. Error = Connection reset by peer We think we may have loading problems, however, if it is, it doesn't seem to be directly propo...
1999 Sep 29
3
AIX 4.32 install (PLEASE HELP)
...lp_load(2504) pm_process() returned Yes [1999/09/02 14:24:37, 3] nmbd/nmbd.c:reload_services(217) services not loaded [1999/09/02 14:24:37, 2] nmbd/nmbd.c:main(709) Becoming a daemon. [1999/09/02 14:24:37, 3] nmbd/nmbd.c:main(719) Opening sockets 137 [1999/09/02 14:24:37, 3] lib/util_sock.c:open_socket_in(675) bind succeeded on port 137 [1999/09/02 14:24:37, 3] lib/util_sock.c:open_socket_in(675) bind succeeded on port 138 [1999/09/02 14:24:37, 3] nmbd/nmbd.c:open_sockets(441) open_sockets: Broadcast sockets opened. [1999/09/02 14:24:37, 2] lib/interface.c:interpret_interfaces(176) Added i...
1999 Sep 16
2
Need Help with IRIX Error
...6 09:50:52, 1] smbd/files.c:file_init(216) file_init: Information only: requested 10000 open files, 2490 are available. [1999/09/16 09:50:52, 3] smbd/server.c:main(680) loaded services [1999/09/16 09:50:52, 3] smbd/server.c:main(688) Becoming a daemon. [1999/09/16 09:50:52, 3] lib/util_sock.c:open_socket_in(898) bind succeeded on port 139 [1999/09/16 09:50:52, 2] smbd/server.c:open_sockets(183) waiting for a connection [1999/09/16 09:57:08, 0] locking/shmem_sysv.c:sysv_shm_open(590) ERROR semctl: can't IPC_STAT. Error was Bad address [1999/09/16 09:57:08, 0] locking/locking.c:locking_init...
2005 Apr 01
2
INTERNAL ERROR
Hi all I have got a samba-3.0.13 (hot off the press) PDC running here that also works as a print server printig via cups-1.1.23. As a backend I use openldap-2.2.11 What I get in my log files is what you see below. It seems this only happens when the user prints a *.pdf file. The message shows up once in a while, definetly not for every print job that gets submitted. Printing of those *.pdf
2002 Oct 28
1
intermitent domain logon failures
..... tail smbd.log [2002/10/21 21:30:57, 3] smbd/connection.c:yield_connection(48) Yielding connection to [2002/10/21 21:30:57, 3] smbd/server.c:exit_server(492) Server exit (caught signal) [2002/10/27 06:25:34, 0] smbd/server.c:sig_hup(384) Got SIGHUP [2002/10/27 06:25:34, 1] smbd/server.c:open_sockets(220) Reloading services after SIGHUP [2002/10/27 06:25:35, 1] lib/debug.c:debug_message(250) INFO: Debug class all level = 1 (pid 18438 from pid 18438) We are running Debian woody with samba 2.2.3a-6 and Linux 2.4.19 i686 ---smb.conf--- [global] workgroup = diggers server strin...
1999 Mar 24
0
name_query failed: Samba 2.0.3
...10:21:57, 2] lib/interface.c:interpret_interfaces(176) Added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0 [1999/03/24 10:21:57, 1] smbd/files.c:file_init(219) file_init: Information only: requested 10000 open files, 1054 are available. [1999/03/24 10:21:57, 2] smbd/server.c:open_sockets(183) waiting for a connection [1999/03/24 10:22:00, 2] smbd/server.c:main(702) Changed root to / [1999/03/24 10:22:00, 2] smbd/server.c:main(702) Changed root to / [1999/03/24 10:22:00, 2] smbd/server.c:exit_server(406) Closing connections [1999/03/24 10:22:00, 2] smbd/server.c:exit_server...
2003 Dec 16
5
A domain controller for the domain could not by contacted (2.2.3a-12.3 for Debian)
...ection "[profiles]" [2003/12/16 17:18:37, 2] param/loadparm.c:do_section(2973) Processing section "[netlogon]" [2003/12/16 17:18:37, 2] lib/interface.c:add_interface(81) added interface ip=10.0.0.152 bcast=10.0.0.255 nmask=255.255.255.0 [2003/12/16 17:18:37, 2] smbd/server.c:open_sockets(198) waiting for a connection nemo:/var/log/samba# cat log.nmbd [2003/12/16 17:18:37, 0] nmbd/nmbd.c:main(783) Netbios nameserver version 2.2.3a-12.3 for Debian started. Copyright Andrew Tridgell and the Samba Team 1994-2002 [2003/12/16 17:18:37, 1] lib/debug.c:debug_message(250) INFO: De...
2006 Dec 12
0
samba goes down only on startup - tried solving myself
...lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/12/09 22:36:31, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/12/09 22:36:31, 3] nmbd/nmbd.c:main(724) Opening sockets 137 [2006/12/09 22:36:31, 3] nmbd/nmbd.c:open_sockets(591) open_sockets: Broadcast sockets opened. [2006/12/09 22:36:31, 2] lib/interface.c:add_interface(81) added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0 [2006/12/09 22:36:31, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:192.168.0.4 Broadcast address:192.1...