Lab 4.6 Install crictl : issue with starting crio.service
as I try to start crio.service the service does not start, prompting the following message:
sudo systemctl start crio.service
Job for crio.service failed because the control process exited with error code.
See "systemctl status crio.service" and "journalctl -xe" for details.
systemctl status crio.service
● crio.service - Container Runtime Interface for OCI (CRI-O)
Loaded: loaded (/usr/lib/systemd/system/crio.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2021-12-28 19:21:48 UTC; 5s ago
Docs: https://github.com/cri-o/cri-o
Process: 17113 ExecStart=/usr/bin/crio $CRIO_CONFIG_OPTIONS $CRIO_RUNTIME_OPTIONS $CRIO_STORAGE_OPTIONS $CRIO_NETWORK_OPTIONS $CRIO_METRICS_OPTIONS (code=ex
Main PID: 17113 (code=exited, status=1/FAILURE)
Therefore I am not able to get a successful response; once I do:
sudo crictl version
FATA[0002] connect: connect endpoint 'unix:///var/run/crio/crio.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded
and even if I run as root I get the same issue
root@dev-node19:~# sudo crictl version
FATA[0002] connect: connect endpoint 'unix:///var/run/crio/crio.sock', make sure you are running as root and the endpoint has been started: context deadline exceeded
since we are using crio for lab exercises this is an important issue to address before continuing with the class... could someone help here?
Comments
-
After checking the crio log, possibly it is related to:
Dec 28 19:58:57 dev-node19 crio[18596]: time="2021-12-28 19:58:57.220946560Z" level=fatal msg="validating runtime config: runtime validation: invalid runtime runtime_path for runtime 'runc': \"stat /usr/lib/cri-o-runc/sbin/runc: no such file or directory\"" file="crio/main.go:354"
Dec 28 19:58:57 dev-node19 systemd[1]: crio.service: Main process exited, code=exited, status=1/FAILURE
0 -
what show you
sudo journalctl -xe -u crio.service?0 -
0 -
Does anyone here know what is the error is here?
0 -
Hi @nicocerquera,
Can you provide a history of commands executed to install crictl, and the version of cri-o?
Regards,
-Chris0 -
issue resolved thank you
-2 -
@nicocerquera said:
issue resolved thank youHow?
1 -
I'm no easily offended, but saying "issue resolved" without giving an explanation for future readers is the meanest thing you can do.
Anyway I had the same issue and for me it was because I used Ubuntu 18.04 LTS for the VM instance image. Once I changed to Ubuntu 20.04 LTS everything was working fine and I was able to proceed with the course. I hope this helps someone.
1
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 755 Linux Foundation IT Professional Programs
- 375 Cloud Engineer IT Professional Program
- 170 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 5 DevOps & GitOps IT Professional Program
- 100 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 2 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 5 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 2 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 794 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 89 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 112 Mobile Computing
- 20 Android
- 77 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 393 Off Topic
- 121 Introductions
- 182 Small Talk
- 29 Study Material
- 980 Programming and Development
- 310 Kernel Development
- 652 Software Development
- 995 Software
- 387 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
