Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.samba > #54237 > unrolled thread

[Samba] samba4 stopped working

Started byGary Dale <garydale@torfree.net>
First post2016-07-04 18:30 +0200
Last post2016-07-04 18:50 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.samba


Contents

  [Samba] samba4 stopped working Gary Dale <garydale@torfree.net> - 2016-07-04 18:30 +0200
    Re: [Samba] samba4 stopped working Rowland penny <rpenny@samba.org> - 2016-07-04 18:40 +0200
      Re: [Samba] samba4 stopped working Gary Dale <garydale@torfree.net> - 2016-07-04 18:50 +0200
    Re: [Samba] samba4 stopped working [SOLVED] Gary Dale <garydale@torfree.net> - 2016-07-04 18:50 +0200

#54237 — [Samba] samba4 stopped working

FromGary Dale <garydale@torfree.net>
Date2016-07-04 18:30 +0200
Subject[Samba] samba4 stopped working
Message-ID<rRerT-7tp-9@gated-at.bofh.it>
I've been using Samba4 on Debian/Jessie since it became "stable". After 
the last upgrade however, I got a massive failure.

The first symptom I noticed was that I couldn't grab updates from the 
Debian servers. However when clients tried to log in, the real problem 
revealed itself. They could only log on using a temporary profile and 
couldn't connect to any of the shares or printers.

When I test my implementation of Samba, it fails the basic test:

# smbclient -L localhost -U%
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)

The globals section of smb.conf is:

[global]
         workgroup = DENTALOFFICE
         realm = DENTALOFFICE.ROSSLAND.DENTAL
         netbios name = MOLAR
         server role = active directory domain controller
         dns forwarder = 8.8.8.8
         idmap_ldb:use rfc2307 = yes
         allow dns updates = nonsecure

which explains why I can't get to the Debian servers. The hand off to 
Google's DNS servers never happens.

ps aux | grep  nmbd, smbd or samba all show that samba isn't running. 
The logs for starting samba show:

[2016/07/04 11:29:48.240042,  0] 
../source4/smbd/server.c:370(binary_smbd_main)
   samba version 4.2.10-Debian started.
   Copyright Andrew Tridgell and the Samba Team 1992-2014
[2016/07/04 11:29:48.421540,  0] 
../source4/smbd/server.c:488(binary_smbd_main)
   samba: using 'standard' process model
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
[2016/07/04 11:29:48.446253,  0] 
../lib/util/become_daemon.c:124(daemon_ready)
   STATUS=daemon 'samba' finished starting up and ready to serve connections
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call 
setproctitle_init() or link against libbsd-ctor.
[2016/07/04 11:29:48.460701,  0] 
../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
   /usr/sbin/winbindd: Failed to exec child - No such file or directory
[2016/07/04 11:29:48.462580,  0] 
../source4/winbind/winbindd.c:49(winbindd_done)
   winbindd daemon exited normally
task_server_terminate: [winbindd child process exited]
[2016/07/04 11:29:48.464159,  0] 
../source4/smbd/server.c:211(samba_terminate)
   samba_terminate: winbindd child process exited


Although the message about the daemon being ready seems to indicate that 
samba is running, as I said, ps aux shows that it isn't.

Any ideas how I can get Samba back up? Uninstalling and reinstalling it 
didn't work.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[toc] | [next] | [standalone]


#54238

