ctdb (4.9.1) not starting

Issues related to applications and software problems
Post Reply
AShehzad2
Posts: 2
Joined: 2019/09/26 09:39:34

ctdb (4.9.1) not starting

Post by AShehzad2 » 2019/09/26 10:43:35

Hi,

I have updated the ctdb to the latest version (ctdb-4.9.1-6.el7.x86_64) but it is NOT strating up since.
I get the following error message?

ctdbd[13172]: Starting event daemon /usr/libexec/ctdb/ctdb-eventd -P 13172 -S 14
ctdbd[13172]: Set runstate to INIT (1)
ctdbd[13172]: ctdb exiting with error: Failed to run init event
ctdbd[13172]:
ctdbd[13172]: CTDB daemon shutting down
ctdb-eventd[13174]: PID 13172 gone away, exiting

Any help would be appreciated?

Thanks.

AShehzad2
Posts: 2
Joined: 2019/09/26 09:39:34

Re: ctdb (4.9.1) not starting

Post by AShehzad2 » 2019/10/10 15:23:47

I managed to start it up now.
There are lot of config changes in ctdb 4.9.1.
So I migrated the old config to new style config and created couple of missing directories.
It is up now and samba has started up also.

The only issue, not sure it is by design that the Samba/ctdb VIP is not showing on the physical interface anymore.
But if I run "ctdb ip -v" then it shows that VIP is available and active.

But I am getting the following in the log file which seems like a loop. Any suggestions are welcome please. Thanks.

ctdb-recoverd[]: Trigger takeoverrun
2019/10/10 16:19:06.x ctdb-recoverd[x]: Takeover run starting
2019/10/10 16:19:06.x ctdbd[]: Takeover of IP x.x.x.x/24 on interface xxx
2019/10/10 16:19:06.x ctdb-recoverd[x]: Takeover run completed successfully
2019/10/10 16:19:07.x ctdb-recoverd[x]: Assigned IP x.x.x.x not on an interface
2019/10/10 16:19:07.x ctdb-recoverd[x]: Trigger takeoverrun
2019/10/10 16:19:07.x ctdb-recoverd[x]: Takeover run starting
2019/10/10 16:19:07.x ctdbd[]: Takeover of IP x.x.x.x/24 on interface xxx
2019/10/10 16:19:07.x ctdb-recoverd[]: Takeover run completed successf

Thraex
Posts: 24
Joined: 2019/05/14 19:50:28

Re: ctdb (4.9.1) not starting

Post by Thraex » 2019/10/10 19:18:14

I ran into the same two issues you did and had to add the directories like /var/lib/ctdb/state. Only info I can find is at:

https://bugzilla.redhat.com/show_bug.cgi?id=1656777
https://bugs.centos.org/view.php?id=16411&nbn=4

I'll keep messing around and see if I can make any progress

Thraex
Posts: 24
Joined: 2019/05/14 19:50:28

Re: ctdb (4.9.1) not starting

Post by Thraex » 2019/10/10 21:07:52

Alright I think I found a solution. I copied all of the legacy event scripts from the directory /usr/share/ctdb/events/legacy/ and put them into /etc/ctdb/events/legacy/. Then removed the ones I don't need like clamd, vsftpd, winbind. The ctdb log will show you if an event script fails or not. After removing the failing event scripts and starting up the ctdb service it was finally able to add the virtual ip address to the correct device and stop the takeover loop. Probably not the best way to do it, but for testing purposes it will at least get the service to work.

Fubajaimen
Posts: 1
Joined: 2019/10/30 14:59:24

Re: ctdb (4.9.1) not starting

Post by Fubajaimen » 2019/10/30 15:05:16

I'm having the same takeover loop problem (ctdb 4.9.1-6). CTDB will start, but public IPs are still not working. The log is full of takeover IP messages spewing every second. Only workaround at the moment has been to down rev ctdb. Still actively looking for a solution.

Thraex
Posts: 24
Joined: 2019/05/14 19:50:28

Re: ctdb (4.9.1) not starting

Post by Thraex » 2019/11/04 15:20:58

Is it still doing that after copying the event scripts over? Every test system I had broke out of the takeover loop once I did that and restarted the service.

Post Reply

Return to “CentOS 7 - Software Support”