The star of large mass $M$ is orbited by planets of masses $m_1$ and $m_2$. The energy conservation equation for this system is$$\frac{1}{2}m_{1}v_{1}^{2}+\frac{1}{2}m_{2}v_{2}^{2}-MG\left(\frac{m_1}{r_1}+
\frac{m_2}{r_2}\right)-\frac{m_1m_2G}{r_{12}}=E,$$where $v_1$, $v_2$ are the velocities of the two planets, and $E$ is the constant total energy.
Since the mass of the star is supposed to be very much larger than the planetry masses, its motion has been neglected.
This is an example from the book Classical Mechanics by R. Douglas Gregory. In the book, he says
Since this system has six degrees of freedom (four if the motions are confined to a plane through $O$), the energy conservation equation is by no means sufficient to determine the motion!
While I understand the fact that this system has 6 degrees off freedom, I can't quite understand why the energy conservation equation would not be sufficient to determine the motion.