Displaying 20 results from an estimated 295 matches for "ctdbd".
Did you mean:
ctdb
2018 May 07
2
CTDB Path
Hello,
i'm still trying to find out what is the right path for ctdb.conf
(ubuntu 18.04, samba was compiled from source!!).
When im trying to start CTDB without any config file, my log in
/usr/local/samba/var/log/log.ctdb shows me:
2018/05/07 12:56:44.363513 ctdbd[4503]: Failed to read nodes file
"/usr/local/samba/etc/ctdb/nodes"
2018/05/07 12:56:44.363546 ctdbd[4503]: Failed to load nodes file
"/usr/local/samba/etc/ctdb/nodes"
I thought, thats nice, lets create some config files like:
/usr/local/samba/etc/ctdb/*nodes*
/usr/local/sam...
2018 May 04
2
CTDB Path
...th SAMBA 4.7.7 from SOURCE!
I compiled samba as follow:
|./configure| |--with-cluster-support
||--with-shared-modules=idmap_rid,idmap_tdb2,idmap_ad|
The whole SAMBA enviroment is located in /usr/local/samba/.
CTDB is located in /usr/local/samba/etc/ctdb.
I guess right that the correct path of ctdbd.conf (node file, public
address file . . .) is located in /usr/loca/samba/etc/ctdb?
Im a litte bit confused about
(https://ctdb.samba.org/manpages/ctdbd.conf.5.html):
|/usr/local/etc/ctdb/
| |/etc/sysconfig/ctdb
|
|/etc/default/ctdb
.
.
.
|Thy and best regards
2018 Feb 26
2
答复: [ctdb] Unable to take recovery lock - contention
...db] Unable to take recovery lock - contention
When the ctdb is starting, the "Unable to take recovery lock - contention" log will be output all the time.
Which cases will the "unable to take lock" errror be output?
Thanks!
The following the ctdb logs:
2018/02/12 19:38:51.147959 ctdbd[5615]: CTDB starting on node
2018/02/12 19:38:51.528921 ctdbd[6602]: Starting CTDBD (Version 4.6.10) as PID: 6602
2018/02/12 19:38:51.529060 ctdbd[6602]: Created PID file /run/ctdb/ctdbd.pid
2018/02/12 19:38:51.529120 ctdbd[6602]: Listening to ctdb socket /var/run/ctdb/ctdbd.socket
2018/02/12 19:38...
2020 Mar 03
5
start/stop ctdb
Hi,
i updated the variables for my scenario. But CTDB wont start:
Mar? 3 09:50:50 ctdb1 systemd[1]: Starting CTDB...
Mar? 3 09:50:50 ctdb1 ctdbd[24663]: CTDB starting on node
Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Starting CTDBD (Version 4.11.6) as
PID: 24667
Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Created PID file
/usr/local/samba/var/run/ctdb/ctdbd.pid
Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Removed stale socket
/usr/local/samba/var/run/ctdb/ctdb...
2018 Feb 26
2
[ctdb] Unable to take recovery lock - contention
When the ctdb is starting, the "Unable to take recovery lock - contention" log will be output all the time.
Which cases will the "unable to take lock" errror be output?
Thanks!
The following the ctdb logs:
2018/02/12 19:38:51.147959 ctdbd[5615]: CTDB starting on node
2018/02/12 19:38:51.528921 ctdbd[6602]: Starting CTDBD (Version 4.6.10) as PID: 6602
2018/02/12 19:38:51.529060 ctdbd[6602]: Created PID file /run/ctdb/ctdbd.pid
2018/02/12 19:38:51.529120 ctdbd[6602]: Listening to ctdb socket /var/run/ctdb/ctdbd.socket
2018/02/12 19:38...
2018 Feb 26
0
答复: [ctdb] Unable to take recovery lock - contention
...db] Unable to take recovery lock - contention
When the ctdb is starting, the "Unable to take recovery lock - contention" log will be output all the time.
Which cases will the "unable to take lock" errror be output?
Thanks!
The following the ctdb logs:
2018/02/12 19:38:51.147959 ctdbd[5615]: CTDB starting on node
2018/02/12 19:38:51.528921 ctdbd[6602]: Starting CTDBD (Version 4.6.10) as PID: 6602
2018/02/12 19:38:51.529060 ctdbd[6602]: Created PID file /run/ctdb/ctdbd.pid
2018/02/12 19:38:51.529120 ctdbd[6602]: Listening to ctdb socket /var/run/ctdb/ctdbd.socket
2018/02/12 19:38...
2018 Feb 26
0
[ctdb] Unable to take recovery lock - contention
When the ctdb is starting, the "Unable to take recovery lock - contention" log will be output all the time.
Which cases will the "unable to take lock" errror be output?
Thanks!
The following the ctdb logs:
2018/02/12 19:38:51.147959 ctdbd[5615]: CTDB starting on node
2018/02/12 19:38:51.528921 ctdbd[6602]: Starting CTDBD (Version 4.6.10) as PID: 6602
2018/02/12 19:38:51.529060 ctdbd[6602]: Created PID file /run/ctdb/ctdbd.pid
2018/02/12 19:38:51.529120 ctdbd[6602]: Listening to ctdb socket /var/run/ctdb/ctdbd.socket
2018/02/12 19:38...
2019 Jan 18
3
testparm: /var/run/ctdb/ctdb.socket missing
...rom 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 1...
2020 Mar 03
2
start/stop ctdb
Thanks,
i added "Environment=PATH=$PATH:/usr/local/samba/bin:/bin". Needed also
to add "/bin" because couldnt find "sleep".
Thats the script now:
----
[Unit]
Description=CTDB
Documentation=man:ctdbd(1) man:ctdb(7)
After=network-online.target time-sync.target
ConditionFileNotEmpty=/usr/local/samba/etc/ctdb/nodes
[Service]
Environment=PATH=$PATH:/usr/local/samba/bin:/bin
Type=forking
LimitCORE=infinity
LimitNOFILE=1048576
PIDFile=/usr/local/samba/var/run/ctdb/ctdbd.pid
ExecStart=/usr/local/sam...
2020 Mar 03
1
start/stop ctdb
On 03/03/2020 09:13, Ralph Boehme via samba wrote:
> Am 3/3/20 um 10:05 AM schrieb Micha Ballmann via samba:
>> Mar? 3 09:50:50 ctdb1 systemd[1]: Starting CTDB...
>> Mar? 3 09:50:50 ctdb1 ctdbd[24663]: CTDB starting on node
>> Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Starting CTDBD (Version 4.11.6) as
>> PID: 24667
>> Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Created PID file
>> /usr/local/samba/var/run/ctdb/ctdbd.pid
>> Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Removed stale...
2018 Sep 05
1
[ctdb]Unable to run startrecovery event(if mail content is encrypted, please see the attached file)
There is a 3 nodes ctdb cluster is running. When one of 3 nodes is powered down, lots of logs will be wrote to log.ctdb.
node1: repeat logs:
2018/09/04 04:35:06.414369 ctdbd[10129]: Recovery has started
2018/09/04 04:35:06.414944 ctdbd[10129]: connect() failed, errno=111
2018/09/04 04:35:06.415076 ctdbd[10129]: Unable to run startrecovery event
node2: repeat logs:
2018/09/04 04:35:09.412368 ctdb-recoverd[9437]: ../ctdb/server/ctdb_recoverd.c:1267 Starting do_recovery...
2015 Aug 04
3
Does CTDB run under LXC containers?
...tdb.service' and
'journalctl -xn' for details.
# systemctl status ctdb.service
ctdb.service - CTDB
Loaded: loaded (/usr/lib/systemd/system/ctdb.service; disabled)
Active: failed (Result: exit-code) since Tue 2015-08-04 10:09:06
PDT; 5s ago
Process: 9023 ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid
start (code=exited, status=1/FAILURE)
Aug 04 10:09:04 pws-01 ctdbd[9031]: CTDB starting on node
Aug 04 10:09:04 pws-01 ctdbd[9032]: Starting CTDBD (Version 2.5.4) as
PID: 9032
Aug 04 10:09:04 pws-01 ctdbd[9032]: Created PID file /run/ctdb/ctdbd.pid
Aug 04 10:09:04 pws...
2020 Mar 03
1
start/stop ctdb
...>
> Thanks,
>
> i added "Environment=PATH=$PATH:/usr/local/samba/bin:/bin".
> Needed also
> to add "/bin" because couldnt find "sleep".
>
> Thats the script now:
>
> ----
>
> [Unit]
> Description=CTDB
> Documentation=man:ctdbd(1) man:ctdb(7)
> After=network-online.target time-sync.target
> ConditionFileNotEmpty=/usr/local/samba/etc/ctdb/nodes
>
> [Service]
> Environment=PATH=$PATH:/usr/local/samba/bin:/bin
>
> Type=forking
> LimitCORE=infinity
> LimitNOFILE=1048576
> PIDFile=/usr/local/sam...
2012 Apr 17
0
CTDB panics when vacuuming serverid.tdb
...er/ctdb_vacuum.c:1484 schedule
for deletion: db[serverid.tdb] db_id[0x9ec2a880] key_hash[0x4d617955]
lmaster[0] migrated_with_data[no]
2012/04/17 14:57:33.259722 [18864]:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2012/04/17 14:57:33.259729 [18864]: INTERNAL ERROR: Signal 11 in ctdbd
pid 188642012/04/17 14:57:33.259734 [18864]:
Please read the file BUGS.txt in the distribution
2012/04/17 14:57:33.259738 [18864]:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2012/04/17 14:57:33.259743 [18864]: PANIC: internal error
2012/04/17 14:57:33.259898 [18864]: BACKTRACE:...
2018 May 08
0
CTDB Path
...ote:
> i'm still trying to find out what is the right path for ctdb.conf
> (ubuntu 18.04, samba was compiled from source!!).
>
> When im trying to start CTDB without any config file, my log in
> /usr/local/samba/var/log/log.ctdb shows me:
>
> 2018/05/07 12:56:44.363513 ctdbd[4503]: Failed to read nodes file
> "/usr/local/samba/etc/ctdb/nodes"
> 2018/05/07 12:56:44.363546 ctdbd[4503]: Failed to load nodes file
> "/usr/local/samba/etc/ctdb/nodes"
>
> I thought, thats nice, lets create some config files like:
>
> /usr/local/sam...
2014 Aug 16
1
CTDB: Failed to connect client socket to daemon.
...common/cmdline.c:156 Failed to connect to daemon
2014/08/16 15:32:03.261221 [23255]: Failed to init ctdb
/etc/default/ctdb
CTDB_NODES=/etc/ctdb/nodes
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
CTDB_MANAGES_SAMBA=yes
CTDB_SYSLOG=yes
CTDB_DEBUGLEVEL=NOTICE
CTDB_SOCKET=/usr/local/var/run/ctdb/ctdbd.socket
/usr/local/samba/etc/smb.conf
[global]
workgroup = ALTEA
realm = ALTEA.SITE
security = ADS
kerberos method = secrets and keytab
netbios name = SMBCLUSTER
disable netbios = Yes
clustering = Yes
ctdbd socket = /usr/local/var/run/ctdb/ctdbd.socket
[users]
path = /cluster/users
read only = No...
2020 Mar 03
3
start/stop ctdb
...red some systemD start/stop scripts for samba (smbd, nmbd) and
winbind, also disabled them for manage via ctdb.
I enabled ctdb to mange samba and winbind via this description:
https://wiki.samba.org/index.php/Configuring_clustered_Samba
Now i can start/stop CTDB , SAMBA and winbind by using:
# ctdbd_wrapper start/stop
Now im trying to find a systemD script for CTDB . Is there somewherea
template script flying through the internet? I installed CTDB on a other
maschine by repo and tried to copy the start/stop script but this
distribution provides only SysVinit script.
Maybe you can hep here...
2015 Aug 04
1
Enabling capabilities in a container
...tdb.service' and
'journalctl -xn' for details.
# systemctl status ctdb.service
ctdb.service - CTDB
Loaded: loaded (/usr/lib/systemd/system/ctdb.service; disabled)
Active: failed (Result: exit-code) since Tue 2015-08-04 14:10:39
PDT; 8s ago
Process: 4612 ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid
start (code=exited, status=1/FAILURE)
Aug 04 14:10:37 pws-01 systemd[1]: Starting CTDB...
Aug 04 14:10:37 pws-01 ctdbd[4629]: CTDB starting on node
Aug 04 14:10:37 pws-01 ctdbd[4631]: Starting CTDBD (Version 2.5.4) as
PID: 4631
Aug 04 14:10:37 pws-01 ctdbd[4631]: Crea...
2014 Jul 21
0
CTDB no secrets.tdb created
Hi
2 node ctdb 2.5.3 on Ubuntu 14.04 nodes
apparmor teardown and firewall and stopped dead
The IP takeover is working fine between the nodes:
Jul 21 14:12:03 uc1 ctdbd: recoverd:Trigger takeoverrun
Jul 21 14:12:03 uc1 ctdbd: recoverd:Takeover run starting
Jul 21 14:12:04 uc1 ctdbd: Takeover of IP 192.168.1.81/24 on interface
bond0
Jul 21 14:12:04 uc1 ctdbd: Takeover of IP 192.168.1.80/24 on interface
bond0
Jul 21 14:12:05 uc1 ctdbd: Monitoring event was cancelled...
2020 Mar 03
0
start/stop ctdb
...insdag 3 maart 2020 10:13
> Aan: Micha Ballmann; Anoop C S
> CC: samba at lists.samba.org
> Onderwerp: Re: [Samba] start/stop ctdb
>
> Am 3/3/20 um 10:05 AM schrieb Micha Ballmann via samba:
> > Mar? 3 09:50:50 ctdb1 systemd[1]: Starting CTDB...
> > Mar? 3 09:50:50 ctdb1 ctdbd[24663]: CTDB starting on node
> > Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Starting CTDBD (Version
> 4.11.6) as
> > PID: 24667
> > Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Created PID file
> > /usr/local/samba/var/run/ctdb/ctdbd.pid
> > Mar? 3 09:50:50 ctdb1 ctdbd[24667]: Re...