Hello, Today I came across with the problem with booting my Gentoo system. Yesterday I installed samba and when I turned on my notebook today it stops booting at starting up the samba daemon. It goes until:> * samba -> start: smbd ... >... and then freezes ... Maybe the problem is somehow related to my Wi-Fi connection on notebook and Samba is looking for Internet connection and waiting for it to be established? Maybe you can give any advice on how to boot to my system without loading samba and uninstalling it? Looking forward to hearing from you and any help would be very appreciated, Thank You in advance, Aleksandr.
On Thu, Jan 20, 2011 at 9:30 AM, Aleksandr Poteriachin <insp1re2991 at gmail.com> wrote:> Maybe you can give any advice on how to > boot to my system without loading samba and uninstalling it? >Aleksandr, If you are starting samba daemon the usual gentoo way - <rc-update add samba default> - I suggest using a gentoo install disc to chroot into your environment to temporarily disable samba so you can provide the list with your smb.conf, or results of smbclient -L,U,I,M, etc. Boot from gentoo-minimal-install-disc and at ~# mount /dev/sdx# /mnt/gentoo ((x=whatever letter your hard drive is; # = whatever partition number designates /)) mkdir /mnt/gentoo/boot mount /dev/sdx# /mnt/gentoo/boot ((x=whatever letter your hard drive is; # = whatever partition number designates /boot)) cd /mnt/gentoo mount -t proc proc /mnt/gentoo/proc mount -o bind /dev /mnt/gentoo/dev chroot /mnt/gentoo /bin/bash env-update && source /etc/profile Now you have access to your operating system. Type command: rc-update del samba default Now you can reboot and the computer should start up normally since the samba daemon has been removed from the default startup process. HTH, Mike> Looking forward to hearing from you and any help would be very appreciated, > > Thank You in advance, > > Aleksandr. > -- > To unsubscribe from this list go to the following URL and read the > instructions: ?https://lists.samba.org/mailman/options/samba >
> Today I came across with the problem with booting my Gentoo system. > Yesterday I installed samba and when I turned on my notebook today it stops > booting at starting up the samba daemon. It goes until: > > >> * samba -> start: smbd ... >> > > > > ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi > connection on notebook and Samba is looking for Internet connection and > waiting for it to be established? Maybe you can give any advice on how to > boot to my system without loading samba and uninstalling it? > > Looking forward to hearing from you and any help would be very appreciated, >As a gentoo user who has used samba for 7 years now at home and at work (samba / ldap department domain) I have never seen this behavior. Although my samba servers are all wired usually gigabit. John
On Thu, Jan 20, 2011 at 9:30 AM, Aleksandr Poteriachin <insp1re2991 at gmail.com> wrote:> Hello, > > Today I came across with the problem with booting my Gentoo system. > Yesterday I installed samba and when I turned on my notebook today it stops > booting at starting up the samba daemon. It goes until: > > >> * samba -> start: smbd ... >> > > > > ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi > connection on notebook and Samba is looking for Internet connection and > waiting for it to be established? Maybe you can give any advice on how to > boot to my system without loading samba and uninstalling it? >Do an interactive boot. Press I when it asks you to do in the boot process. Then do not start the samba daemon. John
> >> >> Hello, >> >> Today I came across with the problem with booting my Gentoo system. >> Yesterday I installed samba and when I turned on my notebook today it >> stops >> booting at starting up the samba daemon. It goes until: >> >> >>> >>> * samba -> start: smbd ...I had some difficulties a few years back with Samba/LDAP nssldap, pam_ldap and pam. The system would hang for some 10 minutes at startup. The problem was that nssldap defaults to bind_policy hard, and as nssldap fired before the ldap server started (from the nssldap conf file): # Reconnect policy: hard (default) will retry connecting to # the software with exponential backoff, soft will fail # immediately. changing the value to bind_policy soft rectified the situation.> >> >>> >>> >>> >> >> >> >> ... and then freezes ... Maybe the problem is somehow related to my >> Wi-Fi >> connection on notebook and Samba is looking for Internet connection >> and >> waiting for it to be established? Maybe you can give any advice on how >> to >> boot to my system without loading samba and uninstalling it? >> > > Do an interactive boot. Press I when it asks you to do in the boot > process. Then do not start the samba daemon. > > John > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
On Sat, Jan 22, 2011 at 7:50 AM, <tms3 at tms3.com> wrote:> > >> >>> Hello, >>> >>> Today I came across with the problem with booting my Gentoo system. >>> Yesterday I installed samba and when I turned on my notebook today it >>> stops >>> booting at starting up the samba daemon. It goes until: >>> >>> >>> >>>> * samba -> start: smbd ... >>>> >>> > I had some difficulties a few years back with Samba/LDAP nssldap, pam_ldap > and pam. The system would hang for some 10 minutes at startup. The problem > was that nssldap defaults to bind_policy hard, and as nssldap fired before > the ldap server started (from the nssldap conf file): > # Reconnect policy: hard (default) will retry connecting to > # the software with exponential backoff, soft will fail > # immediately. > > changing the value to > bind_policy soft > > rectified the situation. > > >> >>> >>>> >>>> >>>> >>> >>> >>> ... and then freezes ... Maybe the problem is somehow related to my Wi-Fi >>> connection on notebook and Samba is looking for Internet connection and >>> waiting for it to be established? Maybe you can give any advice on how to >>> boot to my system without loading samba and uninstalling it? >>> >>> >> Do an interactive boot. Press I when it asks you to do in the boot >> process. Then do not start the samba daemon. >> >> John >> >I would also run: etc-update To see if /etc/init.d/samba has any newer changes to be applied to the startup script. --Brian