Killing any existing samba daemons... killall -v smbd nmbd Killed smbd(3904) with signal 15 Killed nmbd(3906) with signal 15 Validating samba configuration file... /usr/samba-ctdb/bin/testparm /usr/samba-ctdb/samba/lib/smb.conf Load smb config files from /usr/samba-ctdb/samba/lib/smb.conf Processing section "[data]" Processing section "[homes]" Processing section "[printers]" Processing section "[share01]" Processing section "[share02]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = MYGROUP netbios name = MICHAELV3 server string = SambaServer username map = /usr/samba-ctdb/samba/smbusers syslog = 0 log file = usr/samba-ctdb/log/log.smbd.%V max log size = 50 smb ports = 145 139 acl compatibility = winnt server signing = auto printcap name = /etc/printcap preferred master = No domain master = No dns proxy = No kernel oplocks = No ldap ssl = no notify:inotify = no cups options = raw [data] path = usr/samba-ctdb/samba/data read only = No create mask = 0755 map hidden = Yes map system = Yes [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /usr/samba-ctdb/samba/spool printable = Yes browseable = No [share01] comment = Read Only path = /usr/samba-ctdb/samba/share/testing/share01 case sensitive = No strict locking = No msdfs proxy = no [share02] comment = share02 path = path = /usr/samba-ctdb/samba/share/testing/share02 read only = No guest ok = Yes Press CTRL-C to abort testing. Validating smbd...See /usr/samba-ctdb/validate-samba.out to verify installation. ./samba-ctdb.sh: line 142: /usr/samba-ctdb: Is a directory grep -r --include=validate-smbd.out "waiting for a connection" /usr/samba-ctdb /usr/samba-ctdb/validate-smbd.out:waiting for a connection /usr/samba-ctdb/validate-smbd.out validated. RC=0 Killing any existing samba daemons again... killall -w smbd nmbd talloc report on 'null_context' (total 5443 bytes in 147 blocks) auth_serversupplied_info contains 907 bytes in 20 blocks (ref 0) 0x8a5e430 struct passwd * contains 76 bytes in 7 blocks (ref 0) 0x8a5f5d8 struct service_control_op contains 77 bytes in 5 blocks (ref 0) 0x8a5f8b8 main loop talloc (mainly parse_misc) contains 1185 bytes in 18 blocks (ref 0) 0x8a5fa90 NT_USER_TOKEN contains 364 bytes in 2 blocks (ref 0) 0x8a5efd0 struct ldb_context contains 601 bytes in 29 blocks (ref 0) 0x8a5e380 SORTED_TREE contains 589 bytes in 49 blocks (ref 0) 0x8a5c878 struct db_context contains 96 bytes in 4 blocks (ref 0) 0x8a5b1b8 struct db_context contains 94 bytes in 4 blocks (ref 0) 0x8a5a888 struct pdb_methods contains 1356 bytes in 3 blocks (ref 0) 0x8a5aa40 struct event_context contains 8 bytes in 1 blocks (ref 0) 0x8a5a6b0 struct db_context contains 90 bytes in 4 blocks (ref 0) 0x8a5a160 Modifying sambauser password to validate correct smbpasswd file update... /usr/samba-ctdb/bin/smbpasswd -a sambauser New SMB password: Retype new SMB password: /usr/samba-ctdb/samba/private/smbpasswd:sambauser:501:1C3A2B6D939A1021AAD3B435B51404EE:E24106942BF38BCF57A6A4B29016EFF6:[U ]:LCT-4769AD5A: Password updated correctly in /usr/samba-ctdb/samba/private/smbpasswd file. Starting Samba... /usr/samba-ctdb/bin/smbd -d 10 -s /usr/samba-ctdb/samba/lib/smb.conf /usr/samba-ctdb/bin/nmbd -d 10 -s /usr/samba-ctdb/samba/lib/smb.conf Validating samba running OK--> ps aux | grep .*mbd root 4099 1.0 0.2 13064 2516 ? Ss 18:46 0:00 /usr/samba-ctdb/bin/smbd -d 10 -s /usr/samba-ctdb/samba/lib/smb.conf root 4101 0.0 0.1 8688 1524 ? Ss 18:46 0:00 /usr/samba-ctdb/bin/nmbd -d 10 -s /usr/samba-ctdb/samba/lib/smb.conf root 4103 0.0 0.1 13064 1252 ? S 18:46 0:00 /usr/samba-ctdb/bin/smbd -d 10 -s /usr/samba-ctdb/samba/lib/smb.conf root 4107 0.0 0.0 3884 688 pts/3 S+ 18:46 0:00 grep .*mbd Check for connectivity to the smbd daemons on each node--> /usr/samba-ctdb/bin/smbcontrol smbd ping INFO: Current debug levels: all: True/10 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 locking: False/0 msdfs: False/0 dmapi: False/0 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/usr/samba-ctdb/samba/lib/smb.conf" Processing section "[global]" doing parameter kernel oplocks = no doing parameter syslog = no doing parameter notify:inotify = no doing parameter workgroup = MYGROUP doing parameter log file = usr/samba-ctdb/log/log.smbd.%V doing parameter server string = SambaServer doing parameter security = user doing parameter printcap name = /etc/printcap doing parameter load printers = yes doing parameter cups options = raw doing parameter max log size = 50 doing parameter username map = /usr/samba-ctdb/samba/smbusers doing parameter dns proxy = no doing parameter restrict anonymous = no doing parameter domain master = no doing parameter preferred master = no doing parameter smb ports = 145 139 doing parameter max protocol = NT doing parameter acl compatibility = winnt doing parameter ldap ssl = No doing parameter server signing = Auto doing parameter netbios name = MICHAELV3 handle_netbios_name: set global_myname to: MICHAELV3 Processing section "[data]" add_a_service: Creating snum = 0 for data hash_a_service: creating tdb servicehash hash_a_service: hashing index 0 for service name data doing parameter path = usr/samba-ctdb/samba/data doing parameter read only = no doing parameter map hidden = yes doing parameter map system = yes doing parameter create mask = 755 Processing section "[homes]" add_a_service: Creating snum = 1 for homes hash_a_service: hashing index 1 for service name homes doing parameter comment = Home Directories doing parameter browseable = no doing parameter read only = no Processing section "[printers]" add_a_service: Creating snum = 2 for printers hash_a_service: hashing index 2 for service name printers doing parameter comment = All Printers doing parameter path = /usr/samba-ctdb/samba/spool doing parameter browseable = no doing parameter guest ok = no doing parameter printable = yes Processing section "[share01]" add_a_service: Creating snum = 3 for share01 hash_a_service: hashing index 3 for service name share01 doing parameter case sensitive = no doing parameter strict locking = no doing parameter msdfs proxy = no doing parameter comment = Read Only doing parameter path = /usr/samba-ctdb/samba/share/testing/share01 Processing section "[share02]" add_a_service: Creating snum = 4 for share02 hash_a_service: hashing index 4 for service name share02 doing parameter comment = share02 doing parameter path = path = /usr/samba-ctdb/samba/share/testing/share02 doing parameter read only = no doing parameter guest ok = yes pm_process() returned Yes set_server_role: role = ROLE_STANDALONE Attempting to register new charset UCS-2LE Registered charset UCS-2LE Attempting to register new charset UTF-16LE Registered charset UTF-16LE Attempting to register new charset UCS-2BE Registered charset UCS-2BE Attempting to register new charset UTF-16BE Registered charset UTF-16BE Attempting to register new charset UTF8 Registered charset UTF8 Attempting to register new charset UTF-8 Registered charset UTF-8 Attempting to register new charset ASCII Registered charset ASCII Attempting to register new charset 646 Registered charset 646 Attempting to register new charset ISO-8859-1 Registered charset ISO-8859-1 Attempting to register new charset UCS2-HEX Registered charset UCS2-HEX Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED tdb(unnamed): tdb_open_ex: failed to truncate /usr/samba-ctdb/samba/var/locks/connections.tdb: Invalid argument Could not open tdb: Invalid argument smbcontrol/send_message: broadcast message to 0 processes Added timed event "smbcontrol_timeout": 90eb9f0 Running event "smbcontrol_timeout" 90eb9f0 Destroying timed event 90eb9f0 "smbcontrol_timeout" No replies received Checking SAMBA service-->nmblookup -B 127.0.0.1 __SAMBA__ querying __SAMBA__ on 127.0.0.1 192.168.2.6 __SAMBA__<00> See if SAMBA is accepting client queries->nmblookup -B 127.0.0.1 "*" querying * on 127.0.0.1 192.168.2.6 *<00> Broadcast a query message to the network-->nmblookup -d 2 '*' This should return answers from all locally connected clients and servers. added interface ip=192.168.2.6 bcast=192.168.2.255 nmask=255.255.255.0 querying * on 192.168.2.255 Got a positive name query response from 192.168.2.6 ( 192.168.2.6 ) 192.168.2.6 *<00> Checking smb status-->smbstatus -L localhost tdb(unnamed): tdb_open_ex: failed to truncate /usr/samba-ctdb/samba/var/locks/brlock.tdb: Invalid argument Failed to open byte range locking database /usr/samba-ctdb/samba/var/locks/brlock.tdb tdb(unnamed): tdb_open_ex: failed to truncate /usr/samba-ctdb/samba/var/locks/locking.tdb: Invalid argument ERROR: Failed to initialise locking database Can't initialise locking module - exiting Attempting anonymous login->./smbclient -L//127.0.0.1 -N Press Enter when prompted for the password. Anonymous login successful Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.26pre1-SVN-build-UNKNOWN] Sharename Type Comment --------- ---- ------- data Disk share01 Disk Read Only share02 Disk share02 Anonymous login successful Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.26pre1-SVN-build-UNKNOWN] Server Comment --------- ------- MICHAELV3 SambaServer Workgroup Master --------- ------- MYGROUP Attempting sambauser login->./smbclient //127.0.0.1/tmp -Usambauser Enter the correct password when prompted. Password: Domain=[MICHAELV3] OS=[Unix] Server=[Samba 3.0.26pre1-SVN-build-UNKNOWN] tree connect failed: NT_STATUS_BAD_NETWORK_NAME Do you want to test samba with mount/umount? Press any key to continue, or CTRL-C to aborta /usr/samba-ctdb/bin/mount.cifs //127.0.0.1/share02 /usr/samba-ctdb/samba/share/testing/share02 --verbose -o user=sambauser,domain=MYGROUP parsing options: user=sambauser,domain=MYGROUP Password: mount.cifs kernel mount options unc=//127.0.0.1\share02,ip=127.0.0.1,pass=aaa,ver=1,user=sambauser,domain=MYGROUP retrying with upper case share name mount.cifs kernel mount options unc=//127.0.0.1\SHARE02,ip=127.0.0.1,pass=aaa,ver=1,user=sambauser,domain=MYGROUP mount error 6 = No such device or address Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Mount not successful: 255 Stopping samba-->killall -w smbd nmbd Aborting Samba-CTDB configuration... [root@localhost samba]#