Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Job for NetworkManager.service failed because the control process exited with error code.

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
WaltzNightray
Posts: 9
Joined: 2023-08-29 14:56
LinkedIN: https://www.linkedin
Has thanked: 4 times

[Solved] Job for NetworkManager.service failed because the control process exited with error code.

#1 Post by WaltzNightray »

Hello guys,

Having some issues with Network-Manager which is not starting, although I strangely do still have networking.

Here is the result for trying to start it

Code: Select all

sudo systemctl start NetworkManager
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xeu NetworkManager.service" for details.
And here is the result of journalctl

Code: Select all

journalctl -xeu NetworkManager.service
nov 24 11:04:58 pc-quarto systemd[1]: Stopped NetworkManager.service - Network Manager.
░░ Subject: A stop job for unit NetworkManager.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A stop job for unit NetworkManager.service has finished.
░░ 
░░ The job identifier is 6531 and the job result is done.
nov 24 11:04:58 pc-quarto systemd[1]: NetworkManager.service: Start request repeated too quickly.
nov 24 11:04:58 pc-quarto systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ The unit NetworkManager.service has entered the 'failed' state with result 'exit-code'.
nov 24 11:04:58 pc-quarto systemd[1]: Failed to start NetworkManager.service - Network Manager.
░░ Subject: A start job for unit NetworkManager.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░ 
░░ A start job for unit NetworkManager.service has finished with a failure.
░░ 
░░ The job identifier is 6531 and the job result is failed.
All I get is that this job is failing to start or finish, but not sure on what is it.

Any ideas on how to solve it is greatly appreciated.
Last edited by WaltzNightray on 2023-11-25 18:33, edited 1 time in total.

Aki
Global Moderator
Global Moderator
Posts: 3086
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Job for NetworkManager.service failed because the control process exited with error code.

#2 Post by Aki »

Hello,

Maybe the suggested command:

Code: Select all

systemctl status NetworkManager.service
could give you more clues.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

WaltzNightray
Posts: 9
Joined: 2023-08-29 14:56
LinkedIN: https://www.linkedin
Has thanked: 4 times

Re: Job for NetworkManager.service failed because the control process exited with error code.

#3 Post by WaltzNightray »

Aki wrote: 2023-11-24 21:17 Hello,

Maybe the suggested command:

Code: Select all

systemctl status NetworkManager.service
could give you more clues.
Hello Aki

Thanks for your reply.

Follows bellow the result:

Code: Select all

sudo systemctl status NetworkManager
× NetworkManager.service - Network Manager
     Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sat 2023-11-25 14:27:54 -03; 11min ago
   Duration: 23ms
       Docs: man:NetworkManager(8)
    Process: 1526 ExecStart=/usr/sbin/NetworkManager --no-daemon (code=exited, status=1/FAILURE)
   Main PID: 1526 (code=exited, status=1/FAILURE)
        CPU: 27ms

nov 25 14:27:54 pc-quarto systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 5.
nov 25 14:27:54 pc-quarto systemd[1]: Stopped NetworkManager.service - Network Manager.
nov 25 14:27:54 pc-quarto systemd[1]: NetworkManager.service: Start request repeated too quickly.
nov 25 14:27:54 pc-quarto systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
nov 25 14:27:54 pc-quarto systemd[1]: Failed to start NetworkManager.service - Network Manager.
Not so much to work with, at least at first glance

Aki
Global Moderator
Global Moderator
Posts: 3086
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Job for NetworkManager.service failed because the control process exited with error code.

#4 Post by Aki »

Hello,
You can try:

Code: Select all

script NetworkManager.log
sudo /usr/sbin/NetworkManager --no-daemon --log-level=DEBUG
sudo journalctl -b --no-pager -u NetworkManager.service
exit
The logs should be in the file named NetworkManager.log
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

WaltzNightray
Posts: 9
Joined: 2023-08-29 14:56
LinkedIN: https://www.linkedin
Has thanked: 4 times

Re: Job for NetworkManager.service failed because the control process exited with error code.

#5 Post by WaltzNightray »

Aki wrote: 2023-11-25 17:47 Hello,
You can try:

Code: Select all

script NetworkManager.log
sudo /usr/sbin/NetworkManager --no-daemon --log-level=DEBUG
sudo journalctl -b --no-pager -u NetworkManager.service
exit
The logs should be in the file named NetworkManager.log
Aki,

Thanks for your help! I found out that there was configuration file for my VPN in the /conf.d folder being loaded together with the NetworkManager config. Not sure how this messed up the service, but removing that file from there solved the issue and NetworkManager service is fine now.

My VPN is not connecting anymore, but I can use it in another computer, so it's kinda fine now...

Thank you very much, this may be considered as resolved for now.

Aki
Global Moderator
Global Moderator
Posts: 3086
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Job for NetworkManager.service failed because the control process exited with error code.

#6 Post by Aki »

WaltzNightray wrote: 2023-11-25 18:32 Thanks for your help! I found out that there was configuration file for my VPN in the /conf.d folder being loaded together with the NetworkManager config. Not sure how this messed up the service, but removing that file from there solved the issue and NetworkManager service is fine now.

My VPN is not connecting anymore, but I can use it in another computer, so it's kinda fine now...

Thank you very much, this may be considered as resolved for now.
I'm happy you got sorted :D
Happy Debian! :D
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply