Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Service pf9-kube fails to start because of a corrupted sudoers file
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
The host is stuck in converging state, as service pf9-kube fails to start with the following errors seen in kube.log
[2019-09-24 06:21:43] Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.27/containers/json?filters=%7B%22name%22%3A%7B%22etcd%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission deniedChecking the sudo status for the pf9 group will give an error similar to
$ sudo groups pf9>>> /etc/sudoers: syntax error near line 2 <<<sudo: parse error in /etc/sudoers near line 2sudo: no valid sudoers sources found, quittingsudo: unable to initialize policy pluginEnvironment
- Platform9 Managed Kubernetes - All Versions
Cause
- Syntax error or a typo in the sudoers file results in service pf9-kube not starting.
Resolution
- Login to the Node with the Root credentials.
- Use visudo to edit the sudoers file to resolve the error which is highlighted in the sudo groups pf9 output as shown above in the problem section.
Additional Information
- If your Node was created without a default root account, refer to our article on how to login to rescue shell.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message