Avatar of SooHow Cheng
SooHow Cheng
Flag for Singapore asked on

Why this rhnsd service is showing error in SuSE server?

This is using SuSE SLES 12 servers. Every once in a while, expect to see the following errors logged in the /var/log/messages,
serverA rhn_check[14513]: XMLRPC ProtocolError: <ProtocolError for susemanager01.abc.corp /XMLRPC: 500 Internal Server Error>
serverA systemd[1]: rhnsd.service: Unit entered failed state.
serverA systemd[1]: rhnsd.service: Failed with result 'exit-code'.

rhnsd is Spacewalk Server daemon. Look like it has to coordinates with rhnsd.timer and SuSE Manager.

What's went wrong with this service? could it be the SuSE Manager problem/

Thanks in advance.


Linux* suseLinux Distributions

Avatar of undefined
Last Comment
SooHow Cheng

8/22/2022 - Mon
David Favor

https://linux.die.net/man/8/rhnsd provides the man page.

The docs are terse.

No real information about what this daemon truly does in background.

Docs suggest a CRON-like facility... although... I'm wondering, why not just use CRON.
SooHow Cheng

ASKER
Hi David,

Did this service trys to contact susemgr?
David Favor

The docs are unclear.

Your best action will likely be to either dig into the entire rhnsd config files + docs.

Or ask your question in the SUSE forums.

It's unclear what the purpose is of this daemon, over CRON... rhnsd appears to be a scaled down/hobbled version of CRON.
Your help has saved me hundreds of hours of internet surfing.
fblack61
SooHow Cheng

ASKER
Hi David,

We already contacted SuSE support. They said that ONLY rhnsd.timer is working. We also provide the supportconfig to them to analyse. So, just sit back to wait for the updates.
David Favor

https://superuser.com/questions/1448871/rhnsd-service-not-working-after-upgrade-from-5-0-37-to-5-0-44 provides some detail about this service.

My next question to SUSE would be, "If I remove rhnsd does this actually break anything?"

If the answer is no, remove this service.

Each time I've read over the docs, rhnsd appears to provide no value, while opening a potential security holes in the system.

Good Guideline: If you don't need it, deinstall it...
SooHow Cheng

ASKER
Hi David,

We already contacted SuSE support. They said that ONLY rhnsd.timer is working. We also provide the supportconfig to them to analyse. So, just sit back to wait for the updates.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
David Favor

SUSE dev question to pose.

"Describe problems, if I just delete the entire rhnsd service."

Since no other Distro (to my knowledge) ever installs this service, likely just deleting it will suffice.

And, best to ask SUSE dev before you delete this service.
SooHow Cheng

ASKER
At the end, the root cause is the SuSE manager server runs out of hard disk space + other config problem. After solving the hard disk space problem, found no more rhnsd errors in /var/log/messages.

rhnsd besides rhnsd.timer is needed, can not remove
ASKER CERTIFIED SOLUTION
SooHow Cheng

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question