Bug 972728 - Rhqctl stop is not able to stop a server that is running on console (but pretends it has)
Summary: Rhqctl stop is not able to stop a server that is running on console (but pret...
Keywords:
Status: ON_QA
Alias: None
Product: RHQ Project
Classification: Other
Component: No Component
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.14
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 1174139
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-10 13:28 UTC by Heiko W. Rupp
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2013-06-10 13:28:54 UTC
Have my server started with rhqctl console --server

Now I do

snert:/tmp/49/rhq-server-4.8.0-SNAPSHOT hrupp$ bin/rhqctl stop
15:25:15,270 INFO  [org.jboss.modules] JBoss Modules version 1.2.0.CR1
Stopping RHQ Agent...
RHQ Agent (pid=1075) is stopping...
RHQ Agent has stopped.
Trying to stop the RHQ Server...
RHQ Server (pid=1326) is stopping...
RHQ Server has stopped.
Stopping RHQ storage node...
RHQ storage node (pid=546) is stopping...
RHQ storage node has stopped

In reality the server continues running

snert:/tmp/49/rhq-server-4.8.0-SNAPSHOT hrupp$ jps -l
2624 sun.tools.jps.Jps
1324 /tmp/49/rhq-server-4.8.0-SNAPSHOT/jbossas/jboss-modules.jar
1355 /private/tmp/49/rhq-server-4.8.0-SNAPSHOT/jbossas/jboss-modules.jar
893 org.jetbrains.idea.maven.server.RemoteMavenServer
877

Server console just shows

15:25:16,898 INFO  [org.rhq.enterprise.server.core.AgentManagerBean] (http-/0.0.0.0:7080-4) Agent with name [snert] just went down
15:26:17,546 WARN  [org.rhq.enterprise.server.cassandra.CassandraClusterHeartBeatJob] (RHQScheduler_Worker-4) Server[id=10001,name=snert,address=snert,port=7080,securePort=7443] is unable to connect to any Cassandra node. Server will go into maintenance mode.
15:26:17,547 INFO  [org.rhq.enterprise.server.cassandra.CassandraClusterHeartBeatJob] (RHQScheduler_Worker-4) Moving Server[id=10001,name=snert,address=snert,port=7080,securePort=7443] from NORMAL to MAINTENANCE
15:26:17,556 INFO  [org.rhq.enterprise.server.cassandra.CassandraClusterHeartBeatJob] (RHQScheduler_Worker-4) Preparing to shut down storage client subsystem


Note You need to log in before you can comment on or make changes to this bug.