odd debian 12 new server issue - when it restarts from power fail....

Discussion in 'ISPConfig 3 Priority Support' started by craig baker, Oct 3, 2025.

  1. craig baker

    craig baker Member HowtoForge Supporter

    my shiny new deb12 server made with the automated installer has an odd feature.
    when I lose power (like building lost power last night), server comes back up, but when I ssh in, quite a few services are NOT running.
    dovecot, apache2 etc etc....

    when I manually sync;reboot all come up properly!
    how can I find out why they dont come up right the first time?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the logs, especially syslog. I doubt the issue is related to having installed your system with the auto-installer, as it does nothing different than what you do when you install it manually. When services start automatically upon reboot, they are configured correctly to start at boot. It's possible that your system started in safe mode due to a hard disk check.
     
    ahrasis likes this.
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    You should be able to configure Monit to do such a job for you for each services, e.g. to start, restart etc., if it found any of them not running, but monit is normally already installed and configured in an ISPConfig server, for such a thing. Just check them to be sure, and modify accordingly if needed.

    Unfortunately, the server booting into such a "safe mode" / "emergency" may also fail to start Monit, or any other custom script(s) as well, so for this situation, try to monitor the server externally as well (e.g. Zabbix, Pingdom, Uptime Robot).

    High available setup is also good if you have extra resources.
     

Share This Page