Hello, My samba was working until I changed some configurations in order for it to work with ldap. However, samba won't start now, even after I returned to my old configuration. Here is the error I'm getting: # /etc/init.d/samba restart * Stopping Samba daemons... [ ok ] * Starting Samba daemons... /etc/init.d/samba: line 25: 13064 Cancelado start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D [fail] Anyone has any idea about what might be happening? -- Diego Lima http://sg.homelinux.com:81 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20060916/bff2d19c/attachment.bin
Sorry to post again so soon, but I have some additional info that might be useful about the error I'm having. I got this after trying to run smbd in interactive mode instead of as a daemon: # smbd -i smbd version 3.0.22 started. Copyright Andrew Tridgell and the Samba Team 1992-2006 ==============================================================INTERNAL ERROR: Signal 11 in pid 15675 (3.0.22) Please read the Trouble-Shooting section of the Samba3-HOWTO From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf ==============================================================PANIC: internal error BACKTRACE: 36 stack frames: #0 smbd(smb_panic2+0x78) [0x81ffea8] #1 smbd(smb_panic+0x19) [0x82000a5] #2 smbd [0x81ee1b5] #3 [0xffffe420] #4 /usr/lib/libnss_mdns.so.2 [0xb78e3728] #5 /usr/lib/libnss_mdns.so.2 [0xb78e39cd] #6 /usr/lib/libnss_mdns.so.2(mdns_query_ipv4+0x99) [0xb78e3ab0] #7 /usr/lib/libnss_mdns.so.2(_nss_mdns_gethostbyaddr_r+0x18a) [0xb78e5d72] #8 /lib/tls/i686/cmov/libc.so.6(gethostbyaddr_r+0x156) [0xb7d4a1f6] #9 /lib/tls/i686/cmov/libc.so.6(getnameinfo+0x41c) [0xb7d5228c] #10 /usr/lib/libldap_r.so.2(ldap_pvt_get_hname+0x5a) [0xb7faaf24] #11 /usr/lib/libldap_r.so.2(ldap_host_connected_to+0x132) [0xb7fa6bc9] #12 /usr/lib/libldap_r.so.2(ldap_int_open_connection+0x1bb) [0xb7f932a5] #13 /usr/lib/libldap_r.so.2(ldap_new_connection+0x7d) [0xb7fa4544] #14 /usr/lib/libldap_r.so.2(ldap_open_defconn+0x3d) [0xb7f92c71] #15 /usr/lib/libldap_r.so.2(ldap_send_initial_request+0xe8) [0xb7fa5269] #16 /usr/lib/libldap_r.so.2(ldap_sasl_bind+0x1fe) [0xb7f9adee] #17 /usr/lib/libldap_r.so.2(ldap_simple_bind+0x93) [0xb7f9b793] #18 /lib/libnss_ldap.so.2 [0xb77991a3] #19 /lib/libnss_ldap.so.2 [0xb7799481] #20 /lib/libnss_ldap.so.2 [0xb77996e0] #21 /lib/libnss_ldap.so.2(_nss_ldap_initgroups_dyn+0x65) [0xb779c185] #22 /lib/tls/i686/cmov/libc.so.6 [0xb7cf50fc] #23 /lib/tls/i686/cmov/libc.so.6(initgroups+0x6e) [0xb7cf53ae] #24 smbd [0x81e0e42] #25 smbd(pdb_default_enum_group_memberships+0x3e) [0x81e100b] #26 smbd [0x81d0237] #27 smbd [0x81c5540] #28 smbd(pdb_enum_group_memberships+0x47) [0x81c7144] #29 smbd [0x8239fd3] #30 smbd [0x823adf6] #31 smbd(make_server_info_sam+0xaa) [0x823b2a0] #32 smbd(init_guest_info+0xb4) [0x823b4a0] #33 smbd(main+0x2a4) [0x828aeb7] #34 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7c80ea2] #35 smbd [0x807ebb1] Cancelado -- Diego Lima http://sg.homelinux.com:81
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/16/2006 08:51 PM, Diego Alencar Alves de Lima escreveu:> Hello, > > My samba was working until I changed some configurations in order for it to > work with ldap. However, samba won't start now, even after I returned to my > old configuration. Here is the error I'm getting: > > # /etc/init.d/samba restart > * Stopping Samba daemons... [ ok ] > * Starting Samba daemons... /etc/init.d/samba: line 25: 13064 Cancelado > start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D > [fail] > > Anyone has any idea about what might be happening?I saw your other message after you ran smbd interactively. Could you please attach your smb.conf? Another important thing is run 'testparm -v' to check if evertyhing is ok. Finally, check the logs and if possible, attach the important part. (Don't forget to increase the loglevel/debuglevel inside smb.conf). Kind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFFDo4wCj65ZxU4gPQRAjCkAJ9hEIYV2AUuTycaGPXb1KX3QE6eDwCgsorM sewxtu4bJvxneCDyHOKYoGM=HyYH -----END PGP SIGNATURE-----