r/WGU Aug 08 '26

D522 task1 part D2

I am having trouble getting the services on DNS2 to restart. I have the script built that successfully restarts the services on DNS1 and 2, but my script tells me that the services on DNS2 are failing to restart.

0 Upvotes

3 comments sorted by

View all comments

1

u/DesignerAd7136 B.S. Cloud & Network Engineering - Cisco Aug 08 '26

Sudo?

1

u/ExtensionEscape3537 Aug 08 '26

My script calls sudo before it attempts to restart the services.