minikube: Failed to restart crio.service: Unit crio.service not found.
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT (minikube start failed, reason: Failed to restart crio.service: Unit crio.service not found.)
Please provide the following details:
Environment:
Minikube version (use minikube version):
- OS: MacOS Sierra version 10.12.6
- VM Driver: virtualbox
- ISO version: minikube-v0.23.4.iso
- Install tools: -na-
- Others: -na-
What happened: An error occurred during minikube startup.
What you expected to happen: Minikube should start.
How to reproduce it (as minimally and precisely as possible):
minikube start
Output of minikube logs (if applicable):
minikube start
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
E1029 14:30:42.234439 18732 start.go:150] Error starting host: Temporary Error: Error configuring auth on host: ssh command error: command : sudo systemctl -f restart crio err : Process exited with status 5 output : Failed to restart crio.service: Unit crio.service not found.
Anything else do we need to know:
minikube status
minikube: Running
cluster: Stopped
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.100
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 27
- Comments: 35 (4 by maintainers)
Ran into the same issue. However I am working on Linux. The following steps did the trick for me:
Uninstall/delete all minikube related files 1.1.
minikube delete1.2.rm /usr/local/minikube1.3.rm -rf ~/.minikubeReinstall minikube 2.1. (For Linux)
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.23.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/2.2.minikube startHad the same issue present on my mac running similar set up.
Doing minikube delete && minikube start fixed the issue
Those using Windows with Hyper-V try creating a new external virtual switch in Hyper-V Manager, then start Minikube with
minikube start --vm-driver=hyperv --hyperv-virtual-switch=<your-custom-virtual-switch-name>Same here:
Works for me on OSX
In my situation, it is caused by network.
Problem analysing:
Solution:
minikube start --vm-driver hyperv --hyperv-virtual-switch internal-switch-name -v7Problem of restart minikube and solution
Same issue here. except status is 1:
I am also getting this error with minikube v0.23.0 on Windows 10 1709.
minikube deletedidn’t help me either, neither did removing all trace of.minikubeand.kubedirectories and rebooting.@kwaazaar you should run
minikube deleteand aminikube startto fix that issue after upgrading.Ran into same issue. I had to run the following commands:
rm /usr/local/bin/minikube && brew cask install minikubeIf ssh error, try this: Minikube uses system ssh by default. But windows system don’t have a ssh by default. Try using git bash as terminal have try. If it is not work, try re-install git bash as system ssh client.
same issue with “minikube start” on windows.
I’m on Linux (Fedora 26) and ran into the same issue. @JoshArmi’s solution worked in my environment too,
$ minikube delete && minikube start. Then it was working perfectly.