×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

why won't samba start?

why won't samba start?

why won't samba start?

(OP)
It must be my conf, but testparm comes out fine with no errors (I even fixed the ulimit warning). Please help me, this must be up by Monday! I'm running 3.5.1 now, or trying to, but was running 3.4.x on suse 10.1 (now I'm on opensuse 11.2).

If the interfaces line is changed to "eth0, eth1, lo", status shows "unused" instead of "dead" after attempting to start. No error and nothing but start messages in the logs after attempting to start via /etc/init.d/smb start and the .pid file is always left behind. What am I doing wrong?!

[global]
    workgroup = SAMBAAIC
    realm = CARTMAN.MOUNTAIN.TOWN
    netbios name = SAMBAPDC
    netbios aliases = cartman
    server string = Samba PDC Server
    interfaces = eth*, lo
    bind interfaces only = Yes
    log level = 3 vfs:1
    log file = /var/log/samba/%U-.%m.log
    max log size = 50
    smb ports = 139
    reset on zero vc = Yes
    passdb backend = smbpasswd
    load printers = No
    name resolve order = wins lmhosts hosts bcast
    max wins ttl = 86400
    time server = Yes
    unix extensions = No
    deadtime = 15
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
    load printers = No
    add group script = /home/samba/group/smbgrpadd.sh "%g"
    logon script = login.bat
    logon path = \\%L\profiles\%U
    logon drive = H:
    logon home = \\%L\%U
    security = user
    add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
    domain logons = Yes
    os level = 64
    preferred master = Yes
    domain master = Yes
    local master = Yes
    wins support = Yes
    template homedir = /home/samba/users/%U
    acl check permissions = No
    inherit acls = Yes
    nt acl support = No
    profile acls = Yes
    veto files = /*.eml/*.nws/*.{*}/
    veto oplock files = /*.exe/*.xls/*.dwg/*.dxf/*.mdb/*.doc/*.ppt/*.crf/*.rpt/*.ldb/*.mde/
    map archive = No
    map readonly = No
    map to guest = Bad User
    wide links = Yes
    usershare allow guests = Yes
    dos filemode = Yes
    store dos attributes = Yes
    printcap name = /etc/printcap
    client signing = disabled
    vfs objects = extd_audit

[netlogon]
    path = /home/samba/netlogon
    inherit acls = No
    guest ok = Yes
    browseable = No

[ntlogon]
    comment = roaming user profile
    path = /home/samba/ntlogon
    read only = No
    create mask = 0600
    directory mask = 0700
    browseable = No

[profiles]
    comment = roaming user profile
    path = /home/samba/ntlogon
    read only = No
    create mask = 0600
    directory mask = 0700
    browseable = No

[pricing]
    path = /home/samba/pricing
    read only = No
    create mask = 0777
    directory mask = 0777
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[homes]
    comment = Home directory for %u
    path = /home/samba/home/%u
    read only = No
    create mask = 0600
    force create mode = 0600
    directory mask = 0700
    force directory mode = 0700
    browseable = No

[public]
    comment = Public Share Directories
    path = /home/samba/public/public/
    read only = No
    create mask = 0666
    directory mask = 0777
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[mgmt]
    comment = Accounting Share Directories
    path = /home/samba/public/mgmt
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[acct]
    comment = Accounting Share Directories
    path = /home/samba/public/accounting
    read only = No
    create mask = 0660
    directory mask = 0770
    inherit acls = No
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[eng]
    comment = Engineering Share Directories
    path = /home/samba/public/engineering
    force group = +engdir
    read only = No
    create mask = 0664
    directory mask = 0775
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[engarch]
    comment = Engineering Share Directories
    path = /home/samba/public/engineering-archive
    read only = No
    create mask = 0664
    directory mask = 0775
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[mrkt]
    comment = Marketing Share Directories
    path = /home/samba/public/marketing
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[it]
    comment = Share Directories
    path = /home/samba/public/it
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[hr]
    comment = Share Directories
    path = /home/samba/public/hr
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[ship]
    comment = Share Directories
    path = /home/samba/public/shipping
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[prod]
    comment = Share Directories
    path = /home/samba/public/production
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[purch]
    comment = Share Directories
    path = /home/samba/public/purchasing
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[qual]
    comment = Share Directories
    path = /home/samba/public/quality
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[sales]
    comment = Share Directories
    path = /home/samba/public/sales
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[tool]
    comment = Share Directories
    path = /home/samba/public/toolroom
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[inv]
    comment = Share Directories
    path = /home/samba/public/inventory
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak

[reports]
    comment = Intranet Upload Dir
    path = /srv/www/htdocs/reports/
    read only = No
    create mask = 0666
    directory mask = 0777
    guest ok = Yes
    case sensitive = No
    strict locking = No

[cdrom]
    path = /mnt/cdrom
    guest ok = Yes
    root preexec = mount /mnt/cdrom
    root postexec = umount /mnt/cdrom && eject /mnt/cdrom

[LoginScripts]
    comment = Login Script Directory
    path = /home/samba/scripts/group
    read only = No
    create mask = 0666
    directory mask = 0777
    browseable = No

[cartmanwww]
    comment = Cartman Apache Root
    path = /srv/www/htdocs
    read only = No
    create mask = 0660
    directory mask = 0770
    vfs objects = recycle
    recycle:versions = Yes
    recycle:touch = Yes
    recycle:repository = .recycle/%U
    recycle:maxsize = 100000000
    recycle:keeptree = Yes
    recycle:exclude_dir = /tmp /temp /cache
    recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[netlogon]
    path = /home/samba/netlogon
    inherit acls = No
    guest ok = Yes
    browseable = No

RE: why won't samba start?

Have you tried removing the commas from the "interfaces" line? They are supposed to be delimited by a single space, not with a comma.

RE: why won't samba start?

(OP)
It's all set now. I just had to change all the permissions proper and chmod a few things. restoring from tape to a different folder a few small representative files in each share did the trick for me.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close