/konbanwa/ is a generic greeting used with everyone regardless of age or social ranking differences. Literally, it means "(How's) this evening?"
/oyasuminasai/ is a polite greeting. Literally, it means "(Have) a restful (night)."