Web lists-archives.com

Re: [Samba] testparm: /var/run/ctdb/ctdb.socket missing




Hai, 


Can you tell bit more about the setup, what the goal is. 
Because now i only see you have a problem running testparm..  ;-) 

More info is better, so please, can you share you config.
I'll have a look whats happening here.  


Greetz, 

Louis

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens Neil 
> Richardson (mail filter) via samba
> Verzonden: vrijdag 18 januari 2019 7:23
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: [Samba] testparm: /var/run/ctdb/ctdb.socket missing
> 
> Apologies in advance, but I have been banging my head against this
> and the only Google results I've found are from 2014, and don't work
> (or apply).
> 
> OS: Ubuntu 18.04 bionic
> smbd: 4.9.4-Debian (the apt.van-belle.nl version)
> 
> 
> 
> When I run `testparm` I get:
> 	rlimit_max: increasing rlimit_max (8192) to minimum 
> Windows limit
> (16384)
> 	WARNING: The "syslog" option is deprecated
> 	connect(/var/run/ctdb/ctdbd.socket) failed: No such 
> file or directory
> 	ctdbd_connect failed: No such file or directory
> 	ctdbd_init_connection: ctdbd_init_connection_internal failed (No
> such file or directory)
> 	Unable to initialize messaging context!
> 
> 
> Yet:
> 	$ ls -Fla /var/run/ctdb/
> 	total 0
> 	drwxrwxrwx  2 root root   40 Jan 15 21:56 ./
> 	drwxr-xr-x 30 root root 1100 Jan 15 21:29 ../
> 
> 
> As you can see, I even made the directory world-writeable in case it
> was a problem with ctdb/samba somehow now being able to write into
> the folder.
> 
> I've seen lots of threads [1][2] where they say "Just `mkdir -p` the
> directory" but those are typically referring to `/var/lib/run/ctdb`
> (which I also tried creating, but it didn't help).
> 
> 
> [1] https://ubuntuforums.org/showthread.php?t=2317968
> [2]
> https://lists.samba.org/archive/samba-technical/2014-August/10
1726.html
> 
> 
> 
> It seems to have everything it's asking for but is still not
> happy...what am I missing?
> 
> 
> 
> Thanks in advance,
> -Neil
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba