HI,
Are your PUBLIC_ADDRESSES different from the NODES addresses (they
must not be used on any real interface)? Is the /mnt/datavol mounted
on all nodes?
I also found I had to copy /var/lib/samba/private/* to the
/mnt/datavol/lock area to get samba working.
Cheers
Alex
On 30/04/15 17:55, Sharad Shukla wrote:
Hi Alex and friends,
I have installed CTDB and all related packages . I did all the
required steps to configure ctdb and samba configuration, but
somehow the lockfile functionality does not work.
Following is the ctdb configuration:
CTDB_RECOVERY_LOCK="/mnt/datavaol/lock/lockfile"
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
CTDB_MANAGES_SAMBA=yes
CTDB_NODES=/etc/ctdb/nodes
Having the above config I was getting the error "Unable to
find lockfile". So the problem was with CTDB_RECOVERY_LOCK, so
I commented it. After this I again started ctdb services but
now the Samba starting was a big problem.... I was getting
the following error:
Starting SMB services: /bin/bash: line 1: 4339
Aborted (core dumped) smbd -D
Following is the smb.conf:
[global]
clustering = yes
idmap backend = tdb2
private dir = /mnt/datavol/lock
[share]
comment = Gluster and CTDB based shared volume
path = /mnt/datavol/share
read _only_ = no
guest ok = yes
I tried every possible way to start Samba daemon but failed
to do so ..
I would really appreciate if you can look into this
configuration and suggest me some tips to make ctdb running
without any errors..
Thanks & Regards
Sharad
--
This message has been scanned for viruses and
dangerous content by
MailScanner,
and is
believed to be clean.
|
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users