How Can I Change the Service Boot Order in ubuntu server 10.04?

Solution 1:

As superuser run:

  1. update-rc.d -f opensips remove
  2. update-rc.d openspips defaults 99

Solution 2:

If you have /etc/init/opensips.conf then change its start on clause to include and started mysql. Or if you have /etc/init.d/opensips then add mysql to its Should-Start: and Should-Stop: clauses.