LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Andrew Harwood <aaharwoo@teaching.cs.adelaide.edu.au>
  To  : LinuxSA mailing list <linuxsa@linuxsa.org.au>
  Date: Wed, 24 Nov 1999 13:34:25 +1030 (CST)

Re: Netscape

On Wed, 24 Nov 1999, Mike Andrew wrote:

> On Wed, 24 Nov 1999, Robyn Manning wrote:
> > I get the following message when I try to start Netscape -
> > 
> > Netscape has detected a /root/.netscape/lock file. This may indicate another
> > user running Netscape using you /root/.netscape files. It appears to be running
> > on localhost under process ID 522.
> > 
> > The message goes on to say you can use netscape but not the cache or delete the
> > lock file.
> > 
> > I'm logged in as root but I can't delete the file/directory. In Kfm it shows up
> > with the symbol of a locked directory.
> > 
> 
> it's probably telling you the truth. You might have made the classic and simple
> mistake of double clicking the netscape icon (thereby attempting to run two),
> or, depending on the distro you're using (KDE ?) it restores previously running
> programs on boot.
> 
> from a console type in
> 
> ps xa | grep scape
> 
> if you get ANY response, then yes, a netscape is running and no, you can't
> delete the lock(ed) file.

Um, the lock "file" is not "locked" by any program. All it consists of is
a symbolic link, which points to a entity that does not exist in reality.
You can easily  delete the file, as pointed out by other people, by just
running a console or xterm, and performing a 'rm /root/.netscape/lock'.

----
Note:
If you do an 'ls -l' on the lock file you will get something like the
following output:

  lrwxrwxrwx   1 aaharwoo csh  19 Nov 24 12:13 lock -> 192.168.8.226:26700

which contains the ip address and pid of the netscape process that created
the lock "file".
----

> to wipe out THAT netscape do the following
> 
> kill -s SIGKILL  <pid>

Or, if it's got a window open, just close it :)

> 
>  --
> (No applause please, just throw money)

Sorry, don't have any ;)

-- 
Andrew Harwood                                  B.Comp.Sci(Hons) student
aaharwoo@cs.adelaide.edu.au                       University of Adelaide

Apple and Microsoft working together in harmony? I'd like to see that.




-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page