There's an environment variable that you can set to a numerical value - 
V_WAIT_BEFORE_STARTUP - that will be read by armonitor and it will wait that 
many seconds before it starts the server.  For example, 
V_WAIT_BEFORE_STARTUP=300 would be a 5 minute delay.  One thing to note though 
is that this delay will happen on every restart of the Remedy service, which 
can be a nuisance if you want to just bounce the service once it has been 
running for a while.

The variable needs to be set at the system level so that the service can read 
it and I think a reboot is required when it is set/changed.

Mark

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Longwing, LJ CTR MDA/IC
Sent: 13 June 2012 13:58
To: [email protected]
Subject: Re: Remedy Startup

Andrew,
You are correct....SQL Server is reporting itself as online, when it's not 
fully available, and this is screwing up Remedy because it's trying to connect 
to a DB that's not yet available.  I'm looking for a way to delay that startup

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Andrew Fremont
Sent: Tuesday, June 12, 2012 3:13 PM
To: [email protected]
Subject: Re: Remedy Startup

** It could be that the SQL service is not up yet by the time AR start.

It happened on one of our dev machines after rebooting where both AR and SQL 
are installed.

Andrew.

On Tue, Jun 12, 2012 at 2:03 PM, Longwing, LJ CTR MDA/IC 
<[email protected]> wrote:


        Ok...my box is running Remedy and SQL Server both and on startup the 
Remedy service fails to start properly.  The arerror.log shows an error about 
ARAdmin login failing twice, then the process dies.  An immediate attempt to 
start the service functions fine.  Checking the SQL Logs I see something along 
the lines of
        
        12:00:00 Starting ARSystem
        12:00:01 Attempted login from ARAdmin failed
        12:00:02 Scanning ARSystem
        12:00:06 Recovery of ARSystem complete
        
        That's not a copy of the log (because I can't get that to the 
internet)...but that's close to what it says....this is only happening on one 
of my boxes, and I suspect that it's a memory related issue because when I 
check a functional box, I see everything except the login failed line, but it 
all happens within a second of each other...and my remedy doesn't have any 
problems starting.  I have the Remedy service set to depend on the SQL service, 
but according to the internet (and my personal experience) the SQL Service 
reporting as 'up' does not mean that DB's are available.  MS recommends that if 
you need to 'delay' the startup of a particular service that you should set it 
dependent on 'Spooler'...I've done this but it doesn't help...I need another 
5-10 seconds delay with the attempted starting of Remedy service....any 
recommendations?
        
        
_______________________________________________________________________________
        UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
        attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"
        


_attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 
www.wwrug12.com ARSList: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to