Can't open nodes-6379.conf in order to acquire a lock: Permission denied
I am getting error on redis server on linux 7.5 after change the default path /var/lib/redis to /redisdata, and enable cluster-enabled yes. It would be really appreciate if some one can check and suggest on this issue.
error code:
I would like to copy data from local mechine to cluster. Basically, I typed
scp -r DVD/ acount@cluster:/
it shows Permission denied.
Could anyone please give me a clue to write permission on cluster, please?
The poperty of where on cluster I'd like to put is drwxr-xr-x
Any idea would... (1 Reply)
Whenever I try to open xterm, below error loops in itself
adroit:/home/seo/hitendra/.dt 32> xterm &
open ttydev: Permission denied
open ttydev: Permission denied
open ttydev: Permission denied
open ttydev: Permission denied
....
....
....
This error sometime comes ,sometime not.... (1 Reply)
I created a user so that when he logs in he will be directed to a menu
/etc/passwd
user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh
However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Hi all,
I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...).
I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message.
Is there any way to simply get a return code... (3 Replies)
Hello
I have simple line of code here:
FILE *lockfp = fopen("/var/lock/subsys/processName", "w");
which is denied even running as root. The result is
locking failed for the following reason: Permission denied
How is this possible? Why is this happening?
Thanks for your... (4 Replies)
I am using korn shell
When I type in Telnet on cmd line, I get message
"cannot execute"
How can I get permission to execute command ? In which dir is telnet located ? I looked in /usr/bin dir. but its not there
Thanks (1 Reply)
Trying to get date into the txt file.
It says
Permission denied.
echo $(date +%I:%M:%S_%D) >> /tmp/systemd_suspend_test_err.txt
exec 2>> /tmp/systemd_suspend_test_err.txt
if ; then
# Do the thing you want before suspend here
echo "we are suspending $(date +%I:%M:%S_%D)."
elif ;... (5 Replies)
Discussion started by: drew77
5 Replies
LEARN ABOUT SUSE
ocf_heartbeat_ctdb
OCF_HEARTBEAT_CTDB(7) OCF resource agents OCF_HEARTBEAT_CTDB(7)NAME
ocf_heartbeat_CTDB - CTDB Resource Agent
SYNOPSIS
CTDB [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
This resource agent manages CTDB, allowing one to use Clustered Samba in a Linux-HA/Pacemaker cluster. You need a shared filesystem (e.g.
OCFS2) on which CTDB lock and Samba state will be stored. Configure shares in smb.conf on all nodes, and create /etc/ctdb/nodes containing
a list of private IP addresses of each node in the cluster. Configure this RA as a clone, and it will take care of the rest. For more
information see http://linux-ha.org/wiki/CTDB_(resource_agent)
SUPPORTED PARAMETERS
ctdb_recovery_lock
The location of a shared lock file, common across all nodes. This must be on shared storage, e.g.: /shared-fs/samba/ctdb.lock
(required, string, no default)
smb_private_dir
The directory for smbd to use for storing such files as smbpasswd and secrets.tdb. This must be on shared storage, e.g.:
/shared-fs/samba/private (required, string, no default)
ctdb_config_dir
The directory containing various CTDB configuration files. The "nodes" and "notify.sh" scripts are expected to be in this directory, as
is the "events.d" subdirectory. (optional, string, default /etc/ctdb)
ctdb_binary
Full path to the CTDB binary. (optional, string, default /usr/bin/ctdb)
ctdbd_binary
Full path to the CTDB cluster daemon binary. (optional, string, default /usr/sbin/ctdbd)
ctdb_socket
Full path to the domain socket that ctdbd will create, used for local clients to attach and communicate with the ctdb daemon.
(optional, string, default /var/lib/ctdb/ctdb.socket)
ctdb_dbdir
The directory to put the local CTDB database files in. Persistent database files will be put in ctdb_dbdir/persistent. (optional,
string, default /var/lib/ctdb)
ctdb_logfile
Full path to log file. To log to syslog instead, use the value "syslog". (optional, string, default /var/log/ctdb/log.ctdb)
ctdb_debuglevel
What debug level to run at (0-10). Higher means more verbose. (optional, integer, default 2)
smb_conf
Path to default samba config file. (optional, string, default /etc/samba/smb.conf)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 90.
stop
Stops the resource. Suggested minimum timeout: 100.
monitor
Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 30.
EXAMPLE
The following is an example configuration for a CTDB resource using the crm(8) shell:
primitive example_CTDB ocf:heartbeat:CTDB
params
ctdb_recovery_lock=string
smb_private_dir=string
op monitor timeout="20" interval="10" depth="0"
SEE ALSO
http://www.linux-ha.org/wiki/CTDB_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_CTDB(7)