Lm317 problem

Have you looked at the datasheet? If that is the only thing that is connected to the ADJ pin... that might be your problem. You need feedback for the voltage reference.

This part is not designed to have its ADJ pin held to GND potential with no other connections.