Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Couldn't open status file /var/samba/STATUS.LCK Post 5163 by mib on Wednesday 8th of August 2001 08:42:40 AM
Old 08-08-2001
First of all its not 'STATUS.LCK'. its 'STATUS..LCK '. Can you see any defference. Smilie

try
#touch /var/lock/samba/STATUS..LCK

The STATUS..LCK file is created as soon as someone accesses a file shared by samba.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File status - open/close ??

Is there any commands in UNIX, like isopen(),isclose() to know whether a file has been opened for read/write purpose.? Thanks (3 Replies)
Discussion started by: Pal
3 Replies

2. Filesystems, Disks and Memory

HELP! The '/var/adm/message' file increase every few seconds???

Hi, guys, I have a big problem. I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It soon becomes a large file. I wander if there are some mistakes configuring the workstation. the /var/adm/message is as follow: ... (1 Reply)
Discussion started by: cloudsmell
1 Replies

3. UNIX for Dummies Questions & Answers

HELP! The '/var/adm/message' file increase every few seconds???

Hi, guys, I have a big problem. I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It becomes a large file in a short time. I wander if there are some mistakes configuring the workstation. the /var/adm/message is as follow: ... (3 Replies)
Discussion started by: cloudsmell
3 Replies

4. Shell Programming and Scripting

check the status and send an email with status

Hi, We have a text file which has the following data. ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183 7~U~00200~000011258~0~P~< GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002 ST~997~0001 AK1~SH~247 AK2~856~2470001 AK5~A AK2~856~2470002 AK5~A... (3 Replies)
Discussion started by: isingh786
3 Replies

5. Red Hat

Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58

I have successfully installed RedHat 8.0 onto a Dell PowerEdge SC1425 today. This server has two SATA hard drives, and an IDE DVD-ROM drive. Using the following kernel parameters, i successfully installed across both hard drives from CD: ide0=0x1f0,0x3f6,14 vga=791 resolution=1024x768 expert... (5 Replies)
Discussion started by: fishsponge
5 Replies

6. Shell Programming and Scripting

how to detect port open status?

I write a script which will stop an application, then restart it. Sometimes it is succesful, sometimes not. The problem is, when stop the application, some ports are still listenning (or not released). When start the application, it reports that ports are used, and can't continues. I use... (1 Reply)
Discussion started by: rdcwayx
1 Replies

7. UNIX for Dummies Questions & Answers

302 server status code to 301/404 server status code

Hello, Sorry for my english. I have an arcade site. mydomain.com/game.html If database has the game name is good. mydomain.com/fd43f54.html if database has not the game name redirect to mydomain.com by 302 error code. if database has not the game name i want a 301/404 error code and no... (0 Replies)
Discussion started by: hoo
0 Replies

8. UNIX for Dummies Questions & Answers

Know File Status

Hi Guys, how to know the status of a file to whether it is copied partially from the source location or completly copied. Appreciate your quick reply on this. ---------- Post updated at 05:16 AM ---------- Previous update was at 04:34 AM ---------- #!/bin/ksh file_nm=$1 no_of_tries=5... (2 Replies)
Discussion started by: palanisvr
2 Replies

9. Programming

How to track table status delete/update/insert status in DB2 V10 z/os?

Dear Team I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update ) Scenario We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
Discussion started by: Perlbaby
1 Replies

10. UNIX for Beginners Questions & Answers

How to see the status of all the ftp put & get files logs and curent ftp transfer status ?

How to see the status of all the ftp put & get files logs and curent ftp transfer status if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
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)
All times are GMT -4. The time now is 03:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy