Scvmm agent not working with almalinux

Alaa Murished 1 Reputation point
2022-06-13T10:33:55.22+00:00

hi,
i am having problems installing vmm64 agent for almalinux after i run the install file i get this error
bash: ./install: /bin/bash^M: bad interpreter: No such file or directory

then i found that i have to switch the file from dos to unix
after doing that it says Failed to install SCVMM Guest Agent

is there a fix for this issue.

the scvmm i am using is 2022.

System Center Virtual Machine Manager
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 17,931 Reputation points
    2022-06-16T02:20:13.477+00:00

    Hi,

    Did you try to install SCVMM agent with the following steps:

    Open an elevated command prompt on the VMM server.
    Go to the c:\Program Files\Microsoft System Center\Virtual Machine Manager\agents\Linux folder.
    Copy all the agent installation files from that folder to a new folder on the VM.

    Open the new folder on the VM, and run the following command: chmod +x install.

    Run either of these commands, depending on the operating system.

    PowerShell

    Copy
    ./install scvmmguestagent.1.0.0.544.x64.tar
    ./install scvmmguestagent.1.0.0.544.x86.tar

    When the agent installs on the VM the following files and folders will be created on the VHD:

    A default installation folder (/opt/microsoft/scvmmguestagent), and an installation log file (scvmm-install.log)
    A default log files folder - /var/opt/microsoft/scvmmagent/log
    A specialization log file (scvmm.log). This file is created when the virtual machine is deployed and specialized.
    A configuration file (scvmm.conf). This file contains the location of the log file and is used to control logging during deployment and specialization.

    https://video2.skills-academy.com/en-us/system-center/vmm/vm-linux?view=sc-vmm-2022

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.