Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error executing action restart on resource 'service[network]' #71

Open
SudBisht opened this issue Jun 26, 2023 · 1 comment
Open

Error executing action restart on resource 'service[network]' #71

SudBisht opened this issue Jun 26, 2023 · 1 comment

Comments

@SudBisht
Copy link

SudBisht commented Jun 26, 2023

getting this issue withRHEL8

Issue:
Recipe: hostname::default
service[network] action restart

================================================================================
Error executing action restart on resource 'service[network]'

Mixlib::ShellOut::ShellCommandFailed

Expected process to exit with [0], but received '5'
---- Begin output of /bin/systemctl --system restart network ----
STDOUT:
STDERR: Failed to restart network.service: Unit network.service not found.
---- End output of /bin/systemctl --system restart network ----
Ran /bin/systemctl --system restart network returned 5

@aminclip
Copy link

aminclip commented Sep 5, 2023

Hi there, I have the same issue with this cookbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants