[Samba] samba fails to start.

Bill Ries-Knight steelhoof at gmail.com
Thu Jan 4 22:50:08 GMT 2007

After a hiccup or two with Samba not wanting to restart, I opted to
look for a pid/lock file and found none.
Tried to  correct by restarting the server and had no success with
samba restarting.
There are no errors in smbd.log

I did apt-get upgrade.  No help
I did apt-get remove samba, samba and swat went away.
I did note that the XXXX pid was not found during install when samba
was to be killed.

I did : apt-get install samba smbclient swat winbind krb5-doc
krb5-user \krb5-config
following a suggested installation pattern for debian at

(The log of the install is at the bottom for reference.)

Samba failed to start and this is the smbd.log result:

[2007/01/04 13:45:27, 0] auth/auth_util.c:create_builtin_administrators(785)
  create_builtin_administrators: Failed to create Administrators
[2007/01/04 13:45:27, 0] auth/auth_util.c:create_builtin_users(751)
  create_builtin_users: Failed to create Users
[2007/01/04 13:45:27, 0] passdb/pdb_interface.c:guest_user_info(295)
  guest_user_info: Unable to locate guest account [local_user]!
[2007/01/04 13:45:27, 0] smbd/server.c:main(960)
  ERROR: failed to setup guest info.

Any help is appreciated.


mail:/# apt-get install samba smbclient swat winbind krb5-doc
krb5-user \krb5-config
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
The following packages will be REMOVED:
The following NEW packages will be installed:
  krb5-config krb5-doc krb5-user libkadm55 samba smbclient swat winbind
0 upgraded, 8 newly installed, 1 to remove and 1 not upgraded.
Need to get 7852kB/11.9MB of archives.
After unpacking 28.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.debian.org etch/main krb5-config 1.12 [13.8kB]
Get:2 http://ftp.debian.org etch/main krb5-doc 1.4.4-5 [1805kB]
Get:3 http://ftp.debian.org etch/main libkadm55 1.4.4-5 [173kB]
Get:4 http://ftp.debian.org etch/main krb5-user 1.4.4-5 [123kB]
Get:5 http://ftp.debian.org etch/main smbclient 3.0.23d-2+b1 [3875kB]
Get:6 http://ftp.debian.org etch/main winbind 3.0.23d-2+b1 [1862kB]
Fetched 7852kB in 1m17s (102kB/s)
Preconfiguring packages ...
(Reading database ... 82937 files and directories currently installed.)
Removing smbget ...
Selecting previously deselected package krb5-config.
(Reading database ... 82928 files and directories currently installed.)
Unpacking krb5-config (from .../krb5-config_1.12_all.deb) ...
Selecting previously deselected package krb5-doc.
Unpacking krb5-doc (from .../krb5-doc_1.4.4-5_all.deb) ...
Selecting previously deselected package libkadm55.
Unpacking libkadm55 (from .../libkadm55_1.4.4-5_i386.deb) ...
Selecting previously deselected package krb5-user.
Unpacking krb5-user (from .../krb5-user_1.4.4-5_i386.deb) ...
Selecting previously deselected package samba.
Unpacking samba (from .../samba_3.0.23d-2+b1_i386.deb) ...
Selecting previously deselected package smbclient.
Unpacking smbclient (from .../smbclient_3.0.23d-2+b1_i386.deb) ...
Selecting previously deselected package swat.
Unpacking swat (from .../swat_3.0.23d-2+b1_i386.deb) ...
Selecting previously deselected package winbind.
Unpacking winbind (from .../winbind_3.0.23d-2+b1_i386.deb) ...
Setting up krb5-config (1.12) ...

Setting up krb5-doc (1.4.4-5) ...

Setting up libkadm55 (1.4.4-5) ...

Setting up krb5-user (1.4.4-5) ...
Setting up samba (3.0.23d-2+b1) ...
Starting Samba daemons: nmbd smbd.

Setting up smbclient (3.0.23d-2+b1) ...
Setting up swat (3.0.23d-2+b1) ...

Setting up winbind (3.0.23d-2+b1) ...
Starting the Winbind daemon: winbind.

mail:/# ps aux | grep s*
mail:/# ps aux | grep smb
root      4295  0.0  0.0   2852   704 pts/0    R+   13:33   0:00 grep smb
mail:/# ps aux | grep smbd
root      4297  0.0  0.0   2848   700 pts/0    R+   13:34   0:00 grep smbd
mail:/# ps aux | grep swat

Bill Ries-Knight
Stockton, CA

Respect the process, Vote.

More information about the samba mailing list