Results 1 to 6 of 6
Thread: why won't samba start?
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
03-28-2010 #1
- Join Date
- Mar 2010
- Posts
- 5
why won't samba start?
Here it is, please help me update it and tell my why it dies immediately with no errors in log and leaves behind the .pid file!
[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
-
03-28-2010 #2
- Join Date
- Mar 2010
- Posts
- 5
I changed the interfaces to explicitly state eth0, eth1, lo
and that no longer dies, but samba still doesn't start, the status says unused (instead of dead), again, nothing in the logs but it saying it started! And the .pid is still left there.
-
03-28-2010 #3
- Join Date
- Mar 2010
- Posts
- 5
Also, testparm comes out perfectly. I even fixed the ulimit warning I was getting (in /etc/security/limits.conf and by running ulimit -n with a good number).
-
03-28-2010 #4
I would try a generic .conf file just to see if it was my current .conf file that is causing this grief.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
-
03-29-2010 #5
- Join Date
- Mar 2010
- Posts
- 5
fixed, now on to the permission nightmare
All set, the issue was using the samba repo. Bad bad. Now disabling that and using the latest samba from the SUSE repo put me to 3.4.3 (latest for 32bit 11.2) and it fixed the issue -- even with eth*,lo as the interfaces.
Now my users cannot see past the first level of their shares! This does not include their home folders, however, those work fine. I must be due to setting root as the owner of many of the files.
-
04-02-2010 #6
- Join Date
- Mar 2010
- Posts
- 5
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.