nv-l

RE: Actionsvr daemon not getting started

2001-11-20 12:36:00
Subject: RE: Actionsvr daemon not getting started
From: "James Shanks" <jshanks AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Tue, 20 Nov 2001 12:36:00 -0500
This is a multipart message in MIME format.
Scott -

There has got to be more than just vi here.  I just did this three times 
and had no problem starting or stopping the daemon.
Have you checked how many actionsvr processes are active and whether they 
all have the same parent BEFORE you do your vi edit?
The children would all share the same file descriptors as the parent, but 
once they are gone, they are gone.
And I don't see why you would have to delete and reallocate the file, if 
you just kill any remaining daemons with "kill -9 <hung_actionsvr_pid>".

You could, of course, always avoid the problem by stopping the daemon 
before you edit the file. 


I have never seen anything like what you describe.


If you want to pursue this with Support, feel free.


James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
 





"Scott Bursik" <tivoliesm AT HOTMAIL DOT COM>
Sent by: owner-nv-l AT tkg DOT com
11/20/2001 12:05 PM
Please respond to IBM NetView Discussion

 
        To:     nv-l AT tkg DOT com
        cc: 
        Subject:        RE: [NV-L] Actionsvr daemon not getting started

 

I have had the smae issue, and I continue to have the same issue from time 

to time. If I use VI to edit ESE.automation the daemon will hang when I 
try 
to restart it. If this happens I open the file in VSedit and copy the 
entries. I then delete the ESE.automation file and recreate it with VSedit 

and restart the daemon and everything loads perfectly. I don't know why? 
There are no hidden characters, permissions on the file have not changed, 
nothing... I use this little script so I can see the daemon restart and 
see 
the logging to the nvaction.alog as it loads the rules. PS - I have 
checked 
my rules I am loading 50 times at least and even reduced it down to 1 rule 

just to make sure and I still don't have an answer.

Script:
+++++++++++++++++++++++++++++++++++++++++++++

#!/usr/bin/ksh

echo RESETTING THE NVACTION DAEMON.........
cd /usr/OV/bin
ovstop actionsvr
ovstart actionsvr
tail -f /usr/OV/log/nvaction.alog

++++++++++++++++++++++++++++++++++++++++++++++

You will have to manually break out of the tail....

Let me know what you come up with! This has been bugging me for months.

Scott


>From: anand anupam <ananda AT bharatpetroleum DOT com>
>Reply-To: IBM NetView Discussion <nv-l AT tkg DOT com>
>To: IBM NetView Discussion <nv-l AT tkg DOT com>
>Subject: RE: [NV-L] Actionsvr daemon not getting started
>Date: Tue, 20 Nov 2001 14:46:56 +0530
>
>Hi James,
>
>I have experienced the same problem. Actionsvr was down and I was not 
able
>to restart it. I checked all its references as suggested by you but I 
could
>not locate any one. Usual ovstart/ovstop was also not helping and 
finally,
>the server was rebooted to resolve this problem
>
>Also, as clarified by you that opening the netview map should not be any
>issue from any userid other than root even if actionsvr is down. In our
>case, it was not happening. I mean no one was able to open the netview 
map
>and every one was getting the same error message that required daemons
>actionsvr is down.
>
>In nvaction.alog there was an error saying that it could not open the 
port
>1670 which is the default port. What could be the reason?
>
>
>Regds....Anupam
>
>
>
>
>From: owner-nv-l AT tkg DOT com
>Date: 11/10/2001 11:35:38 AST
>Subject: Re: [NV-L] Actionsvr daemon not getting started
>
>
>
>
>First, do a "ps -ef  | grep actionsvr" and kill with -9 any you find
>running.
>My guess is that you have an old one that is no longer under control of
>ovspmd and thus is not responding to ovstart/ovstop.
>You will find this recommendation in the NetView diagnosis guide.
>
>
>If that does not do it, then go to /usr/OV/log/nvaction.alog and look at
>what is written there.  There may be error messages there to tell you 
what
>is wrong.
>
>If the console is not coming up then you are trying to start it as root.
>When you are root, the netview script will try to start all the daemons
>which are not up.
>Use a different id and it will just give an error message and continue.
>Since actionsvr is only used to process actions from rulesets, and to 
load
>the background ones from ESE.automation, it does not have to be running 
for
>the console to be active.
>
>James Shanks
>Level 3 Support
>Tivoli NetView for UNIX and NT
>Tivoli Software
>IBM Software Group
>Please note that my new id is jshanks AT us.ibm DOT com
>
>
>
>
>  Santosh R Karekar/India/[email protected]
>Sent by: owner-nv-l AT tkg DOT com
>10/11/2001 10:05 AM
>Please respond to IBM NetView Discussion
>
>
>         To:        nv-l AT tkg DOT com
>         cc:
>         Subject:        [NV-L] Actionsvr daemon not getting started
>
>
>
>
>
>Hello all,
>
>I had NetView 6.0.2 on AIX 4.3.3
>I had made some changes to the ESE.automation and stopped the actionsvr
>daemon, When I tried to start the daemon it does not get started , it 
does
>not happen for so long also hence I used ovdelobj to delete the
>registration of actionsvr.lrf and added back using ovaddobj the
>actionsvr.lrf. Still after doing this I am not able to start the 
actionsvr
>daemon.
>Can anybody advice which configuration I need to look in to to get it
>normal.
>I am not able to get the NetView console up due to this demon not getting
>started, If I remove the registration I am not able to get the
>ESE.automation in action.
>Please advice ASAP
>
>Thax in advance Regards
>
>
>_________________________________________________________________________
>NV-L List information and Archives: http://www.tkg.com/nv-l
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l



