I suspect you are going to have to address both codes as I doubt the same thing is causing both.
However, if you have oil in the vacuum system then I would replace the PCV as that is the most likely causes of that. Then the P2177 may be the purge solenoid so please run through the testing below for both codes and let us know what you find.
Let us know if you have questions as well. Thanks
Images (Click to enlarge)
Thursday, May 6th, 2021 AT 7:57 PM