# SMT - smt-client shows Patch Status 'UNKNOWN'

**URL:** <https://forums.suse.com/t/smt-smt-client-shows-patch-status-unknown/34103>\
**Category:** SLES Updates\
**Created:** [June 20, 2019, 4:06pm UTC](https://forums.suse.com/t/smt-smt-client-shows-patch-status-unknown/34103 "2019-06-20T16:06:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharfuddin](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sharfuddin](https://forums.suse.com/u/sharfuddin)\
**Post date:** [June 20, 2019, 4:06pm UTC](https://forums.suse.com/t/smt-smt-client-shows-patch-status-unknown/34103/1 "2019-06-20T16:06:41Z")

</div>

SMT is configured on SLES 12 SP 3.  
SMT Client(SLES 12 SP 3) is also configured via “clientSetup4SMT.sh” script. I updated/patched the smt client systems too.

But on SMT Server when I run the ‘smt-client’ command it show ‘Patch Status’ as UNKNOWN

smt:~ # smt-client

```auto
.------------------------------------------------------------------------------------.
| GUID | Hostname | Patch Status | Patch Status Date |
+--------------------------------------+----------+--------------+-------------------+
| SCC_6524b7f12a39410e8588b60170e681e1 | node1 | Unknown | |
| SCC_e86851a33523474cb6f88557ce9e7359 | storage | Unknown | |
'--------------------------------------+----------+--------------+-------------------'
```

while ‘smt-list-registration’ gives the appropriate output:  
smt:~ # smt-list-registrations

```auto
.----------------------------------------------------------------------------------------------------------.
| Unique ID | Hostname | Last Contact | Namespace | Product |
+--------------------------------------+----------+---------------------+-----------+----------------------+
| SCC_6524b7f12a39410e8588b60170e681e1 | node1 | 2019-06-20 15:01:41 | | SLES_SAP 12.3 x86_64 |
+--------------------------------------+----------+---------------------+-----------+----------------------+
| SCC_e86851a33523474cb6f88557ce9e7359 | storage | 2019-06-20 17:08:44 | | SLES_SAP 12.3 x86_64 |
+--------------------------------------+----------+---------------------+-----------+----------------------+
```

please help why ‘smt-client’ is showing the Patch Status as UNKNOWN ?

---

<div class="post-metadata">

**Author:** ![asadler](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@asadler](https://forums.suse.com/u/asadler)\
**Post date:** [March 16, 2020, 4:37am UTC](https://forums.suse.com/t/smt-smt-client-shows-patch-status-unknown/34103/2 "2020-03-16T04:37:10Z")

</div>

It seems my research is 9 months too late, but in case someone else digs this thread up from the future and is wondering the same thing, here’s what I’ve discovered:

- When you run a “zypper ref” on a client, anything is wrong or any kind of error is reported, even if it continues, you will get an “Unknown” shown in SMT.
- Go to the particular machine, run “zypper ref” or “zypper lr” and figure out what the problem is from there.
- Once you’ve done that, go to your smt server and run this command: “smt-client -g SCC\_1234567ABCDE -v” where “SCC\_1234567ABCDE” is the GUID of the computer you found from running “smt-client -v” (I think you can also just pass the "-h " flag too)
- When the job has been submitted, go to the client machine and run “smt-agent”. You should now get up to date information.