FromRowland penny <rpenny@samba.org>
Date2016-07-04 18:40 +0200
Message-ID<rRf4C-7Vx-17@gated-at.bofh.it>
In reply to#54237
On 04/07/16 16:36, Gary Dale wrote:
> I've been using Samba4 on Debian/Jessie since it became "stable". 
> After the last upgrade however, I got a massive failure.
>
> The first symptom I noticed was that I couldn't grab updates from the 
> Debian servers. However when clients tried to log in, the real problem 
> revealed itself. They could only log on using a temporary profile and 
> couldn't connect to any of the shares or printers.
>
> When I test my implementation of Samba, it fails the basic test:
>
> # smbclient -L localhost -U%
> Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
>
> The globals section of smb.conf is:
>
> [global]
>         workgroup = DENTALOFFICE
>         realm = DENTALOFFICE.ROSSLAND.DENTAL
>         netbios name = MOLAR
>         server role = active directory domain controller
>         dns forwarder = 8.8.8.8
>         idmap_ldb:use rfc2307 = yes
>         allow dns updates = nonsecure
>
> which explains why I can't get to the Debian servers. The hand off to 
> Google's DNS servers never happens.
>
> ps aux | grep  nmbd, smbd or samba all show that samba isn't running. 
> The logs for starting samba show:
>
> [2016/07/04 11:29:48.240042,  0] 
> ../source4/smbd/server.c:370(binary_smbd_main)
>   samba version 4.2.10-Debian started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2014
> [2016/07/04 11:29:48.421540,  0] 
> ../source4/smbd/server.c:488(binary_smbd_main)
>   samba: using 'standard' process model
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> [2016/07/04 11:29:48.446253,  0] 
> ../lib/util/become_daemon.c:124(daemon_ready)
>   STATUS=daemon 'samba' finished starting up and ready to serve 
> connections
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> [2016/07/04 11:29:48.460701,  0] 
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
>   /usr/sbin/winbindd: Failed to exec child - No such file or directory
> [2016/07/04 11:29:48.462580,  0] 
> ../source4/winbind/winbindd.c:49(winbindd_done)
>   winbindd daemon exited normally
> task_server_terminate: [winbindd child process exited]
> [2016/07/04 11:29:48.464159,  0] 
> ../source4/smbd/server.c:211(samba_terminate)
>   samba_terminate: winbindd child process exited
>
>
> Although the message about the daemon being ready seems to indicate 
> that samba is running, as I said, ps aux shows that it isn't.
>
> Any ideas how I can get Samba back up? Uninstalling and reinstalling 
> it didn't work.
>
>

What version did you upgrade from and what is the version now ?

You could try installing 'winbind', this seems to be your problem 
'/usr/sbin/winbindd: Failed to exec child - No such file or directory'
Earlier versions of Samba4 running as a DC used 'winbind' built into the 
'samba' binary, later versions use the separate 'winbindd' binary instead.

Rowland


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[toc] | [prev] | [next] | [standalone]


#54239

FromGary Dale <garydale@torfree.net>
Date2016-07-04 18:50 +0200
Message-ID<rRfeh-7YV-1@gated-at.bofh.it>
In reply to#54238
On 04/07/16 12:30 PM, Rowland penny wrote:
> On 04/07/16 16:36, Gary Dale wrote:
>> I've been using Samba4 on Debian/Jessie since it became "stable". 
>> After the last upgrade however, I got a massive failure.
>>
>> The first symptom I noticed was that I couldn't grab updates from the 
>> Debian servers. However when clients tried to log in, the real 
>> problem revealed itself. They could only log on using a temporary 
>> profile and couldn't connect to any of the shares or printers.
>>
>> When I test my implementation of Samba, it fails the basic test:
>>
>> # smbclient -L localhost -U%
>> Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
>>
>> The globals section of smb.conf is:
>>
>> [global]
>>         workgroup = DENTALOFFICE
>>         realm = DENTALOFFICE.ROSSLAND.DENTAL
>>         netbios name = MOLAR
>>         server role = active directory domain controller
>>         dns forwarder = 8.8.8.8
>>         idmap_ldb:use rfc2307 = yes
>>         allow dns updates = nonsecure
>>
>> which explains why I can't get to the Debian servers. The hand off to 
>> Google's DNS servers never happens.
>>
>> ps aux | grep  nmbd, smbd or samba all show that samba isn't running. 
>> The logs for starting samba show:
>>
>> [2016/07/04 11:29:48.240042,  0] 
>> ../source4/smbd/server.c:370(binary_smbd_main)
>>   samba version 4.2.10-Debian started.
>>   Copyright Andrew Tridgell and the Samba Team 1992-2014
>> [2016/07/04 11:29:48.421540,  0] 
>> ../source4/smbd/server.c:488(binary_smbd_main)
>>   samba: using 'standard' process model
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> [2016/07/04 11:29:48.446253,  0] 
>> ../lib/util/become_daemon.c:124(daemon_ready)
>>   STATUS=daemon 'samba' finished starting up and ready to serve 
>> connections
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> samba: setproctitle not initialized, please either call 
>> setproctitle_init() or link against libbsd-ctor.
>> [2016/07/04 11:29:48.460701,  0] 
>> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
>>   /usr/sbin/winbindd: Failed to exec child - No such file or directory
>> [2016/07/04 11:29:48.462580,  0] 
>> ../source4/winbind/winbindd.c:49(winbindd_done)
>>   winbindd daemon exited normally
>> task_server_terminate: [winbindd child process exited]
>> [2016/07/04 11:29:48.464159,  0] 
>> ../source4/smbd/server.c:211(samba_terminate)
>>   samba_terminate: winbindd child process exited
>>
>>
>> Although the message about the daemon being ready seems to indicate 
>> that samba is running, as I said, ps aux shows that it isn't.
>>
>> Any ideas how I can get Samba back up? Uninstalling and reinstalling 
>> it didn't work.
>>
>>
>
> What version did you upgrade from and what is the version now ?
>
> You could try installing 'winbind', this seems to be your problem 
> '/usr/sbin/winbindd: Failed to exec child - No such file or directory'
> Earlier versions of Samba4 running as a DC used 'winbind' built into 
> the 'samba' binary, later versions use the separate 'winbindd' binary 
> instead.
>
> Rowland
>
>
It turned out that libwbclient was a later version than winbind. 
Installing winbind fixed the problem. Somehow winbind got left out of 
the upgrade despite there being a more recent version on Debian's servers.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[toc] | [prev] | [next] | [standalone]


