While Deployment through octopus Getting Error RPC Service not available

Hi Team,
we are using old version 1.5 of cotopus.

when InstallUtil.exe is trying to install the service on server. InstallUtil tries to communicate (the RPC call) with the service control manager (a component that is part of Windows) to install the service. That is where the error is occurring.
we have servers as windows server 2008 R2 virtual server

System.ComponentModel.Win32Exception: The RPC server is unavailable
at System.ServiceProcess.ServiceInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at InfinX.Common.Configuration.Install.ServiceProjectInstaller.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedState)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.TransactedInstaller.Install(IDictionary savedState)

Please let us know what should we do. its not coming everytime sometimes it comes and sometimes it went fine. your earler help is highly appriciated.

Hi,

Thanks for reaching out! This was fixed on Octopus 1.6. Would it be possible for you to upgrade to this version?

Thanks

Dalmiro

Since this error comes from withing InstallUtil.exe, how is it an Octopus error?

Hi,

In 1.6 we change the way we invoke Powershell scripts, making it more robust than 1.5. This instability when calling PS scripts on 1.5 is most likely what its causing this erratic behavior.

Dalmiro

Is the hotfix mentioned in http://help.octopusdeploy.com/discussions/problems/7327-upgrade-to-1601712-from-1511652-fails necessary for upgrading from 1.5.1.1652 to 1.6.3.1723?

Also, will upgrading the Tentacles from 1.5.1.1652 to 1.6.3.1723 require a reboot?

Hi Jack,

The update will be necessary only if your servers don’t have .Net 4.0. The Octopus upgrade itself doesn’t require a reboot. The hotfix on the other hand:

(quote from MS)

This update does not require a system restart after you apply the update unless the files that are being updated are locked or are being used. However, this update restarts all Internet Information Services (IIS)-related services when you install this update.

It’ll be up to each server’s scenario.

Sorry its not better news

Dalmiro