Skip to content

otelcol-contrib_0.122.1_windows_x64.msi - stuck during installation #888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
seha512 opened this issue Mar 21, 2025 · 4 comments
Open

otelcol-contrib_0.122.1_windows_x64.msi - stuck during installation #888

seha512 opened this issue Mar 21, 2025 · 4 comments
Labels
bug Something isn't working os:windows

Comments

@seha512
Copy link

seha512 commented Mar 21, 2025

The msi installer gets stuck during the installation, parts are already created during the installation, at about 4/5 the installation process gets stuck, I run it with admin rights.

Image

Image
(I have the privileges ;) )

After a while, the installation process reports that it could not start the service, when I try manually, I get the following error message:

Image
(The service "OpenTelemetry Collector" on "Local Computer" could not be started.
Error 1064: An exception error occurred in the service while processing the control request.)

@dosubot dosubot bot added bug Something isn't working os:windows labels Mar 21, 2025
Copy link

dosubot bot commented Mar 21, 2025

Hey @seha512, I'm here to help you with the installation issue you're experiencing with OpenTelemetry Collector. I'll do my best to assist you while we wait for a human maintainer.

The issue you're encountering with the OpenTelemetry Collector installation and the subsequent service start error (Error 1064) could be due to several factors. Here are some steps you can take to troubleshoot and resolve the problem:

  1. Verify Administrative Privileges: Ensure that you are running the installer with administrative privileges. Right-click the MSI file and select "Run as administrator" to confirm.

  2. Check System Requirements: Make sure your system meets the necessary requirements for installing and running the OpenTelemetry Collector. This includes having the appropriate permissions to install services and write to the Windows Registry [1].

  3. Review Installation Logs: Check the Windows Event Viewer for any logs related to the installation process. This might provide more detailed information about what is causing the installation to hang or fail.

  4. Service Configuration: The service is configured to run under the LocalSystem account. Ensure that there are no restrictions or policies in place that might prevent services from starting under this account [1].

  5. Debugging the Service: Use the Collector's internal telemetry and the debug exporter to verify that the Collector is configured correctly and is able to process data. This can help identify if there are configuration issues causing the service to fail [2].

  6. Reinstall the Collector: If the above steps do not resolve the issue, try uninstalling the Collector completely and then reinstalling it. Ensure that no remnants of the previous installation are left behind.

  7. Check for Conflicting Software: Ensure that there are no other software or services that might be conflicting with the OpenTelemetry Collector service.

If the problem persists, consider checking for any known issues with the specific version you are using or consult the OpenTelemetry documentation for additional troubleshooting steps.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@seha512
Copy link
Author

seha512 commented Mar 21, 2025

  1. checked
  2. checked
  3. checked - see msi log in the attachment (i start the cmd with admin privileges)
  4. we don't even get that far
  5. we don't even get that far
  6. i have tried several times
  7. no conflicts

msiout.log

@pjanotti
Copy link
Contributor

Hi @seha512 - thanks for the logs:

MSI (s) (74:E8) [11:27:01:144]: Executing op: ServiceInstall(Name=otelcol-contrib,DisplayName=OpenTelemetry Collector,ImagePath="c:\Program Files\OpenTelemetry Collector\otelcol-contrib.exe" --config "c:\Program Files\OpenTelemetry Collector\config.yaml",ServiceType=16,StartType=2,ErrorControl=32769,,Dependencies=[~],,StartName=LocalSystem,Password=**********,Description=Collects, processes, and exports telemetry from various configurable sources.,,)
MSI (s) (74:E8) [11:27:01:146]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (74:E8) [11:27:01:146]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (74:E8) [11:27:01:147]: Executing op: ServiceControl(,Name=otelcol-contrib,Action=1,Wait=1,)
Installer is no longer responding.
MSI (c) (E8:D0) [11:29:57:937]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

So the installation tries to install the service but it fails. Can you look at your event log for errors after you try to manually start the collector service? There should be some clue there for what is preventing it from starting.

For reference here is a CI test passing with version 0.122.1 https://github.com/open-telemetry/opentelemetry-collector-releases/actions/runs/13981072664/job/39146634407

@github-actions github-actions bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label May 23, 2025
@ForkingFrenzy
Copy link

I had the same problem. Upgrading to later versions fixes the issue.

@github-actions github-actions bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working os:windows
Projects
None yet
Development

No branches or pull requests

3 participants