# RMT-Server, can't register client on RMT registration proxy

**URL:** <https://forums.suse.com/t/rmt-server-cant-register-client-on-rmt-registration-proxy/39874>\
**Category:** SUSE Linux Enterprise Server\
**Created:** [January 24, 2023, 8:15am UTC](https://forums.suse.com/t/rmt-server-cant-register-client-on-rmt-registration-proxy/39874 "2023-01-24T08:15:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roadrunner](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@roadrunner](https://forums.suse.com/u/roadrunner)\
**Post date:** [January 24, 2023, 8:15am UTC](https://forums.suse.com/t/rmt-server-cant-register-client-on-rmt-registration-proxy/39874/1 "2023-01-24T08:15:38Z")

</div>

RMT: SLES 15 SP4 (x86\_64)  
Client: SLES 15 SP4 (x86\_64)

I’ve installed an RMT server here to act as a proxy for other clients, both for registration and as a mirror server.  
Unfortunately I already have a problem with registering a client. Neither SUSEConnect nor the ‘rmt-client-setup’ recommended in the manual do what they are supposed to do.

I get the message:

```auto
Registering system to register proxy https://susermt.xyzdomain

Announcing system to https://susermt.xyzdomain ...
Your Registration Proxy server doesn't support this function. Please update it and try again.

```

The status of the client is and remains:

```auto
SUSEConnect -s
[{"identifier":"SLES","version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-basesystem"," version":"15.4","arch":"x86_64","status":"Not Registered"},{"identifier":"sle-module-server-applications","version":"15.4","arch ":"x86_64","status":"Not Registered"}]

```

The RMT server itself is well registered:

```auto
susermt:~ # SUSEConnect -s
[{"identifier":"sle-module-server-applications","version":"15.4","arch":"x86_64","status":"Registered"},{"identifier":"PackageHub", "version":"15.4","arch":"x86_64","status":"Registered"},{"name":"SUSE Linux Enterprise Server, x86 \u0026 x86-64, 1-2 Sockets with Unlimited Virtual Machines, Standard Subscription, Activation Key","identifier":"SLES","version":"15.4","arch":"x86_64","status":"Registered","regcode":"meowmeowmeow"," starts_at":"2017-01-01 00:00:00 UTC","expires_at":"2023-12-31 00:00:00 UTC","subscription_status":"ACTIVE","type":"full" },{"identifier":"sle-module-basesystem","version":"15.4","arch":"x86_64","status":"Registered"}]

```

The following packages with an ‘i’ are installed on the RMT server and I have gone through and completed the configuration of the RMT:

```auto
Reading installed packages...

S | name | Summary | Type
---+---------------------------------------------- ------+------------------------------------------ --------------+-----------
    | dump-rmt | Provides certain programs with access to remote tape -> | package
    | libqt5-qtstyleplugins-platformtheme-gtk2 | Qt 5 gtk2 plugin | package
    | libqt5-qtstyleplugins-platformtheme-gtk2-debuginfo | Debug information for package libqt5-qtstyleplugins-p-> | package
    | python3-django-formtools | A set of high-level abstractions for Django forms | package
i+ | rmt-server | Repository mirroring tool and registration proxy for -> | package
    | rmt-server | Repository mirroring tool and registration proxy for -> | srcpackage
i | rmt-server-config | RMT default configuration | package
    | star-rmt | Magnetic tape control and server | package
    | tar-rmt | Remote tape drive control server by GNU | package
i | yast2-rmt | YaST2 - Module to configure RMT | package
    | yast2-rmt | YaST2 - Module to configure RMT | srcpackage

```

Do I need to mirror more than the products here? Aren’t these four enough?:

```auto
susermt:~ # rmt-cli products list | grep -i "15 sp4"
| 2299 | Base system modules | 15 SP4 | x86_64 | Mirrors | 2023-01-23 09:43:23 UTC |
| 2307 | Server Application Modules | 15 SP4 | x86_64 | Mirrors | 2023-01-23 09:43:26 UTC |
| 2292 | SUSE Linux Enterprise Server | 15 SP4 | x86_64 | Mirrors | 2023-01-23 09:43:13 UTC |
| 2347 | SUSE Package Hub | 15 SP4 | x86_64 | Mirrors | 2023-01-23 09:43:49 UTC |
susermt:~ #

```

Firewall is switched off on both sides:

```auto
susermt:~ # iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

idmmgt03:~ # iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

```

Why isn’t the client registering? What can I do? I hope someone has an idea.

---

<div class="post-metadata">

**Author:** ![roadrunner](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@roadrunner](https://forums.suse.com/u/roadrunner)\
**Post date:** [January 30, 2023, 7:59am UTC](https://forums.suse.com/t/rmt-server-cant-register-client-on-rmt-registration-proxy/39874/2 "2023-01-30T07:59:07Z")

</div>

I solved the problem together with SUSE support. I don’t know why, but user:group was not correct for files in directory /usr/share/rmt/config. All files must be owned by \_rmt:nginx.

---

<div class="post-metadata">

**Author:** ![martin\_i](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/martin_i/32/9889_2.png) [@martin\_i](https://forums.suse.com/u/martin_i)\
**Post date:** [March 2, 2023, 10:13pm UTC](https://forums.suse.com/t/rmt-server-cant-register-client-on-rmt-registration-proxy/39874/3 "2023-03-02T22:13:02Z")

</div>

Thank you, this does solve the problem for me.

It seems though only /usr/share/rmt/config/secrets.yml.key needs to have above mentioned ownership set.
