<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4894</bug_id>
          
          <creation_ts>2013-07-22 19:19:28 +0000</creation_ts>
          <short_desc>stop webhob issues</short_desc>
          <delta_ts>2014-01-21 15:09:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.5 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessica">jessica.zhang</reporter>
          <assigned_to name="Alexandru Damian">alexandru.damian</assigned_to>
          <cc>andreea.b.proca</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>calinx.l.dragomir</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34763</commentid>
    <comment_count>0</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-07-22 19:19:28 +0000</bug_when>
    <thetext>After bitbake mc, I tried to stop webhob via: source webhob stop and I&apos;m getting:

1st time:
bash kill (26683) - No such process

Then I tried to start webhob and getting:
Error: bitbake lock state error. System may be already on.

Then I tried to stop webhob again, now I&apos;m getting:
Error: bitbke lock state error.  System may be already off.
manually stop system with bitbake -m / webserverKillAllComponents

when I tried &quot;bitbake -m webserverKillAllComponents&quot;, I got Noting PROVIDES &apos;webserverKillAllComponents&apos;. 

So at this stage I can neither start nor stop webhob</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34764</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-07-22 19:24:14 +0000</bug_when>
    <thetext>A follow on issue, after getting into this stage, if I try to run bitbake core-image-minimal, I&apos;m getting the following which is really bad!

jzhang@jzhang-desktop:~/poky-webhob-test/build$ bitbake core-image-minimal
Traceback (most recent call last):
  File &quot;/home/jzhang/poky-webhob-test/bitbake/bin/bitbake&quot;, line 341, in &lt;module&gt;
    ret = main()
  File &quot;/home/jzhang/poky-webhob-test/bitbake/bin/bitbake&quot;, line 323, in main
    server_connection = server.establishConnection()
  File &quot;/home/jzhang/poky-webhob-test/bitbake/lib/bb/server/xmlrpc.py&quot;, line 368, in establishConnection
    return self.connection.connect()
  File &quot;/home/jzhang/poky-webhob-test/bitbake/lib/bb/server/xmlrpc.py&quot;, line 298, in connect
    token = self.connection.addClient()
  File &quot;/usr/lib/python2.7/xmlrpclib.py&quot;, line 1224, in __call__
    return self.__send(self.__name, args)
  File &quot;/usr/lib/python2.7/xmlrpclib.py&quot;, line 1578, in __request
    verbose=self.__verbose
  File &quot;/usr/lib/python2.7/xmlrpclib.py&quot;, line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File &quot;/usr/lib/python2.7/xmlrpclib.py&quot;, line 1292, in single_request
    self.send_content(h, request_body)
  File &quot;/home/jzhang/poky-webhob-test/bitbake/lib/bb/server/xmlrpc.py&quot;, line 65, in send_content
    xmlrpclib.Transport.send_content(self, h, body)
  File &quot;/usr/lib/python2.7/xmlrpclib.py&quot;, line 1439, in send_content
    connection.endheaders(request_body)
  File &quot;/usr/lib/python2.7/httplib.py&quot;, line 954, in endheaders
    self._send_output(message_body)
  File &quot;/usr/lib/python2.7/httplib.py&quot;, line 814, in _send_output
    self.send(msg)
  File &quot;/usr/lib/python2.7/httplib.py&quot;, line 776, in send
    self.connect()
  File &quot;/usr/lib/python2.7/httplib.py&quot;, line 757, in connect
    self.timeout, self.source_address)
  File &quot;/usr/lib/python2.7/socket.py&quot;, line 571, in create_connection
    raise err
error: [Errno 111] Connection refused
DEBUG: Removed the following variables from the environment: LS_COLORS, GNOME_DESKTOP_SESSION_ID, XDG_CURRENT_DESKTOP, GNOME_KEYRING_CONTROL, DISPLAY, LANG, XDG_SESSION_PATH, XAUTHORITY, SESSION_MANAGER, SHLVL, MANDATORY_PATH, WINDOWID, GPG_AGENT_INFO, BBSERVER, GDMSESSION, XDG_SEAT_PATH, XDG_SESSION_COOKIE, LESSOPEN, DBUS_SESSION_BUS_ADDRESS, _, GNOME_KEYRING_PID, DESKTOP_SESSION, JAVA_HOME, LESSCLOSE, DEFAULTS_PATH, UBUNTU_MENUPROXY, OLDPWD, GTK_MODULES, SPEECHD_PORT, XDG_DATA_DIRS, COLORTERM, BUILDDIR, XDG_CONFIG_DIRS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35062</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-07-29 09:02:53 +0000</bug_when>
    <thetext>This error means that the bitbake server hasn&apos;t started. 

Can you please list all the steps you took and the commands and outputs for each step  ?

Thanks,
Alex</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35433</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-08-06 17:51:36 +0000</bug_when>
    <thetext>Fixed, new stop code now merged in the webhob controller.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39970</commentid>
    <comment_count>4</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2014-01-21 15:09:16 +0000</bug_when>
    <thetext>Now if toaster doesn&apos;t stop we have some additional commands:

andreea@andreea-Vostro-460:~/poky/build$ source toaster stop
The system will stop.
Error: bitbake lock state error. Trying to stop a stopped system ?
If you think the system is hanged up, you can try to manually stop system with the commands

# BBSERVER=localhost:8200 bitbake -m

and

# webserverKillAllified in master:e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>