Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-783

'service hue stop' cannot stop the hue service in SLES

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.5.0
    • 0.5.0
    • rpm
    • None

    Description

      in SLES, when try to stop a already started hue service by

      # service hue stop
      Stopping Hue web server:                                                                   done
      

      I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command

       # curl http://localhost:8888/accounts/login/
      
      <!DOCTYPE html>
      <html lang="en">
      <head>
      	<meta charset="utf-8">
      	<title>Hue Login</title>
      	<meta name="viewport" content="width=device-width, initial-scale=1.0">
      	<meta name="description" content="">
      	<meta name="author" content="">
      
      	<link href="/static/ext/css/bootstrap.min.css" rel="stylesheet">
      	<link href="/static/css/hue2.css" rel="stylesheet">
      
      	<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
      	<!--[if lt IE 9]>
      	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
      	<![endif]-->
      
      	<style type="text/css">
      		body {
      			padding-top: 100px;
      		}
      	</style>
      </head>
      
      <body>
      	<div class="navbar navbar-fixed-top">
      		<div class="navbar-inner">
      			<div class="container-fluid">
      				<a class="brand" href="#">Hue</a>
      			</div>
      		</div>
      	</div>
      
      	<div class="container">
      		<div class="row">
      			<div class="span4 offset4">
      				<form method="POST" action="/accounts/login/" class="well">
      					<label>Username
      						<input name="username" class="input-large" type="text" maxlength="30">
      					</label>
      					<label>Password
      						<input name="password" class="input-large" type="password" maxlength="30">
      					</label>
      
      						<input type="submit" class="btn primary" value="Sign in" />
      					<input type="hidden" name="next" value="/" />
      
      				</form>
      			</div>
      		</div>
      
      	</div>
      </body>
      </html>
      

      the workaround is kill supervisor first, then kill hue process.

      Attachments

        1. supervisor.log
          3 kB
          Johnny Zhang
        2. runcpserver.out
          3 kB
          Johnny Zhang
        3. runcpserver.log
          6 kB
          Johnny Zhang
        4. error.log
          2 kB
          Johnny Zhang
        5. access.log
          13 kB
          Johnny Zhang

        Activity

          People

            Unassigned Unassigned
            dreambird Johnny Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: