i have a process that i can't kill any reason why i can't kill netscape 1547,
every time i run netscape it poinst to a proces id already running?
landy 609 0.0 7.9 11548 4980 ? S Jul02 0:51 panel
landy 618 0.0 1.5 7368 960 ? S Jul02 0:04 asclock_applet -$landy 1547 83.6 0.0 32476 8 ? R Jul02 1915:00 [netscape]
landy 1558 0.0 0.0 0 0 ? Z Jul02 0:00 [netscape
On Tue, 4 Jul 2000, Rolando Roman wrote:
i have a process that i can't kill any reason why i can't kill netscape 1547, every time i run netscape it poinst to a proces id already running? landy 609 0.0 7.9 11548 4980 ? S Jul02 0:51 panel landy 618 0.0 1.5 7368 960 ? S Jul02 0:04 asclock_applet -$landy 1547 83.6 0.0 32476 8 ? R Jul02 1915:00 [netscape] landy 1558 0.0 0.0 0 0 ? Z Jul02 0:00 [netscape
It appears to just be a zombie. Are you sure that the reason you can't start netscape is because of the process id or a lock file? You can still start netscape if you hit ok on the warning message. To get rid of that message delete /home/rolando/.netscape/lock. Greg -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
i can start it but it warns me of lock file and process id 1547, what is a zombie On Tue, 04 Jul 2000, Greg Thomas wrote: > On Tue, 4 Jul 2000, Rolando Roman wrote: >
i have a process that i can't kill any reason why i can't kill netscape 1547, every time i run netscape it poinst to a proces id already running? landy 609 0.0 7.9 11548 4980 ? S Jul02 0:51 panel landy 618 0.0 1.5 7368 960 ? S Jul02 0:04 asclock_applet -$landy 1547 83.6 0.0 32476 8 ? R Jul02 1915:00 [netscape] landy 1558 0.0 0.0 0 0 ? Z Jul02 0:00 [netscape
It appears to just be a zombie. Are you sure that the reason you can't start netscape is because of the process id or a lock file?
You can still start netscape if you hit ok on the warning message. To get rid of that message delete /home/rolando/.netscape/lock.
Greg
-- Rolando Roman icq 3783184 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Tue, 4 Jul 2000, Rolando Roman wrote:
i can start it but it warns me of lock file and process id 1547, what is a zombie
Somebody else may be able to explain exactly what a zombie is but you don't need to worry about it. You just need to delete the lock file as stated in the Netscape error message. It should list the correct path to it. Greg
On Tue, 04 Jul 2000, Greg Thomas wrote: > On Tue, 4 Jul 2000, Rolando Roman wrote: >
i have a process that i can't kill any reason why i can't kill netscape 1547, every time i run netscape it poinst to a proces id already running? landy 609 0.0 7.9 11548 4980 ? S Jul02 0:51 panel landy 618 0.0 1.5 7368 960 ? S Jul02 0:04 asclock_applet -$landy 1547 83.6 0.0 32476 8 ? R Jul02 1915:00 [netscape] landy 1558 0.0 0.0 0 0 ? Z Jul02 0:00 [netscape
It appears to just be a zombie. Are you sure that the reason you can't start netscape is because of the process id or a lock file?
You can still start netscape if you hit ok on the warning message. To get rid of that message delete /home/rolando/.netscape/lock.
Greg -- Rolando Roman icq 3783184
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Tue, 4 Jul 2000, Greg Thomas wrote: gt> gt> gt> On Tue, 4 Jul 2000, Rolando Roman wrote: gt> gt> > i can start it but it warns me of lock file and process id 1547, what is gt> > a zombie gt> gt> Somebody else may be able to explain exactly what a zombie is but you gt> don't need to worry about it. You just need to delete the lock file as gt> stated in the Netscape error message. It should list the correct path to gt> it. gt> I came up with the following which I run through crontab, which will take care of the lock file for you automatically. #!/bin/sh # if ! ps cx | grep netscape >/dev/null ; then if test -L $HOME/.netscape/lock ; then echo "Deleting expired lock file..." rm -f $HOME/.netscape/lock fi fi just create a file, I used the name 'dellock' and then call it via crontab, or, you can create a wrapper program with it that runs the above then attempts to run netscape immediately after. #!/bin/sh # if ! ps cx | grep netscape >/dev/null ; then if test -L $HOME/.netscape/lock ; then echo "Deleting expired lock file..." rm -f $HOME/.netscape/lock else Netscape -no-about-splash -discussions fi fi or something to that effect. gt> Greg gt> gt> > gt> > On Tue, 04 Jul 2000, Greg Thomas wrote: > On Tue, 4 Jul 2000, Rolando gt> > Roman wrote: > gt> > > gt> > > > i have a process that i can't kill any reason why i can't kill netscape 1547, gt> > > > every time i run netscape it poinst to a proces id already running? gt> > > > gt> > > gt> > > It appears to just be a zombie. Are you sure that the reason you can't gt> > > start netscape is because of the process id or a lock file? gt> > > gt> > > You can still start netscape if you hit ok on the warning message. To get gt> > > rid of that message delete /home/rolando/.netscape/lock. gt> > > gt> > > Greg gt> > -- gt> > Rolando Roman gt> > icq 3783184 gt> > gt> gt> gt> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.4+ - Kernel 2.2.16 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Hi, S.: "S.Toms" wrote:
On Tue, 4 Jul 2000, Greg Thomas wrote:
[snip]
I came up with the following which I run through crontab, which will take care of the lock file for you automatically.
#!/bin/sh # if ! ps cx | grep netscape >/dev/null ; then if test -L $HOME/.netscape/lock ; then echo "Deleting expired lock file..." rm -f $HOME/.netscape/lock fi fi
Come on S. how do you think the _cron_, wich runs as daemon will resolve $HOME?? Try again and give it a second thought.
just create a file, I used the name 'dellock' and then call it via crontab, or, you can create a wrapper program with it that runs the above then attempts to run netscape immediately after.
#!/bin/sh # if ! ps cx | grep netscape >/dev/null ; then if test -L $HOME/.netscape/lock ; then echo "Deleting expired lock file..." rm -f $HOME/.netscape/lock else Netscape -no-about-splash -discussions fi fi
or something to that effect.
This one might be better.
-- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.4+ - Kernel 2.2.16
Saludos, Mezcalito -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Wed, 5 Jul 2000, Eduardo Carriles 'Mezcalito' wrote: ec> Hi, S.: ec> ec> "S.Toms" wrote: ec> ec> > On Tue, 4 Jul 2000, Greg Thomas wrote: ec> > ec> > [snip] ec> > ec> > I came up with the following which I run through crontab, which will ec> > take care of the lock file for you automatically. ec> > ec> > #!/bin/sh ec> > # ec> > if ! ps cx | grep netscape >/dev/null ; then ec> > if test -L $HOME/.netscape/lock ; then ec> > echo "Deleting expired lock file..." ec> > rm -f $HOME/.netscape/lock ec> > fi ec> > fi ec> ec> Come on S. how do you think the _cron_, wich runs as daemon will resolve $HOME?? ec> ec> Try again and give it a second thought. ec> Works for me :) been using it for quite some time now with no problems. ec> > ec> > ec> > just create a file, I used the name 'dellock' and then call it via ec> > crontab, or, you can create a wrapper program with it that runs the above ec> > then attempts to run netscape immediately after. ec> > ec> > #!/bin/sh ec> > # ec> > if ! ps cx | grep netscape >/dev/null ; then ec> > if test -L $HOME/.netscape/lock ; then ec> > echo "Deleting expired lock file..." ec> > rm -f $HOME/.netscape/lock ec> > else ec> > Netscape -no-about-splash -discussions ec> > fi ec> > fi ec> > ec> > or something to that effect. ec> ec> This one might be better. ec> actually, this one should also have the netscape line before the 'else' so it will fire depening on either outcome. ec> > ec> > ec> > ec> > -- ec> > S.Toms - tomas@primenet.com - www.primenet.com/~tomas ec> > SuSE Linux v6.4+ - Kernel 2.2.16 ec> ec> Saludos, ec> Mezcalito ec> ec> ec> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.4+ - Kernel 2.2.16 "I thought you were trying to get into shape." "I am. The shape I've selected is a triangle." -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Wed, 5 Jul 2000, S.Toms wrote: st> On Wed, 5 Jul 2000, Eduardo Carriles 'Mezcalito' wrote: st> st> ec> Hi, S.: st> ec> st> ec> "S.Toms" wrote: st> ec> st> ec> > On Tue, 4 Jul 2000, Greg Thomas wrote: st> ec> > st> ec> > [snip] st> ec> > st> ec> > I came up with the following which I run through crontab, which will st> ec> > take care of the lock file for you automatically. st> ec> > st> ec> > #!/bin/sh st> ec> > # st> ec> > if ! ps cx | grep netscape >/dev/null ; then st> ec> > if test -L $HOME/.netscape/lock ; then st> ec> > echo "Deleting expired lock file..." st> ec> > rm -f $HOME/.netscape/lock st> ec> > fi st> ec> > fi st> ec> st> ec> Come on S. how do you think the _cron_, wich runs as daemon will resolve $HOME?? st> ec> st> ec> Try again and give it a second thought. st> ec> st> Also, I have it entered in my user crontab, which will resolve HOME, LOGNAME and SHELL, it will also resolve MAILTO, see 'man 5 crontab' for available variables in the cron files. Heres the crontab entry I use if your interested, 0-59/1 * * * * /home/skull/bin/dellock >/dev/null 2>&1 I'm also thinking of rewriting the above routine as a wrapper for any browser I use, once I figure out what types of lock/run files are created by the various others. That way I can use it for lynx, athena, netscape, etc.. with the same results. At which point I'll do away with the crontab option all together. st> Works for me :) been using it for quite some time now with no problems. st> st> ec> > st> ec> > st> ec> > just create a file, I used the name 'dellock' and then call it via st> ec> > crontab, or, you can create a wrapper program with it that runs the above st> ec> > then attempts to run netscape immediately after. st> ec> > st> ec> > #!/bin/sh st> ec> > # st> ec> > if ! ps cx | grep netscape >/dev/null ; then st> ec> > if test -L $HOME/.netscape/lock ; then st> ec> > echo "Deleting expired lock file..." st> ec> > rm -f $HOME/.netscape/lock st> ec> > else st> ec> > Netscape -no-about-splash -discussions st> ec> > fi st> ec> > fi st> ec> > st> ec> > or something to that effect. st> ec> st> ec> This one might be better. st> ec> st> st> actually, this one should also have the netscape line before the 'else' st> so it will fire depening on either outcome. st> st> ec> > st> ec> > st> ec> > st> ec> > -- st> ec> > S.Toms - tomas@primenet.com - www.primenet.com/~tomas st> ec> > SuSE Linux v6.4+ - Kernel 2.2.16 st> ec> st> ec> Saludos, st> ec> Mezcalito st> ec> st> ec> st> ec> st> st> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.4+ - Kernel 2.2.16 Remember, UNIX spelled backwards is XINU. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Wed, 5 Jul 2000, S.Toms wrote:
On Wed, 5 Jul 2000, S.Toms wrote:
st> On Wed, 5 Jul 2000, Eduardo Carriles 'Mezcalito' wrote: st> st> ec> Hi, S.: st> ec> st> ec> "S.Toms" wrote: st> ec> st> ec> > On Tue, 4 Jul 2000, Greg Thomas wrote: st> ec> > st> ec> > [snip] st> ec> > st> ec> > I came up with the following which I run through crontab, which will st> ec> > take care of the lock file for you automatically. st> ec> > st> ec> > #!/bin/sh st> ec> > # st> ec> > if ! ps cx | grep netscape >/dev/null ; then st> ec> > if test -L $HOME/.netscape/lock ; then st> ec> > echo "Deleting expired lock file..." st> ec> > rm -f $HOME/.netscape/lock st> ec> > fi st> ec> > fi st> ec> st> ec> Come on S. how do you think the _cron_, wich runs as daemon will resolve $HOME?? st> ec> st> ec> Try again and give it a second thought. st> ec> st>
Also, I have it entered in my user crontab, which will resolve HOME, LOGNAME and SHELL, it will also resolve MAILTO, see 'man 5 crontab' for available variables in the cron files.
Heres the crontab entry I use if your interested,
0-59/1 * * * * /home/skull/bin/dellock >/dev/null 2>&1
I'm also thinking of rewriting the above routine as a wrapper for any browser I use, once I figure out what types of lock/run files are created by the various others. That way I can use it for lynx, athena, netscape, etc.. with the same results. At which point I'll do away with the crontab option all together.
Yeah, but do you really need it for the other browsers? Why not for every app on your system that uses a lock file? Greg -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
How are you killing netscape? "kill -9 1547" or "killall -9 netscape"
works for me. Just "kill 1547" won't work. Signal 9 is one that a
process cannot try and catch. It won't kill all zombies but it has
always worked on Netscape.
Jeffrey
Quoting Rolando Roman
i have a process that i can't kill any reason why i can't kill netscape 1547, every time i run netscape it poinst to a proces id already running? landy 609 0.0 7.9 11548 4980 ? S Jul02 0:51 panel landy 618 0.0 1.5 7368 960 ? S Jul02 0:04 asclock_applet -$landy 1547 83.6 0.0 32476 8 ? R Jul02 1915:00 [netscape] landy 1558 0.0 0.0 0 0 ? Z Jul02 0:00 [netscape
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (5)
-
eduardo.carriles@teleline.es
-
ethant@pacificnet.net
-
landie@concentric.net
-
muskrat@texas.net
-
tomas@primenet.com