[Spacewalk-list] Spacewalk system health

Adams, Nick adamsn at stifel.com
Wed Jan 3 15:05:50 UTC 2018


Michael,

Thanks for the info, exactly what I was looking for!

Everything appears to be running successfully, though still seeing the file unavailable on the download section in the GUI:

[root at sncfgspwd01s ~]# spacewalk-service status
Redirecting to /bin/systemctl status jabberd.service
● jabberd.service - Jabber Server
   Loaded: loaded (/usr/lib/systemd/system/jabberd.service; enabled; vendor preset: disabled)
   Active: active (exited) since Wed 2018-01-03 08:59:47 CST; 1min 19s ago
  Process: 23135 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 23135 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/jabberd.service

Jan 03 08:59:47 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Starting Jabber Server...
Jan 03 08:59:47 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Started Jabber Server.
Redirecting to /bin/systemctl status tomcat.service
● tomcat.service - Apache Tomcat Web Application Container
   Loaded: loaded (/usr/lib/systemd/system/tomcat.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-01-03 08:59:47 CST; 1min 19s ago
 Main PID: 23158 (java)
   CGroup: /system.slice/tomcat.service
           └─23158 /usr/lib/jvm/jre/bin/java -ea -Xms256m -Xmx256m -Djava.awt.headless=true -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser -Dorg.apache.tomcat.util.http.Parameters.MAX_COUNT=1024 -XX:MaxNewSize=256 -XX:-UseCo...

Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: Jan 03, 2018 9:00:02 AM org.apache.catalina.startup.HostConfig deployDescriptor
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: INFO: Deployment of configuration descriptor /etc/tomcat/Catalina/localhost/rhn.xml has finished in 14,181 ms
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: Jan 03, 2018 9:00:02 AM org.apache.coyote.AbstractProtocol start
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-8080"]
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: Jan 03, 2018 9:00:02 AM org.apache.coyote.AbstractProtocol start
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: INFO: Starting ProtocolHandler ["ajp-bio-127.0.0.1-8009"]
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: Jan 03, 2018 9:00:02 AM org.apache.coyote.AbstractProtocol start
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: INFO: Starting ProtocolHandler ["ajp-bio-0:0:0:0:0:0:0:1-8009"]
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: Jan 03, 2018 9:00:02 AM org.apache.catalina.startup.Catalina start
Jan 03 09:00:02 sncfgspwd01s.stifelnet.stifel.local server[23158]: INFO: Server startup in 14289 ms
Redirecting to /bin/systemctl status httpd.service
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-01-03 09:00:03 CST; 1min 4s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 23052 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 15641 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
 Main PID: 23329 (httpd)
   Status: "Total requests: 11; Current requests/sec: 0.2; Current traffic: 204 B/sec"
   CGroup: /system.slice/httpd.service
           ├─23329 /usr/sbin/httpd -DFOREGROUND
           ├─23332 /usr/sbin/httpd -DFOREGROUND
           ├─23333 /usr/sbin/httpd -DFOREGROUND
           ├─23334 /usr/sbin/httpd -DFOREGROUND
           ├─23335 /usr/sbin/httpd -DFOREGROUND
           ├─23336 /usr/sbin/httpd -DFOREGROUND
           ├─23337 /usr/sbin/httpd -DFOREGROUND
           ├─23338 /usr/sbin/httpd -DFOREGROUND
           ├─23339 /usr/sbin/httpd -DFOREGROUND
           └─23670 /usr/sbin/httpd -DFOREGROUND

Jan 03 09:00:03 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Starting The Apache HTTP Server...
Jan 03 09:00:03 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Started The Apache HTTP Server.
Redirecting to /bin/systemctl status osa-dispatcher.service
● osa-dispatcher.service - OSA Dispatcher daemon
   Loaded: loaded (/usr/lib/systemd/system/osa-dispatcher.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-01-03 09:00:03 CST; 1min 3s ago
  Process: 23362 ExecStart=/usr/sbin/osa-dispatcher --pid-file /var/run/osa-dispatcher.pid (code=exited, status=0/SUCCESS)
  Process: 23359 ExecStartPre=/bin/rm -f /var/run/osa-dispatcher.pid (code=exited, status=0/SUCCESS)
 Main PID: 23365 (osa-dispatcher)
   CGroup: /system.slice/osa-dispatcher.service
           └─23365 /usr/bin/python -s /usr/sbin/osa-dispatcher --pid-file /var/run/osa-dispatcher.pid

Jan 03 09:00:03 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Starting OSA Dispatcher daemon...
Jan 03 09:00:03 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Started OSA Dispatcher daemon.
Redirecting to /bin/systemctl status rhn-search.service
● rhn-search.service - Spacewalk search engine
   Loaded: loaded (/usr/lib/systemd/system/rhn-search.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-01-03 09:00:04 CST; 1min 3s ago
  Process: 22958 ExecStop=/usr/sbin/rhn-search stop (code=exited, status=0/SUCCESS)
  Process: 23385 ExecStart=/usr/sbin/rhn-search start (code=exited, status=0/SUCCESS)
 Main PID: 23399 (rhnsearchd)
   CGroup: /system.slice/rhn-search.service
           ├─23399 /usr/bin/rhnsearchd /usr/share/rhn/config-defaults/rhn_search_daemon.conf wrapper.pidfile=/var/run/rhn-search.pid wrapper.daemonize=TRUE
           └─23401 /usr/bin/java -Djava.library.path=/usr/lib:/usr/lib64:/usr/lib/oracle/11.2/client/lib:/usr/lib/oracle/11.2/client64/lib:/usr/lib/gcj/postgresql-jdbc:/usr/lib64/gcj/postgresql-jdbc -classpath /usr/share/rhn/search/cl...

Jan 03 09:00:03 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Starting Spacewalk search engine...
Jan 03 09:00:03 sncfgspwd01s.stifelnet.stifel.local rhn-search[23385]: Starting rhn-search...
Jan 03 09:00:04 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Started Spacewalk search engine.
● cobblerd.service - LSB: daemon for libvirt virtualization API
   Loaded: loaded (/etc/rc.d/init.d/cobblerd; bad; vendor preset: disabled)
   Active: active (running) since Wed 2018-01-03 09:00:04 CST; 1min 2s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 22921 ExecStop=/etc/rc.d/init.d/cobblerd stop (code=exited, status=0/SUCCESS)
  Process: 23441 ExecStart=/etc/rc.d/init.d/cobblerd start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/cobblerd.service
           └─23457 /usr/bin/python -s /bin/cobblerd --daemonize

Jan 03 09:00:04 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Starting LSB: daemon for libvirt virtualization API...
Jan 03 09:00:04 sncfgspwd01s.stifelnet.stifel.local cobblerd[23441]: Starting cobbler daemon: [  OK  ]
Jan 03 09:00:04 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Started LSB: daemon for libvirt virtualization API.
Redirecting to /bin/systemctl status taskomatic.service
● taskomatic.service - Taskomatic
   Loaded: loaded (/usr/lib/systemd/system/taskomatic.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-01-03 09:00:05 CST; 1min 1s ago
  Process: 22843 ExecStop=/usr/sbin/taskomatic stop (code=exited, status=0/SUCCESS)
  Process: 23477 ExecStart=/usr/sbin/taskomatic start (code=exited, status=0/SUCCESS)
 Main PID: 23492 (taskomaticd)
   CGroup: /system.slice/taskomatic.service
           ├─23492 /usr/bin/taskomaticd /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf wrapper.pidfile=/var/run//taskomatic.pid wrapper.daemonize=TRUE
           └─23505 /usr/bin/java -Dibm.dst.compatibility=true -Dfile.encoding=UTF-8 -Xms256m -Xmx1024m -Djava.library.path=/usr/lib:/usr/lib64:/usr/lib/oracle/11.2/client64/lib:/usr/lib/oracle/11.2/client/lib -classpath /usr/share/jav...

Jan 03 09:00:04 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Starting Taskomatic...
Jan 03 09:00:05 sncfgspwd01s.stifelnet.stifel.local taskomatic[23477]: Starting RHN Taskomatic...
Jan 03 09:00:05 sncfgspwd01s.stifelnet.stifel.local wrapper[23492]: --> Wrapper Started as Daemon
Jan 03 09:00:05 sncfgspwd01s.stifelnet.stifel.local wrapper[23492]: Launching a JVM...
Jan 03 09:00:05 sncfgspwd01s.stifelnet.stifel.local systemd[1]: Started Taskomatic.



Thank you,





-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Michael Mraka
Sent: Wednesday, January 3, 2018 8:49 AM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Spacewalk system health

Adams, Nick :
> All,
> 
> I am curious if there is a good way of validating that all services are operating as expected, such as a "green light" in the GUI or a satellite-status CLI option. Reason for the request is that I have been for some time receiving the following error:

Hello Adam,

You can try:

        spacewalk-service status

> Download: 389-ds-base-1.3.6.1-16.el7.x86_64.rpm
> Download
> Missing File
> Source Package:
> File Unavailable
> 
> When trying to test download functionality from the web GUI. I believe the files to be accessible due to the following:
> [root at sncfgspwd01s ~]# getenforce
> Permissive
> [root at sncfgspwd01s ~]# ls -lah /var/satellite/redhat/
> total 80K
> drwxrwxrwx.    3 apache apache 4.0K Dec 20 09:38 .
> drwxr-xr-x.    4 apache apache 4.0K Dec 26 11:29 ..
> drwxrwxrwx. 3720 apache apache  68K Dec 27 09:45 1
> 
> [root at sncfgspwd01s ~]# spacewalk-data-fsck -v
> Checking if packages from database are present on filesystem
> 9591 files scanned
> Checking if packages from filesystem are present in database
> 9591 files scanned
> 
> Thanks in advance for all of your wisdom!
> 
> Thank you,

Regards,

--
Michael Mráka
System Management Engineering, Red Hat

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
This message, and any of its attachments, is for the intended recipient(s) only, and it may contain information that is privileged, confidential, and/or proprietary and subject to important terms and conditions available at http://www.stifel.com/disclosures/emaildisclaimers/. If you are not the intended recipient, please delete this message and immediately notify the sender. No confidentiality, privilege, or property rights are waived or lost by any errors in transmission.




More information about the Spacewalk-list mailing list