This phase I trial studies the side effects and best dose of entinostat in treating pediatric patients with solid tumors that have come back or have not responded to treatment. Entinostat may block some of the enzymes needed for cell division and it may help to kill tumor cells.