#54240 — Re: [Samba] samba4 stopped working [SOLVED]

FromGary Dale <garydale@torfree.net>
Date2016-07-04 18:50 +0200
SubjectRe: [Samba] samba4 stopped working [SOLVED]
Message-ID<rRfei-7YV-5@gated-at.bofh.it>
In reply to#54237
On 04/07/16 11:36 AM, Gary Dale wrote:
> I've been using Samba4 on Debian/Jessie since it became "stable". 
> After the last upgrade however, I got a massive failure.
>
> The first symptom I noticed was that I couldn't grab updates from the 
> Debian servers. However when clients tried to log in, the real problem 
> revealed itself. They could only log on using a temporary profile and 
> couldn't connect to any of the shares or printers.
>
> When I test my implementation of Samba, it fails the basic test:
>
> # smbclient -L localhost -U%
> Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
>
> The globals section of smb.conf is:
>
> [global]
>         workgroup = DENTALOFFICE
>         realm = DENTALOFFICE.ROSSLAND.DENTAL
>         netbios name = MOLAR
>         server role = active directory domain controller
>         dns forwarder = 8.8.8.8
>         idmap_ldb:use rfc2307 = yes
>         allow dns updates = nonsecure
>
> which explains why I can't get to the Debian servers. The hand off to 
> Google's DNS servers never happens.
>
> ps aux | grep  nmbd, smbd or samba all show that samba isn't running. 
> The logs for starting samba show:
>
> [2016/07/04 11:29:48.240042,  0] 
> ../source4/smbd/server.c:370(binary_smbd_main)
>   samba version 4.2.10-Debian started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2014
> [2016/07/04 11:29:48.421540,  0] 
> ../source4/smbd/server.c:488(binary_smbd_main)
>   samba: using 'standard' process model
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> [2016/07/04 11:29:48.446253,  0] 
> ../lib/util/become_daemon.c:124(daemon_ready)
>   STATUS=daemon 'samba' finished starting up and ready to serve 
> connections
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> samba: setproctitle not initialized, please either call 
> setproctitle_init() or link against libbsd-ctor.
> [2016/07/04 11:29:48.460701,  0] 
> ../lib/util/util_runcmd.c:324(samba_runcmd_io_handler)
>   /usr/sbin/winbindd: Failed to exec child - No such file or directory
> [2016/07/04 11:29:48.462580,  0] 
> ../source4/winbind/winbindd.c:49(winbindd_done)
>   winbindd daemon exited normally
> task_server_terminate: [winbindd child process exited]
> [2016/07/04 11:29:48.464159,  0] 
> ../source4/smbd/server.c:211(samba_terminate)
>   samba_terminate: winbindd child process exited
>
>
> Although the message about the daemon being ready seems to indicate 
> that samba is running, as I said, ps aux shows that it isn't.
>
> Any ideas how I can get Samba back up? Uninstalling and reinstalling 
> it didn't work.
>
>
Turns out that winbind was a different version than libwinb... Somehow 
it got dropped from the upgrade. Installing winbind brought in the 
current version then restarting samba got things going again.


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[toc] | [prev] | [standalone]


Back to top | Article view | linux.samba


csiph-web