community
cancel
Showing results for 
Search instead for 
Did you mean: 

alteryx server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Alteryx Server Set up failure - 'Gallery Service failed to start in a timely fashion'

Asteroid

Hi Alteryx Community,

 

I'm struggling to finish the install of Alteryx Server at my organisation.

 

We have followed all of the setup steps within the Alteryx System settings but on launching the Windows Server virtual machine, we receive an error stating that the 'Gallery Service failed to start in a timely fashion'.

 

We've extended the timeout settings for services on the Server to 5 minutes but still receiving the error.

 

Has anyone got any advice? Pulling my hair out currently.

 

Thanks,

 

Ciaran

Moderator
Moderator

Hi @CiaranA,

 

Couple of things to check.  Can you go to options> manage licenses and ensure that you don't have any old or expired licenses (if you do go ahead and delete them). 

 

Can you go to task manager, then go to the services tab and note the state of AlteryxService? If it is stopped, try to start it by right clicking. For some folks, extra permissions are needed to start from the services tab.  If you find this to be the case, go to your start menu and search 'cmd'.  Locate command line (cmd) and right click it to 'run as administrator' then simply type the following command:  sc start alteryxservice and hit enter.

After trying to start the service, please check back to the services tab of task manager to note the status. If it shows as starting wait for it to either show running or stopped (it may take a few minutes).  If it fails to start, there may be a file called LastStartupError.txt located in the persistence directory for Alteryx. By default this is C:\ProgramData\Alteryx\Service.  The contents of that text file should give us an idea what is happening.

Jess Silveri
Premium Support Advisor | Alteryx
Asteroid

Hi @CiaranA

 

 

First of all, double check the setting of the Regedit first. 

 

  1. Go to Start Run > and type regedit
  2. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
  3. With the control folder selected, right click in the pane on the right and select new DWORD Value
  4. Name the new DWORD: ServicesPipeTimeout
  5. Right-click ServicesPipeTimeout, and then click Modify
  6. Click Decimal, type '180000', and then click OK
  7. Restart the computer

If it doesn't work, try the following steps. 

 

Stop all of the alteryx services first. 

Start the services in the following sequence

1. MongoDB service ( if you are using standalone MongoDB)

2. Then, start the controller node.

3. Finally, start the gallery node and worker nodes.

 

Also, you can try to ping the controller/mongodb from the gallery server to make sure there is no firewall blocked.

 

 Hope can help.

 

Best Regards,

Samuel To