Displaying 4 results from an estimated 4 matches for "conditionfilenotempti".
Did you mean:
conditionfilenotempty
2020 Mar 03
1
start/stop ctdb
# tdbtool /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0
check
Database integrity is OK and has 18 records.
Guess no?
Am 03.03.2020 um 10:42 schrieb Ralph Boehme:
> tdbtool /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0 check
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]
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
2020 Mar 03
1
start/stop ctdb
Hai,
Hmm, about ..
> "Environment=PATH=$PATH:/usr/local/samba/bin:/bin".
> Needed also
> to add "/bin" because couldnt find "sleep".
/bin should be found in $PATH..
In since it looks like it does not.
Then i suggest this:
Environment="PATH=$PATH:/usr/local/samba/bin:/usr/local/samba/sbin:/bin:/sbin:/usr/bin:/usr/sbin"
# to make sure you