Please could you be more explicit? I think it's a bind interface prob, its a matter of put in smb.conf the right interface = line
dou you add or remove the lines in /etc/services? Thanks for the reply. > Thanks you so much, I finally solved the problem. From this error from > my log.smbd > >> [2004/05/04 14:25:07, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use > > It shows port 139 was in use by another program and I remember adding > this command in /etc/services file > > Netbios-ns 137/udp #samba nmbd > Netbios-ssn 139/tcp #samba smbd > > SO I removed the line, restarted inetd and ran grep smbd and grep > nmbd,it works > > > -----Original Message----- > From: Ryan Novosielski [mailto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 8:21 AM > To: Opeyemi Adeola > Cc: [EMAIL PROTECTED] > Subject: RE: [Samba] Smbd not running > > You need to configure Samba. Look for smb.conf.sample, included in the > distribution someplace. You will need to edit it to suit your liking and > then place it in the lib directory. > > ---- _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin > |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 > (2-0922) > \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - > C630 > > On Tue, 4 May 2004, Opeyemi Adeola wrote: > >> >> I get the follwing from my log.smbd file >> >> >> >> >> >> >> >> >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:31, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:31, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:32, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:32, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:33, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:33, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:34, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:34, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:35, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:35, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:36, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:36, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:37, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:37, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:38, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:38, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:39, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:39, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:40, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:40, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:41, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:41, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:43, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:43, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:50:44, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 15:50:44, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 16:02:03, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 16:07:50, 0] >> nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) >> ***** >> >> Samba name server TITO is now a local master browser for workgroup >> WORKGROUP o >> n subnet 192.168.240.240 >> >> ***** >> [2004/04/29 17:55:14, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 17:55:14, 0] lib/pidfile.c:pidfile_create(84) >> ERROR: nmbd is already running. File >> /usr/local/samba/var/locks/nmbd.pid exist >> s and process id 3197 is running. >> [2004/04/29 21:29:35, 0] nmbd/nmbd.c:terminate(54) >> Got SIGTERM: going down... >> [2004/04/29 21:33:48, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/29 21:33:49, 0] nmbd/nmbd_workgroupdb.c:create_workgroup(63) >> create_workgroup: workgroup name TITO.NG.ACCELONNIGERIA.COM is too >> long. Trunc >> ating to TITO.NG.ACCELON >> [2004/04/29 21:33:49, 0] nmbd/nmbd_nameregister.c:register_name(480) >> register_name: NetBIOS name TITO.NG.ACCELONNIGERIA.COM is too long. >> Truncating >> to TITO.NG.ACCELON >> [2004/04/29 21:33:49, 0] nmbd/nmbd_nameregister.c:register_name(480) >> register_name: NetBIOS name TITO.NG.ACCELONNIGERIA.COM is too long. >> Truncating >> to TITO.NG.ACCELON >> [2004/04/29 21:39:40, 0] >> nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) >> ***** >> >> Samba name server TITO is now a local master browser for workgroup >> TITO.NG.ACC >> ELON on subnet 192.168.240.240 >> >> ***** >> [2004/04/30 15:57:33, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/04/30 15:57:33, 0] lib/pidfile.c:pidfile_create(84) >> ERROR: nmbd is already running. File >> /usr/local/samba/var/locks/nmbd.pid exist >> s and process id 793 is running. >> [2004/05/03 13:52:07, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1994-2004 >> [2004/05/03 13:52:07, 2] nmbd/nmbd.c:main(688) >> Becoming a daemon. >> [2004/05/03 13:52:07, 0] lib/pidfile.c:pidfile_create(84) >> ERROR: nmbd is already running. File >> /usr/local/samba/var/locks/nmbd.pid exist >> s and process id 793 is running. >> [2004/05/04 13:43:52, 0] nmbd/nmbd.c:main(664) >> Netbios nameserver version 3.0.2a started. >> [2004/04/28 18:28:09, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/28 18:28:09, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/28 18:39:14, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/28 18:39:14, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/28 18:42:16, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/28 18:42:16, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/28 18:42:30, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/28 18:42:30, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/28 19:08:33, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/28 19:08:33, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/28 19:08:55, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/28 19:08:55, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 15:27:53, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 15:27:53, 0] param/params.c:OpenConfFile(532) >> params.c:OpenConfFile() - Unable to open configuration file >> "/usr/local/samba/ >> lib/smb.conf": >> No such file or directory >> [2004/04/29 16:11:46, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 16:11:46, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/04/29 16:11:46, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/29 17:54:39, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 17:54:40, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/04/29 17:54:40, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/29 17:54:55, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 17:54:55, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/29 18:01:12, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 18:01:12, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/29 18:11:23, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 18:11:23, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/04/29 18:11:23, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/29 18:23:59, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 18:23:59, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/04/29 18:23:59, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/29 18:24:13, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 18:24:13, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/04/29 18:24:13, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/29 18:24:22, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 18:24:22, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/04/29 18:24:23, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/29 19:26:14, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/29 19:26:14, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/04/29 19:26:14, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/04/30 15:57:12, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/04/30 15:57:12, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/05/03 13:51:49, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/05/03 13:51:49, 2] param/loadparm.c:do_section(3339) >> Processing section "[lj1300]" >> [2004/05/03 13:51:49, 2] lib/interface.c:add_interface(79) >> added interface ip=192.168.240.240 bcast=192.168.240.255 >> nmask=255.255.255.0 >> [2004/05/03 13:51:49, 2] lib/tallocmsg.c:register_msg_pool_usage(57) >> Registered MSG_REQ_POOL_USAGE >> [2004/05/03 13:51:49, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) >> Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED >> [2004/05/03 13:51:49, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/05/04 12:15:50, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/05/04 12:15:50, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/05/04 12:15:50, 0] lib/util_sock.c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> [2004/05/04 14:25:07, 0] smbd/server.c:main(747) >> smbd version 3.0.2a started. >> Copyright Andrew Tridgell and the Samba Team 1992-2004 >> [2004/05/04 14:25:07, 0] smbd/server.c:main(781) >> standard input is not a socket, assuming -D option >> [2004/05/04 14:25:07, 0] lib/util_sock. > c:open_socket_in(666) >> bind failed on port 139 socket_addr = 0.0.0.0. >> Error = Address already in use >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: http://lists.samba.org/mailman/listinfo/samba >> > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
