The reason the installation is failing is because the proper packages cannot be installed for the reason listed within a previously supplied attempt.
I have Installed SUSE_Linux_Enterprise_Server_for_SAP_Applications_15_x86_64
When I try to install this agent for backup:
curl -sS https://cpkg.datto.com/getLinuxAgent.txt | sudo bash
And I would like to know if the same thing has happened to anyone here and was able to resolve this situation:
requested output:
Retrieving repository 'oauth2 on old LEAP (SLE_15_SP1)' metadata ........................................................................................................................[error]
Repository 'oauth2 on old LEAP (SLE_15_SP1)' is invalid.
[home_joeyli_security_oauth2_old_leap|https://download.opensuse.org/repositories/home:/joeyli:/security:/oauth2:/old_leap/SLE_15_SP1/] Valid metadata not found at specified URL
History:
- [home_joeyli_security_oauth2_old_leap|https://download.opensuse.org/repositories/home:/joeyli:/security:/oauth2:/old_leap/SLE_15_SP1/] Repository type can't be determined.
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'oauth2 on old LEAP (SLE_15_SP1)' because of the above error.
Some of the repositories have not been refreshed because of an error.
@Geraldo_Rosario Hi, the $HOME project your using is long gone, disable/delete…
Thanks for your help, I did the test by deactivating the repository as you indicated and the package was installed, but when I checked the services if they were started it shows me this:
Output:
SER-02:~ # sudo zypper install dlad
Refreshing service ‘Basesystem_Module_15_x86_64’.
Refreshing service ‘Desktop_Applications_Module_15_x86_64’.
Refreshing service ‘Development_Tools_Module_15_x86_64’.
Refreshing service ‘SAP_Applications_Module_15_x86_64’.
Refreshing service ‘SUSE_Linux_Enterprise_High_Availability_Extension_15_x86_64’.
Refreshing service ‘SUSE_Linux_Enterprise_Server_for_SAP_Applications_15_x86_64’.
Refreshing service ‘SUSE_Package_Hub_15_x86_64’.
Refreshing service ‘Server_Applications_Module_15_x86_64’.
Loading repository data…
Reading installed packages…
‘dlad’ is already installed.
No update candidate for ‘dlad-2.7.1.1-1.1.sle15.x86_64’. The highest available version is already installed.
Resolving package dependencies…
Nothing to do.
SER-02:~ # systemctl status dlad
● dlad.service - Datto Backup Agent
Loaded: loaded (/usr/lib/systemd/system/dlad.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2024-08-31 11:56:36 AST; 4 days ago
Tasks: 0
CGroup: /system.slice/dlad.service
Aug 31 11:56:36 SER-02 systemd[1]: Starting Datto Backup Agent…
Aug 31 11:56:36 SER-02 sh[2401]: modprobe: FATAL: Module dattobd not found in directory /lib/modules/4.12.14-150000.150.109-default
Aug 31 11:56:36 SER-02 dlad[2405]: /usr/sbin/dlad: symbol lookup error: /usr/sbin/dlad: undefined symbol: _ZN7mercury12TLSTransportC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE>
Aug 31 11:56:36 SER-02 systemd[1]: dlad.service: Control process exited, code=exited status=127
Aug 31 11:56:36 SER-02 systemd[1]: Failed to start Datto Backup Agent.
Aug 31 11:56:36 SER-02 systemd[1]: dlad.service: Unit entered failed state.
Aug 31 11:56:36 SER-02 systemd[1]: dlad.service: Failed with result ‘exit-code’.
lines 1-13/13 (END)…skipping…
● dlad.service - Datto Backup Agent
Loaded: loaded (/usr/lib/systemd/system/dlad.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2024-08-31 11:56:36 AST; 4 days ago
Tasks: 0
CGroup: /system.slice/dlad.service
Aug 31 11:56:36 SER-02 systemd[1]: Starting Datto Backup Agent…
Aug 31 11:56:36 SER-02 sh[2401]: modprobe: FATAL: Module dattobd not found in directory /lib/modules/4.12.14-150000.150.109-default
Aug 31 11:56:36 SER-02 dlad[2405]: /usr/sbin/dlad: symbol lookup error: /usr/sbin/dlad: undefined symbol: _ZN7mercury12TLSTransportC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
Aug 31 11:56:36 SER-02 systemd[1]: dlad.service: Control process exited, code=exited status=127
Aug 31 11:56:36 SER-02 systemd[1]: Failed to start Datto Backup Agent.
Aug 31 11:56:36 SER-02 systemd[1]: dlad.service: Unit entered failed state.
Aug 31 11:56:36 SER-02 systemd[1]: dlad.service: Failed with result ‘exit-code’.
Why does this happen?
@Geraldo_Rosario So did the kernel module rebuild for the running kernel? Were the kernel development, kernel-syms and dkms packages installed?
The kernel module was not rebuilt, only the package was updated with:
curl -sS https://cpkg.datto.com/getLinuxAgent.txt | sudo bash
sudo zypper install dlad
The system repositories were also updated and this service that connects to a backup appliance through an installed agent stopped working.
@Geraldo_Rosario So this is a fresh install of this datto service?
That script adds a datto repository? Paste the output from zypper lr -d
It should have installed dkms-dattobd which has that dattobd module it’s looking for in the service?
@Geraldo_Rosario So the module hasn’t rebuilt for the running kernel, if you force the re-install of dkms-datobd as in zypper in -f dkms-datobd
or force the re-install of the running kernel…