You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Johnny Zhang (JIRA)" <ji...@apache.org> on 2012/11/14 22:02:11 UTC

[jira] [Created] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Johnny Zhang created BIGTOP-783:
-----------------------------------

             Summary: 'service hue stop' cannot stop the hue service in SLES
                 Key: BIGTOP-783
                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
             Project: Bigtop
          Issue Type: Bug
          Components: RPM
    Affects Versions: 0.5.0
            Reporter: Johnny Zhang
             Fix For: 0.5.0
         Attachments: access.log, error.log, runcpserver.log, runcpserver.out

in SLES, when try to stop a already started hue service by
{noformat}
# service hue stop
Stopping Hue web server:                                                                   done
{noformat}

I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
{noformat}
 # 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>
{noformat}

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnny Zhang updated BIGTOP-783:
--------------------------------

    Attachment: error.log
    
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnny Zhang updated BIGTOP-783:
--------------------------------

    Attachment: supervisor.log

the attachments are logs under /var/log/hue/, the empty logs, like 'shell_input.log' is not attached
                
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out, supervisor.log
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497447#comment-13497447 ] 

Johnny Zhang commented on BIGTOP-783:
-------------------------------------

this is a totally guess, the reason might because of 'service hue stop' cannot supervisor, so it cannot stop hue process, in /var/log/hue/supervisor.log

{noformat}
[14/Nov/2012 13:10:42 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
{noformat}
                
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out, supervisor.log
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497517#comment-13497517 ] 

Johnny Zhang commented on BIGTOP-783:
-------------------------------------

[~plinnell], you mean "/etc/init.d/hue stop" ? I tried it, it is the same.
                
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out, supervisor.log
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Peter Linnell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497591#comment-13497591 ] 

Peter Linnell commented on BIGTOP-783:
--------------------------------------

Then the bug is most likely in the initscript itself. 
                
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out, supervisor.log
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Peter Linnell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497488#comment-13497488 ] 

Peter Linnell commented on BIGTOP-783:
--------------------------------------

Just a comment: /sbin/service is not well supported in SLES. I've never used it by default and I've never seen it documented in SLES docs. What I would recommend is testing via /etc/init.d/service name and see if it fails in the same way.  
                
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out, supervisor.log
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnny Zhang updated BIGTOP-783:
--------------------------------

    Attachment: runcpserver.log
    
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnny Zhang updated BIGTOP-783:
--------------------------------

    Attachment: runcpserver.out
    
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Johnny Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johnny Zhang updated BIGTOP-783:
--------------------------------

    Attachment: access.log
    
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (BIGTOP-783) 'service hue stop' cannot stop the hue service in SLES

Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik resolved BIGTOP-783.
-------------------------------------

    Resolution: Duplicate

Johnny, thanks for these bugreports -- it looks like both of them have the same rootcause so I'm closing this one as a DUP of BIGTOP-782
                
> 'service hue stop' cannot stop the hue service in SLES
> ------------------------------------------------------
>
>                 Key: BIGTOP-783
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-783
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>             Fix For: 0.5.0
>
>         Attachments: access.log, error.log, runcpserver.log, runcpserver.out, supervisor.log
>
>
> in SLES, when try to stop a already started hue service by
> {noformat}
> # service hue stop
> Stopping Hue web server:                                                                   done
> {noformat}
> I found the hue service is not stopped, I can still open the web GUI. We can also verify this by the curl command
> {noformat}
>  # 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>
> {noformat}
> the workaround is kill supervisor first, then kill hue process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira