[Spacewalk-list] How do you start spcewalk from the commandline

Scott Worthington scott.c.worthington at gmail.com
Wed Oct 30 16:15:09 UTC 2013


On 10/30/2013 11:55, J.W. slone wrote:
> now I get command not found error when I run the command
> 
> spacewalk-service start
> 
> 
> On Wednesday, October 30, 2013 8:27 AM, Milan Zazrivec
> <mzazrivec at redhat.com> wrote:
>> I do not recall how to start spacewalk from the commandline
> 
> spacewalk-service start | stop | restart  ...
> 
> -MZ

Perhaps you don't have spacewalk-admin RPM installed (but I find that
difficult to believe)?

I have Spacewalk 2.0 installed.

This is where my spacewalk-service is located:

# which spacewalk-service
/usr/sbin/spacewalk-service

And to determine which RPM it came from:

# rpm -qf /usr/sbin/spacewalk-service
spacewalk-admin-2.0.1-1.el6.noarch

And to verify the files against the RPM:

# rpm -V -v spacewalk-admin
.........  c /etc/rhn/service-list
.........    /usr/bin/rhn-config-satellite.pl
.........    /usr/bin/rhn-config-schema.pl
.........    /usr/bin/rhn-deploy-ca-cert.pl
.........    /usr/bin/rhn-generate-pem.pl
.........    /usr/bin/rhn-install-ssl-cert.pl
.........    /usr/bin/validate-sat-cert
.........    /usr/bin/validate-sat-cert.pl
.........    /usr/sbin/rhn-sat-restart-silent
.........    /usr/sbin/rhn-satellite
.........    /usr/sbin/spacewalk-service
.........    /usr/sbin/spacewalk-startup-helper
.........    /usr/share/doc/spacewalk-admin-2.0.1
.........  d /usr/share/doc/spacewalk-admin-2.0.1/LICENSE
.........  d /usr/share/man/man8/rhn-config-satellite.pl.8.gz
.........  d /usr/share/man/man8/rhn-config-schema.pl.8.gz
.........  d /usr/share/man/man8/rhn-deploy-ca-cert.pl.8.gz
.........  d /usr/share/man/man8/rhn-generate-pem.pl.8.gz
.........  d /usr/share/man/man8/rhn-install-ssl-cert.pl.8.gz
.........  d /usr/share/man/man8/rhn-sat-restart-silent.8.gz
.........  d /usr/share/man/man8/rhn-satellite.8.gz
.........  d /usr/share/man/man8/spacewalk-service.8.gz
.........  d /usr/share/man/man8/validate-sat-cert.8.gz
.........  d /usr/share/man/man8/validate-sat-cert.pl.8.gz
.........    /usr/share/rhn
.........    /usr/share/rhn/RHN-GPG-KEY

And help on the RPM verify:
  http://www.rpm.org/max-rpm/ch-rpm-verify.html

Hope that helps you...







More information about the Spacewalk-list mailing list