# SM3: No system\_ commandos in spacewalk

**URL:** <https://forums.suse.com/t/sm3-no-system-commandos-in-spacewalk/30018>\
**Category:** SUSE Multi Linux Manager\
**Created:** [July 5, 2017, 1:29pm UTC](https://forums.suse.com/t/sm3-no-system-commandos-in-spacewalk/30018 "2017-07-05T13:29:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan\_foerster](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jan\_foerster](https://forums.suse.com/u/jan_foerster)\
**Post date:** [July 5, 2017, 1:29pm UTC](https://forums.suse.com/t/sm3-no-system-commandos-in-spacewalk/30018/1 "2017-07-05T13:29:35Z")

</div>

Hey there,

I’m using SuSE Manager 3 and try to delete Systems via spacecmd. I created a .spacecmd/config file and this works fine with softwarechannel\_clone, which I already realized with spacecmd.  
When I try to delete a Client with system\_delete or even try to call system\_list, there is no output:

# spacecmd system\_list

INFO: Connected to [https://localhost/rpc/api](https://localhost/rpc/api) as SMadmin  
[end of output]

When I rename the .spacecmd/config and try the same with Username and PW, it works fine (same User/PW as in config file):

# spacecmd -u [user] -p [Password] system\_list

INFO: Spacewalk Username: SMadmin  
INFO: Connected to [https://[server]/rpc/api](https://https) as SMadmin  
[system 1]  
[system 2]  
…

User has all rights, except Organisation Administrator. But I do not think this is a problem with rights, because it works fine without the config file.

Can you give me any hints on this?

Thanks in advance and regards from Hamburg

Jan

---

<div class="post-metadata">

**Author:** ![jan\_foerster](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jan\_foerster](https://forums.suse.com/u/jan_foerster)\
**Post date:** [July 5, 2017, 1:32pm UTC](https://forums.suse.com/t/sm3-no-system-commandos-in-spacewalk/30018/2 "2017-07-05T13:32:08Z")

</div>

Solution: When I replace “localhost” in config file with the FQDN of the system, it works.

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [July 5, 2017, 2:51pm UTC](https://forums.suse.com/t/sm3-no-system-commandos-in-spacewalk/30018/3 "2017-07-05T14:51:22Z")

</div>

Are the SUSE Manager services listening on whatever is resolved-to by  
‘localhost’?

```auto
host localhost
sudo /usr/sbin/ss -planeto | grep 'LISTEN '
```

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.

---

<div class="post-metadata">

**Author:** ![jan\_foerster](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jan\_foerster](https://forums.suse.com/u/jan_foerster)\
**Post date:** [July 14, 2017, 3:21pm UTC](https://forums.suse.com/t/sm3-no-system-commandos-in-spacewalk/30018/4 "2017-07-14T15:21:39Z")

</div>

[QUOTE=ab;38599]Are the SUSE Manager services listening on whatever is resolved-to by  
‘localhost’?[/QUOTE]

Hey ab,

thanks for answering. Yes Services are listening. But the problem has been solved for me by grouping all Systems and giving the ScriptUser assess to this Group.

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [July 14, 2017, 6:29pm UTC](https://forums.suse.com/t/sm3-no-system-commandos-in-spacewalk/30018/5 "2017-07-14T18:29:50Z")

</div>

Thank-you for posting back your results as they will likely help others.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.
