0

I recently upgraded rhnsd package from 5.0.37 to 5.0.44 when it is in 0.37 version it used to be running as one process rhnsd.service but from 0.44 it split into two services one is rhnsd.timer and other rhnsd.service. Only rhnsd.timer process is in the active state and rhnsd.service is always dead. I can't see any logs in /var/log/messages. Is there any solution to write logs out and see the activity of rhnsd processes.

Machine : centos 7.6 , x86_64

Output from 5.0.37 rhnsd.service - LSB: Starts the Spacewalk Daemon Loaded: loaded (/etc/rc.d/init.d/rhnsd; bad; vendor preset: disabled) Active: active (running) since Thu 2019-05-30 14:36:22 CDT; 2 weeks 0 days ago Docs: man:systemd-sysv-generator(8) Main PID: 5551 (rhnsd) Tasks: 1 Memory: 10.0M CGroup: /system.slice/rhnsd.service └─5551 rhnsd

Output from 5.0.44 process output via systemctl ● rhnsd.service - Spacewalk Server daemon Loaded: loaded (/usr/lib/systemd/system/rhnsd.service; static; vendor preset: disabled) Active: inactive (dead) since Fri 2019-06-14 17:20:26 UTC; 46min ago Process: 13792 ExecStart=/usr/sbin/rhn_check (code=exited, status=0/SUCCESS) Main PID: 13792 (code=exited, status=0/SUCCESS)

Jun 14 17:20:26 XXXXXXX systemd[1]: Started Spacewalk Server daemon.

rhnsd.timer - Spacewalk periodic check timer Loaded: loaded (/usr/lib/systemd/system/rhnsd.timer; disabled; vendor preset: disabled) Active: active (waiting) since Tue 2019-06-11 20:47:40 UTC; 2 days ago

Jun 11 20:47:40 systemd[1]: Started Spacewalk periodic check timer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.