Bug 467717
| Summary: | RHN Satellite fails to start or stop properly with run-level changes | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Michael Mráka <mmraka> |
| Component: | Server | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shannon Hughes <shughes> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 0.3 | CC: | bperkins, msuchy, shughes |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-01-22 16:30:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 456552 | ||
|
Description
Michael Mráka
2008-10-20 14:04:17 UTC
The right fix seems to be move to independent services managed via chkconfig. Rhn-satellite (and rhn-proxy) scripts will be moved to /sbin as a helper scripts for manual (re)start. Fixed in git, between
commit 9fa6f49c106530424afd5aa431637038884e4eeb
467717 - modified %changelog entries
...
commit fc366f4839195c555b40881cf8cfdba36bdab5e2
467717 - fixed osad and osa-dispatcher init script description
I am seeing the chkconfig list setting services to off? is this correct. init X fails. Services should be on. Steps to reproduce: 1. yum install spacewalk 2. spacewalk-setup 3. chkconfig --list | egrep "rhn-satellite|rhn-database|tomcat5|osa-dispatcher|jabberd|satellite-httpd|oracle" 4. reboot 5. check if services started: for i in rhn-satellite rhn-database tomcat5 osa-dispatcher jabberd satellite-httpd oracle-xe ; do [ -x /etc/init.d/$i ] && service $i status; done Expected results: # chkconfig --list | egrep "rhn-satellite|rhn-database|tomcat5|osa-dispatcher|jabberd|satellite-httpd|oracle" oracle-xe 0:off 1:off 2:on 3:on 4:on 5:on 6:off satellite-httpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off tomcat5 0:off 1:off 2:off 3:on 4:on 5:on 6:off # for i in rhn-satellite rhn-database tomcat5 osa-dispatcher jabberd satellite-httpd oracle-xe ; do [ -x /etc/init.d/$i ] && service $i status; done /etc/init.d/tomcat5 is already running (15838) httpd (pid 6625 6624 6623 6622 6621 6620 6619 6618 6615) is running... LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 06-NOV-2008 12:11:11 Copyright (c) 1991, 2005, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production Start Date 29-OCT-2008 11:35:47 Uptime 8 days 0 hr. 35 min. 24 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Default Service XE Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xen70.englab.brq.redhat.com)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xen70.englab.brq.redhat.com)(PORT=9000))(Presentation=HTTP)(Session=RAW)) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... Service "XE" has 1 instance(s). Instance "XE", status READY, has 1 handler(s) for this service... Service "XEXDB" has 1 instance(s). Instance "XE", status READY, has 1 handler(s) for this service... Service "XE_XPT" has 1 instance(s). Instance "XE", status READY, has 1 handler(s) for this service... The command completed successfully [root@dhcp77-206 tmp]# chkconfig --list rhn-database error reading information on service rhn-database: No such file or directory [root@dhcp77-206 tmp]# chkconfig --list tomcat5 tomcat5 0:off 1:off 2:off 3:on 4:on 5:on 6:off [root@dhcp77-206 tmp]# chkconfig --list osa-dispatcher osa-dispatcher 0:off 1:off 2:on 3:on 4:on 5:on 6:off [root@dhcp77-206 tmp]# chkconfig --list jabberd jabberd 0:off 1:off 2:on 3:on 4:on 5:on 6:off VERIFIED |