Hello and welcome to the support community.
First try resetting your iBook's PMU by following this guide.
If that fails to work, then it could be a problem with the memory module found under your keyboard.
You can try removing it and see if it request a restart or try replacing it with another module.(If you have one)
Other causes of this could be hard drive related.