Unable to start the bitbake server

This error is very common in Yocto Project when we start the build. This error occurs due to the following reasons

  • We stop the bitbake build abruptly or close the bitbake terminal accidentally.
  • bitbake works properly, some packages need to install on the host PC sometimes it is missing.

NOTE:Reconnecting to bitbake server...
NOTE:Previous bitbake instance shutting down?, waiting to retry...
ERROR:Unable to start bitbake server (False)

Solution:

  1. In the build directory, bitbake creates some lock files so remove those files before running the bitbake.
    #Delete the bitbake.lock and hashserver.sock from the build directory.
    
    $rm -rf bitbake.lock
    $rm -rf hashserver.sock
  2. if you are still getting the same issue then you need to install some package on the host PC to support the Yocto project development.
    # Run below command to installed packages recommend by Yocto Project manual. 
    
    $sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping libsdl1.2-dev xterm
    

Add comment


Security code
Refresh