08-08-2001
Couldn't open status file /var/samba/STATUS.LCK
I believe i have most of samba configured right but i get this error each time time try to run it. I was given suggestion that i touch the file, i did, but i still cannot rid myself of this error.
Any suggestions
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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 if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT CENTOS
ntdbbackup
NTDBBACKUP(8) System Administration tools NTDBBACKUP(8)
NAME
ntdbbackup - tool for backing up and for validating the integrity of samba .ntdb files
SYNOPSIS
ntdbbackup [-s suffix] [-v] [-h]
DESCRIPTION
This tool is part of the samba(1) suite.
ntdbbackup is a tool that may be used to backup samba .ntdb files. This tool may also be used to verify the integrity of the .ntdb files
prior to samba startup or during normal operation. If it finds file damage and it finds a prior backup the backup file will be restored.
OPTIONS
-h
Get help information.
-s suffix
The -s option allows the administrator to specify a file backup extension. This way it is possible to keep a history of ntdb backup
files by using a new suffix for each backup.
-v
The -v will check the database for damages (corrupt data) which if detected causes the backup to be restored.
COMMANDS
GENERAL INFORMATION
The ntdbbackup utility can safely be run at any time. It was designed so that it can be used at any time to validate the integrity of ntdb
files, even during Samba operation. Typical usage for the command will be:
ntdbbackup [-s suffix] *.ntdb
Before restarting samba the following command may be run to validate .ntdb files:
ntdbbackup -v [-s suffix] *.ntdb
Note that Samba 4 can use .tdb files instead, so you should use tdbbackup on those files.
Samba .tdb and .ntdb files are stored in various locations, be sure to run backup all .(n)tdb files on the system. Important files
includes:
o secrets.(n)tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
o passdb.(n)tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
o *.tdb and *.ntdb located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories.
VERSION
This man page is correct for version 4 of the Samba suite.
SEE ALSO
tdbbackup(8), ntdbrestore(8)
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
The ntdbbackup man page was written by Rusty Russell, based on the tdbbackup man page by John H Terpstra.
Samba 4.1 06/17/2014 NTDBBACKUP(8)