09-18-2014
Firefox is already running, but is not responding.
I restarted the system but still it is giving the same error.
I removed lock files because this user is not local user so due to multiple instances it could cause the problem.
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
flock(2) System Calls Manual flock(2)
Name
flock - apply or remove an advisory lock on an open file
Syntax
#include <sys/file.h>
#define LOCK_SH 1 /* shared lock */
#define LOCK_EX 2 /* exclusive lock */
#define LOCK_NB 4 /* don't block when locking */
#define LOCK_UN 8 /* unlock */
flock(fd, operation)
int fd, operation;
Description
The system call applies or removes an advisory lock on the file associated with the file descriptor, fd. A lock is applied by specifying
an operation parameter that is the inclusive OR of LOCK_SH or LOCK_EX and, possibly, LOCK_NB. To unlock an existing lock, operation should
be LOCK_UN.
Advisory locks allow cooperating processes to perform consistent operations on files, but do not guarantee consistency; that is, processes
might still access files without using advisory locks, possibly resulting in inconsistencies.
The locking mechanism allows two types of locks: shared locks and exclusive locks. At any time, multiple shared locks can be applied to a
file. However, multiple exclusive locks, or shared and exclusive locks cannot be applied simultaneously on a file.
A shared lock can be upgraded to be an exclusive lock, and an exclusive lock can become shared, simply by specifying the appropriate lock
type. This change results in the previous lock being released and the new lock applied. When upgrading, do not include LOCK_NB in opera-
tion, because there is a possibility that other processes have requests for locks, or have gained or released a lock.
Requesting a lock on an object that is already locked normally causes the caller to blocked until the lock can be acquired. If LOCK_NB is
included in operation, the call is not blocked; instead, the call fails and the error EWOULDBLOCK is returned.
Locks are on files, not file descriptors. That is, file descriptors duplicated through or call do not result in multiple instances of a
lock, but rather multiple references to a single lock. If a process holding a lock on a file forks and the child explicitly unlocks the
file, the parent loses its lock.
Processes blocked awaiting a lock may be awakened by signals.
Return Values
Zero is returned if the operation was successful; on an error, a -1 is returned and an error code is stored in the global variable, errno.
Diagnostics
The call fails under the following conditions:
[EWOULDBLOCK] The file is locked and the LOCK_NB option was specified.
[EBADF] The argument fd is an invalid descriptor.
[EINVAL] The argument fd refers to an object other than a file.
[EOPNOTSUPP] Invalid operation is requested. The argument fd refers to a socket.
Restrictions
File region locking is not supported over NFS.
See Also
close(2), dup(2), execve(2), fork(2), open(2)
flock(2)