09-18-2014
If it is running, but not responding, what good would removing lock files do? Maybe you should kill it?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
i am using HPUX11.00 and i am facing a starnge problem
after some time when i log on a message is coimng
NFS server not responding still trying....and it keps on coming there is no other way but to log out..form the server and start once again...
there is no file system exported or NFS... (3 Replies)
Discussion started by: Prafulla
3 Replies
2. HP-UX
I am receiving messages from HP-UX Server
"The operating system is unable to communicate with the service processor.
The support bus which connects the system processors, the service processor and the Power Monitor or Platform Monitor may have become hung ".
I need help in the following:... (1 Reply)
Discussion started by: cgege
1 Replies
3. UNIX for Dummies Questions & Answers
Kindly
When I start the server i have this error "portmapper on server 185.125.241.321 is not responding"
let me also clarify that this is the old IP of the server and the new one 192.168.0.2
regards (1 Reply)
Discussion started by: sak900354
1 Replies
4. UNIX for Dummies Questions & Answers
Hi all
(Shell: ksh Unix: NCR Unix)
Upon opening a shell, I can type a command (any command), but the shell does very little or nothing. If I cd to an unknown directory, the shell responds with "file not found", if I issue 'ls', I get no directory listing (files are present). If I issue... (2 Replies)
Discussion started by: jgrogan
2 Replies
5. Solaris
Hi,
SC on one of my T5220 is not responding .. it does not show not let me type anything .. what could be the reason for it ? though when i powercycle the box from sc it shows me the system coming up but after that does not let me login thru sc
sc> console -f
Enter #. to return to ALOM. (2 Replies)
Discussion started by: fugitive
2 Replies
6. Shell Programming and Scripting
I have copied a simple.xml file into the folder /var/www/html and trying to access it on the brower by giving the command "http://localhost:8080/simple.xml"
but it gives "Connection Failed " Error .
While if i type "http://localhost/" It dispays the contents of the index.html file in the... (2 Replies)
Discussion started by: madhumathikv
2 Replies
7. Debian
Hi,
I installed the FF3 on my new Debian, and part of the installation guidance is to save a file named firefox.desktop on the desktop, which should act like a shortcut to the FF. The file content is:
Name=Mozilla Firefox Browser
Comment=lightweight browser based on mozilla
Exec=firefox... (15 Replies)
Discussion started by: JonesD1
15 Replies
8. Solaris
Hello All!
please help. I have a solaris8 server (NIS client) that lost network connectivity to NIS master server. After restoring connectivity to NIS master server, I can't access the server.
1. The server responds to ping.
2. Telnet -- after it authenticates I do not get a prompt.
3.... (3 Replies)
Discussion started by: pingmeback
3 Replies
9. Ubuntu
It is now 20 years I have used Total Commander. I was very pleased to find Tux Commander, using Ubuntu, which looks very close to TC.
UNFORTUNATELY, it hangs while copying large files.
Could anyone give my some tips.:b:
Ubuntu 9.10
Tux Cmd version 0.6.70-dev Build date: 2009-11-15
... (1 Reply)
Discussion started by: Bindee
1 Replies
10. UNIX for Dummies Questions & Answers
I am attempting to run 'ls -ltr' on a directory where file is being written. After firing this command, I dont receive any response from the shell. I understand, because one of the file is writing, this must have happened.
Is there any way, we can still see the listing represnted the query fire... (3 Replies)
Discussion started by: videsh77
3 Replies
LEARN ABOUT DEBIAN
lbdb_dotlock
dotlock(1) User Manuals dotlock(1)
NAME
lbdb_dotlock - Lock mail spool files.
SYNOPSIS
lbdb_dotlock [-t|-f|-u|-d] [-r retries] file
DESCRIPTION
dotlock implements the traditional mail spool file locking method: To lock file, a file named file.lock is created.
OPTIONS
-t Just try. dotlock won't actually lock a file, but inform the invoking process if it's at all possible to lock file.
-f Force the lock. If another process holds a lock on file longer than a certain amount of time, dotlock will break that lock by
removing the lockfile.
-u Unlock. dotlock will remove file.lock.
-d Delete. dotlock will lock file, remove it if it has length 0, and afterwards remove file.lock.
-r retries
This command line option tells dotlock to try locking retries times before giving up or (if invoked with the -f command line option)
break a lock. The default value is 5. dotlock waits one second between successive locking attempts.
FILES
file.lock
The lock file dotlock generates.
SEE ALSO
fcntl(2), flock(2), lockfile(1), lbdb-fetchaddr(1)
DIAGNOSTICS
dotlock gives all diagnostics in its return values:
0 - DL_EX_OK
The program was successful.
1 - DL_EX_ERROR
An unspecified error such as bad command line parameters, lack of system memory and the like has occured.
3 - DL_EX_EXIST
The user wants to lock a file which has been locked by another process already. If dotlock is invoked with the -f command line
option, dotlock won't generate this error, but break other processes' locks.
4 - DL_EX_NEED_RPIVS
This return value only occurs if dotlock has been invoked with the -t command line option. It means that dotlock will have to use
its group mail privileges to lock file.
5 - DL_EX_IMPOSSIBLE
This return value only occurs if dotlock has been invoked with the -t command line option. It means that dotlock is unable to lock
file.
NOTES
dotlock tries to implement an NFS-safe dotlocking method which was borrowed from lockfile(1).
If the user can't open file for reading with his normal privileges, dotlock will return the DL_EX_ERROR exit value to avoid certain attacks
against other users' spool files. The code carefully avoids race conditions when checking permissions; for details of all this see the com-
ments in dotlock.c.
HISTORY
dotlock is part of the Mutt mail user agent package. It has been created to avoid running mutt with group mail privileges.
AUTHOR
Thomas Roessler <roessler@guug.de>
Unix OCTOBER 2005 dotlock(1)