SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
NT Service error, Stop Reason: 3. CreateProcess failed..
Goto page 1, 2  Next
 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
NT Service error, Stop Reason: 3. CreateProcess failed..
Author Message
nb007



Joined: 02 Sep 2008
Posts: 23

Post NT Service error, Stop Reason: 3. CreateProcess failed.. Reply with quote
Hi!
I am running it as local system.
I have tried installing on another server where it have worked perfectly.
However on this server it crashes. The server I am trying to install on have later service packs installed.
Does stop reason 3 only mean "create process failed" or has it any other, more profound, meaning?
Tue May 05, 2009 9:31 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Would you please elaborate a bit more on what you are doing?

The previous message is too cryptic to understand. What is "running it" in this context? What exactly are you running? Are you running or installing a service? Where are you getting this "create process failed" error? Which application is reporting this error? Are there related errors reported in the Windows security log?
Tue May 05, 2009 9:37 am View user's profile Send private message
nb007



Joined: 02 Sep 2008
Posts: 23

Post Reply with quote
Oh, I am sorry. I am talking about running the 24X7 scheduler (multiplatform, java) as an NT service(using 24x7srv.exe).
On one of our servers, it works, on the other, I doesn't.
The applications throws this error immediately when I try starting the service.
However, the service starts anyway and the its process remains in memory. I just doesn't do anything.
If have tried finding out what happens using filemon and other applications but to no avail.
So I wonder what the error means.
Wed May 06, 2009 3:11 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Thank you for clarification. Now it is more or less clear what is going on. You are starting 24x7 service for 24x7 MP Edition and you are getting this error in the Windows event log or on the command line if you are starting it using "net start" command.

Please verify that you have Java 1.5 installed on the system and JAVA_HOME environment points to the correct Java location. If yes, check whether during 24x7 service startup debug.log file is being generated or updated in the 24x7 home directory. If yes, please let us know what you get in this log file. If the file is not there, compare registry settings on the server where it is working with the server where it is not. Look in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\24x7jscheduler.
Wed May 06, 2009 8:12 am View user's profile Send private message
nb007



Joined: 02 Sep 2008
Posts: 23

Post Reply with quote
I have now tried making the 24x7jscheduler\AppParameter look like it do on the working server and have come up with this:
"C:\Program Files\Java\jdk1.5.0_16\bin\java
.exe" -Xms64m -Xmx96m -Xrs -jar "C:\Program Files\24x7_Scheduler\jscheduler.jar"
nogui

I still get an error trying to start the service.

When I try to run that manually, I get:

License expired. Startup failed.
Exception in thread "Thread-6" java.lang.IllegalStateException: job db is not opened!
at com.softtreetech.jscheduler.db.AbstractJobDb.new(Unknown Source)
at com.softtreetech.jscheduler.db.AbstractJobDb.save(Unknown Source)
at com.softtreetech.jscheduler.JSchedulerStarter$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)


The license has not expired, i can run the scheduler with a GUI without any problems.
When running with GUI the debug.log is written to, as a service, it isn't.
BTW, it is running with the local system account(which worked on the other box).
Maybe it doesn't find it's folder or something?
Wed May 06, 2009 9:18 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
That's weird. How was the program installed and license key entered (using install program GUI, command line version or Register popup? I'm not asking to re-install, please don't do that. I'm just trying to figure out what could happen at that time or where the license file has gone.

By the way, is this is site install license or a single install license that you are trying to run on multiple servers?
Wed May 06, 2009 9:30 am View user's profile Send private message
nb007



Joined: 02 Sep 2008
Posts: 23

Post Reply with quote
It is a single install, but on the other machine(where it worked) i deliberately removed the license(which I first copied there) file to run it licensed, since I didn't couldn't risk that anything happening to the other server, which was up and running live stuff.

It worked without the license on the other machine, but on this machine it didn't work even though the license file was there.
Wed May 06, 2009 9:37 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
Which version are you running?
Wed May 06, 2009 9:47 am View user's profile Send private message
nb007



Joined: 02 Sep 2008
Posts: 23

Post Reply with quote
Version 4.2 Build 278
JVM Version 1.5.0_16-b02
Wed May 06, 2009 10:35 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
The license file is likely machine specific.

Please try renaming this file. Check whether it helps to start the service in trial mode. If start is successful, you will have 30-days to sort out the license thing.

Generally speaking, you must have a separate license for every server on which you run this software. It is licensed by the server.
Wed May 06, 2009 1:00 pm View user's profile Send private message
nb007



Joined: 02 Sep 2008
Posts: 23

Post Reply with quote
Ok, i'll try that.
Thu May 07, 2009 2:06 am View user's profile Send private message
nb007



Joined: 02 Sep 2008
Posts: 23

Post Reply with quote
I have now renamed the license file and tried again. Still the same error, both when running the service and executing the command manually.
The other error, that i the job db is not opened, does that follow on the first error or is it separate?
Thu May 07, 2009 2:11 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
The 'job db file not opened' is a chain reaction to the license error.


Do you get the license error when running "C:\Program Files\Java\jdk1.5.0_16\bin\java.exe" -Xms64m -Xmx96m -Xrs -jar "C:\Program Files\24x7_Scheduler\jscheduler.jar" command from the command prompt?
Thu May 07, 2009 8:39 am View user's profile Send private message
nb007



Joined: 02 Sep 2008
Posts: 23

Post Reply with quote
Yes, with that line I get the GUI sign that claims it is the 30-day trial product(buttons "register", "help", "continue"(grayed), "exit").
It doesn't seem to find the license file, event though it does reside in "C:\Program Files\24x7_Scheduler" and should be visible.
Thu May 07, 2009 8:50 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7952

Post Reply with quote
I guess you would need to get a license for this server or transfer an existing one (please notify salesATsofttreetech.com) and then use the Register button to enter new license key. After accepting the new license key, the server should be able to start, in both GUI and service modes.
Thu May 07, 2009 1:02 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.