This is a migrated thread and some comments may be shown as answers.

Unable to Start Scheduling Services when Modifying QA Install

8 Answers 274 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Zachary
Top achievements
Rank 1
Zachary asked on 07 Mar 2011, 10:48 PM
Hi Cody,

Thanks again for your help today with the timeout issue. While that issue appears to be resolved, I now seem to be having issues installing the scheduling services. I did have the scheduling services installed and working previously, but recall that I reinstalled a the newer build of WebUI and we did not install the scheduling services at that time.

When I re-run the installer to add the Scheduler services, the install stalls and says that it cannot start the scheduling services, and i have to end up canceling the install and rolling back all the changes. I have rebooted a few times and retried the install with no success. I cannot manually start the service, because the service is not available until it is installed.

Please advise me of any suggestions you have. Thanks,

Zach

8 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 08 Mar 2011, 02:18 PM
Hi Zachary,
   are you 100% certain you're using an account that has the necessary permissions to start new services? Please recheck.

Best wishes,
Stoich
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Zachary
Top achievements
Rank 1
answered on 08 Mar 2011, 04:20 PM
Hi Stoich,

Yes, I am sure. The account I am using is a local admin account. 

I had the scheduling services installed and working, but I installed a newer build of WebU QA yesterday to alleviate a timeout issue I was having (I was working with Cody on this). When the update occurred , it appears to have uninstalled the scheduling services that were previously installed, and then started throwing the error about not being able to start the scheduling services during the install. Last night I tried uninstalling WebUI, rebooting, and reinstalling, however I received the same error during the install.

One thing to note is that I was initially evaluating WebUI Developer, so that was installed first. The scheduling services may have been installed during the WebUI Dev setup instead of the QA setup (don't know if that makes a difference). The update appears to have removed WebUI Dev also, since that trial was up, however this is not a problem since we are opting to use the QA edition.

FYI I am running a VM with Windows Server 2003 R2 SP 2.

Thanks a lot. As soon as we can get these scheduling services working, we will purchase this software.

Thanks,
Zach
0
Stoich
Telerik team
answered on 08 Mar 2011, 05:37 PM
Hello Zachary,
      since you state that the installation cannot successfully install the Scheduling service, I'd like you to create an installation log. Here's a KB article that describes how this is done:
http://www.telerik.com/automated-testing-tools/support/kb/install/how-to-use-msiexec-exe-to-troubleshoot-installation-issues.aspx

Once we receive the log file, we can more easily assist with determining the root cause of the install not completing. 

Hope to hear from you soon!

All the best,
Stoich
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Zachary
Top achievements
Rank 1
answered on 08 Mar 2011, 06:41 PM
Hi Stoich,

I have attached the log file. I have WebUI QA installed without the Scheduling Services, so this log file records the process of running the installer again attempting to add the scheduler services.

Thanks,
Zach
0
Cody
Telerik team
answered on 08 Mar 2011, 07:29 PM
Hi Zachary,

Thank you for the install log. Here's the relevant section showing where the error is occurring.

MSI (s) (90:04) [12:36:49:510]: Executing op: ServiceInstall(Name=Telerik.WebUI.TestStudio.SchedulingService,DisplayName=Telerik WebUI TestStudio Scheduling Service,ImagePath="e:\Program Files\Telerik\WebUI Test Studio 2010.3\Bin\Telerik.WebUITestStudio.Scheduling.WindowsService.exe",ServiceType=16,StartType=2,ErrorControl=32768,,,,StartName=LocalSystem,Password=**********,Description=Scheduling automated test runs)
MSI (s) (90:04) [12:36:49:635]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (90:04) [12:36:49:635]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (90:04) [12:36:49:635]: Executing op: ServiceControl(,Name=Telerik.WebUI.TestStudio.SchedulingService,Action=1,Wait=1,)
MSI (s) (90:04) [12:37:24:279]: Note: 1: 2205 2:  3: Error 
MSI (s) (90:04) [12:37:24:279]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1920 
Error 1920. Service 'Telerik WebUI TestStudio Scheduling Service' (Telerik.WebUI.TestStudio.SchedulingService) failed to start.  Verify that you have sufficient privileges to start system services.
MSI (s) (90:04) [12:37:54:687]: Note: 1: 2205 2:  3: Error 
MSI (s) (90:04) [12:37:54:687]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (90:04) [12:37:54:687]: Product: Telerik WebUI Test Studio 2010.3 -- Error 1920. Service 'Telerik WebUI TestStudio Scheduling Service' (Telerik.WebUI.TestStudio.SchedulingService) failed to start.  Verify that you have sufficient privileges to start system services.

It is telling us that for some reason the installer was unable to start the scheduling service. Is it currently installed? If so it will appear in the Services (Administrative Tools -> Services) as shown in the attached screenshot. Does it look like this? Has it been set to Disabled by chance? Has anything happened to the SQL database that the scheduling service is dependent upon?

Since this is a VM, maybe one of the easiest things to do is to restore your VM to a clean state (prior to having ever installed WebUI) and re-install WebUI.

 

Regards,
Cody
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Zachary
Top achievements
Rank 1
answered on 08 Mar 2011, 07:46 PM
Hi Cody,

No it is not installed. Like i said, when we ran the upgrade to the new version of the build, it uninstalled the scheduler services - the scheduler services were working before the upgrade. Nothing that I know of has happened to the SQL database.

I have an additional test environment on this VM so I would not like to wipe it. I could potentially create a new VM, but I would like to see if there is anything else we can do to figure this out. I'm wondering what might have changed during the upgrade. As i mentioned in a previous post, I initially installed WEbUI Dev edition, and then I installed WebUI QA and got the scheduler working. When we upgraded yesterday, WebUI Dev was uninstalled (trial expired) along with the scheduling services. Now I cannot reinstall the scheduler services. Not sure if this helps.

Thanks for your help.
Zach
0
Accepted
Daniel Djambov
Telerik team
answered on 09 Mar 2011, 03:48 PM
Hi Zachary,

The problem you have might be related to the Service logging. Can you please try something to see if will work in your case:
1. Open control Panel and go to View event logs
2. Find in the Applications and Services Logs section TelerikWebUIServiceSourceLog
3. Righ-click on it and select from context menu Clear Log option (see attachment ServiceLog1)
4. You can also open Service Properties from context menu and check if settings are as shown in ServiceLog2

Try running installer again and include Scheduling Service option.

Please tell me if this solves your problem.

All the best,
Daniel Djambov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Zachary
Top achievements
Rank 1
answered on 09 Mar 2011, 05:10 PM
Daniel,

This fixed the problem - i was able to install the scheduling services. Thanks for your help. (Note that since i am using Server 2003, I had to go through the Event Viewer in Administrative Tools instead of the control panel to get to the logs)

Thanks again,
Zach
Tags
General Discussions
Asked by
Zachary
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Zachary
Top achievements
Rank 1
Cody
Telerik team
Daniel Djambov
Telerik team
Share this question
or