Hello all, I tried to install samba 2.2.3 onto a Slackware 8 box this weekend. The compile and install went fine but when i try to start up smbd it fails stating that it could not bind to 139 0.0.0.0 nmbd starts up fine. I figured it might be something quirky with the setup on the that machine so i tried to install samba onto a freshly minted Slackware 8 box today at work. No dice. smbd exits with the same error. Below is a snippet from the log.smbd file (with logging set to level 5): [2002/03/17 23:59:06, 3] smbd/server.c:main(740) loaded services [2002/03/17 23:59:06, 0] smbd/server.c:main(744) standard input is not a socket, assuming -D option [2002/03/17 23:59:06, 3] smbd/server.c:main(755) Becoming a daemon. [2002/03/17 23:59:06, 5] tdb/tdbutil.c:tdb_log(475) tdb((null)): tdb_brlock failed (fd=7) at offset 4 rw_type=1 lck_type=13[2002/03/17 23:59:06, 5] smbd/connection.c:claim_connection(156) claiming 0 [2002/03/17 23:59:06, 0] lib/util_sock.c:open_socket_in(789) bind failed on port 139 socket_addr = 0.0.0.0. Error = Address already in use[2002/03/17 23:59:06, 3] smbd/sec_ctx.c:set_sec_ctx(314) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0[2002/03/17 23:59:06, 5] smbd/uid.c:change_to_root_user(216) change_to_root_user: now uid=(0,0) gid=(0,0)[2002/03/17 23:59:06, 2] smbd/server.c:exit_server(458) Closing connections[2002/03/17 23:59:06, 3] smbd/connection.c:yield_connection(48) Yielding connection to [2002/03/17 23:59:06, 3] smbd/server.c:exit_server(492) Server exit (caught signal) Any clue what this might be? How can i fix this? Any input would be greatly appreciated. Thanks, VeKTeReX
Is port 139 in your list of services ? are you using IPchains? At 01:27 AM 3/18/2002 -0500, Kevin wrote:>Hello all, > >I tried to install samba 2.2.3 onto a Slackware 8 box >this weekend. The compile and install went fine but >when i try to start up smbd it fails stating that it >could not bind to 139 0.0.0.0 > >nmbd starts up fine. > >I figured it might be something quirky with the setup >on the that machine so i tried to install samba onto a >freshly minted Slackware 8 box today at work. No dice. > smbd exits with the same error. > >Below is a snippet from the log.smbd file (with logging >set to level 5): > >[2002/03/17 23:59:06, 3] smbd/server.c:main(740) > loaded services >[2002/03/17 23:59:06, 0] smbd/server.c:main(744) > standard input is not a socket, assuming -D option >[2002/03/17 23:59:06, 3] smbd/server.c:main(755) > Becoming a daemon. >[2002/03/17 23:59:06, 5] tdb/tdbutil.c:tdb_log(475) > tdb((null)): tdb_brlock failed (fd=7) at offset 4 >rw_type=1 lck_type=13[2002/03/17 23:59:06, 5] >smbd/connection.c:claim_connection(156) claiming 0 >[2002/03/17 23:59:06, 0] >lib/util_sock.c:open_socket_in(789) bind failed on >port 139 socket_addr = 0.0.0.0. Error = Address >already in use[2002/03/17 23:59:06, 3] >smbd/sec_ctx.c:set_sec_ctx(314) setting sec ctx (0, 0) >- sec_ctx_stack_ndx = 0[2002/03/17 23:59:06, 5] >smbd/uid.c:change_to_root_user(216) >change_to_root_user: now uid=(0,0) gid=(0,0)[2002/03/17 >23:59:06, 2] smbd/server.c:exit_server(458) Closing >connections[2002/03/17 23:59:06, 3] >smbd/connection.c:yield_connection(48) Yielding >connection to [2002/03/17 23:59:06, 3] >smbd/server.c:exit_server(492) Server exit (caught >signal) > > >Any clue what this might be? How can i fix this? Any >input would be greatly appreciated. > >Thanks, >VeKTeReX > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba===================================================Ashley Keating Biomedical Engineering Assistant Development Engineer Academic Surge 2323 530-754-6605
If I recall correctly, smbd is in /etc/inetd.conf in Slackware 8. This could cause samba services to start up when inetd starts, and that would explain why you are getting a EADDRINUSE (Address already in use) error. Inetd could be starting smbd and binding port 139 at startup. You would not see smbd in your process tree, because it would be running under inetd. That's my theory anyway. Good Luck , Jason Stewart Systems Administrator/Programmer Right to Life of Michigan Tel: (616)532-2300 Fax: (616)532-3461 At 01:45 PM 3/18/2002 -0800, Ashley Keating wrote:>Is port 139 in your list of services ? are you using IPchains? > >At 01:27 AM 3/18/2002 -0500, Kevin wrote: >>Hello all, >> >>I tried to install samba 2.2.3 onto a Slackware 8 box >>this weekend. The compile and install went fine but >>when i try to start up smbd it fails stating that it >>could not bind to 139 0.0.0.0 >> >>nmbd starts up fine. >> >>I figured it might be something quirky with the setup >>on the that machine so i tried to install samba onto a >>freshly minted Slackware 8 box today at work. No dice. >> smbd exits with the same error. >> >>Below is a snippet from the log.smbd file (with logging >>set to level 5): >> >>[2002/03/17 23:59:06, 3] smbd/server.c:main(740) >> loaded services >>[2002/03/17 23:59:06, 0] smbd/server.c:main(744) >> standard input is not a socket, assuming -D option >>[2002/03/17 23:59:06, 3] smbd/server.c:main(755) >> Becoming a daemon. >>[2002/03/17 23:59:06, 5] tdb/tdbutil.c:tdb_log(475) >> tdb((null)): tdb_brlock failed (fd=7) at offset 4 >>rw_type=1 lck_type=13[2002/03/17 23:59:06, 5] >>smbd/connection.c:claim_connection(156) claiming 0 >>[2002/03/17 23:59:06, 0] >>lib/util_sock.c:open_socket_in(789) bind failed on >>port 139 socket_addr = 0.0.0.0. Error = Address >>already in use[2002/03/17 23:59:06, 3] >>smbd/sec_ctx.c:set_sec_ctx(314) setting sec ctx (0, 0) >>- sec_ctx_stack_ndx = 0[2002/03/17 23:59:06, 5] >>smbd/uid.c:change_to_root_user(216) >>change_to_root_user: now uid=(0,0) gid=(0,0)[2002/03/17 >>23:59:06, 2] smbd/server.c:exit_server(458) Closing >>connections[2002/03/17 23:59:06, 3] >>smbd/connection.c:yield_connection(48) Yielding >>connection to [2002/03/17 23:59:06, 3] >>smbd/server.c:exit_server(492) Server exit (caught >>signal) >> >> >>Any clue what this might be? How can i fix this? Any >>input would be greatly appreciated. >> >>Thanks, >>VeKTeReX >> >> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: http://lists.samba.org/mailman/listinfo/samba > >===================================================>Ashley Keating >Biomedical Engineering >Assistant Development Engineer >Academic Surge 2323 >530-754-6605 > > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba