I have installed spacewalk server on Centos 7 it is working fine and also clients are registered with the server but after reboot or after few hours client is not connected to server.
The basics commands like rhn_check -vvv OR rhnreg_ks are not found on client machine , If i try to reinstall client tools in client machine.
[root client /]# yum -y install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin
Loaded plugins: search-disabled-repos
Package rhn-client-tools-2.7.16-1.el7.noarch already installed and latest version
--> Running transaction check
---> Package rhn-check.noarch 0:2.7.16-1.el7 will be installed
---> Package rhn-setup.noarch 0:2.7.16-1.el7 will be installed
---> Package rhnsd.x86_64 0:5.0.30-1.el7 will be installed
--> Processing Dependency: initscripts for package: rhnsd-5.0.30-1.el7.x86_64
---> Package yum-rhn-plugin.noarch 0:2.7.7-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: rhnsd-5.0.30-1.el7.x86_64 (spacewalk-client)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Please help me to proceed further.