Scott -

There has got to be more than just vi here.  I just did this three times and had no problem starting or stopping the daemon.
Have you checked how many actionsvr processes are active and whether they all have the same parent BEFORE you do your vi edit?
The children would all share the same file descriptors as the parent, but once they are gone, they are gone.
And I don't see why you would have to delete and reallocate the file, if you just kill any remaining daemons with "kill -9 <hung_actionsvr_pid>".

You could, of course, always avoid the problem by stopping the daemon before you edit the file.  


I have never seen anything like what you describe.


If you want to pursue this with Support, feel free.


James Shanks
Level 3 Support  for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group




"Scott Bursik" <tivoliesm AT HOTMAIL DOT COM>
Sent by: owner-nv-l AT tkg DOT com

11/20/2001 12:05 PM
Please respond to IBM NetView Discussion

       
        To:        nv-l AT tkg DOT com
        cc:        
        Subject:        RE: [NV-L] Actionsvr daemon not getting started

       


I have had the smae issue, and I continue to have the same issue from time
to time. If I use VI to edit ESE.automation the daemon will hang when I try
to restart it. If this happens I open the file in VSedit and copy the
entries. I then delete the ESE.automation file and recreate it with VSedit
and restart the daemon and everything loads perfectly. I don't know why?
There are no hidden characters, permissions on the file have not changed,
nothing... I use this little script so I can see the daemon restart and see
the logging to the nvaction.alog as it loads the rules. PS - I have checked
my rules I am loading 50 times at least and even reduced it down to 1 rule
just to make sure and I still don't have an answer.

Script:
+++++++++++++++++++++++++++++++++++++++++++++

#!/usr/bin/ksh

echo RESETTING THE NVACTION DAEMON.........
cd /usr/OV/bin
ovstop actionsvr
ovstart actionsvr
tail -f /usr/OV/log/nvaction.alog

++++++++++++++++++++++++++++++++++++++++++++++

You will have to manually break out of the tail....

Let me know what you come up with! This has been bugging me for months.

Scott


>From: anand anupam <ananda AT bharatpetroleum DOT com>
>Reply-To: IBM NetView Discussion <nv-l AT tkg DOT com>
>To: IBM NetView Discussion <nv-l AT tkg DOT com>
>Subject: RE: [NV-L] Actionsvr daemon not getting started
>Date: Tue, 20 Nov 2001 14:46:56 +0530
>
>Hi James,
>
>I have experienced the same problem. Actionsvr was down and I was not able
>to restart it. I checked all its references as suggested by you but I could
>not locate any one. Usual ovstart/ovstop was also not helping and finally,
>the server was rebooted to resolve this problem
>
>Also, as clarified by you that opening the netview map should not be any
>issue from any userid other than root even if actionsvr is down. In our
>case, it was not happening. I mean no one was able to open the netview map
>and every one was getting the same error message that required daemons
>actionsvr is down.
>
>In nvaction.alog there was an error saying that it could not open the port
>1670 which is the default port. What could be the reason?
>
>
>Regds....Anupam
>
>
>
>
>From: owner-nv-l AT tkg DOT com
>Date: 11/10/2001 11:35:38 AST
>Subject: Re: [NV-L] Actionsvr daemon not getting started
>
>
>
>
>First, do a "ps -ef  | grep actionsvr" and kill with -9 any you find
>running.
>My guess is that you have an old one that is no longer under control of
>ovspmd and thus is not responding to ovstart/ovstop.
>You will find this recommendation in the NetView diagnosis guide.
>
>
>If that does not do it, then go to /usr/OV/log/nvaction.alog and look at
>what is written there.  There may be error messages there to tell you what
>is wrong.
>
>If the console is not coming up then you are trying to start it as root.
>When you are root, the netview script will try to start all the daemons
>which are not up.
>Use a different id and it will just give an error message and continue.
>Since actionsvr is only used to process actions from rulesets, and to load
>the background ones from ESE.automation, it does not have to be running for

>the console to be active.
>
>James Shanks
>Level 3 Support
>Tivoli NetView for UNIX and NT
>Tivoli Software
>IBM Software Group
>Please note that my new id is jshanks AT us.ibm DOT com
>
>
>
>
>  Santosh R Karekar/India/[email protected]
>Sent by: owner-nv-l AT tkg DOT com
>10/11/2001 10:05 AM
>Please respond to IBM NetView Discussion
>
>
>         To:        nv-l AT tkg DOT com
>         cc:
>         Subject:        [NV-L] Actionsvr daemon not getting started
>
>
>
>
>
>Hello all,
>
>I had NetView 6.0.2 on AIX 4.3.3
>I had made some changes to the ESE.automation and stopped the actionsvr
>daemon, When I tried to start the daemon it does not get started , it does
>not happen for so long also hence I used ovdelobj to delete the
>registration of actionsvr.lrf and added back using ovaddobj the
>actionsvr.lrf. Still after doing this I am not able to start the actionsvr
>daemon.
>Can anybody advice which configuration I need to look in to to get it
>normal.
>I am not able to get the NetView console up due to this demon not getting
>started, If I remove the registration I am not able to get the
>ESE.automation in action.
>Please advice ASAP
>
>Thax in advance Regards
>
>
>_________________________________________________________________________
>NV-L List information and Archives: http://www.tkg.com/nv-l
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l