PURPOSE: This randomized phase III trial is studying how well valerian improves the quality of sleep in patients who are receiving adjuvant therapy (radiation therapy, chemotherapy, or hormone therapy) for cancer.