Pivotal Knowledge Base


Bosh and Stemcell are not Pre-Start Compatible


  • Pivotal Cloud Foundry® (PCF) versions 1.10 and above
  • P-Mysql versions from 1.8.0 to 1.8.4


You encounter the following error:

This bosh version and/or stemcell version is not pre-start compatible


Operators might see this when a restart of MySQL server virtual machine occurs but is not initiated by the Bosh Director. As a result, the prestart_marker file will not exist and mariadb_ctrl will not be able to start MySQL.


This problem has been fixed in P-MySQL 1.8.5 via this commit.


If you are not able to update to 1.8.5, use the following around to resolve this issue:

mkdir /var/vcap/sys/run/mariadb_ctl
touch /var/vcap/sys/run/mariadb_ctl/prestart_marker
chown vcap:vcap -R /var/vcap/sys/run/mariadb_ctl



  • Avatar
    Olivia Smith

    is there any other step we need to perform after the workaround above.
    As i am still getting the same messages in the /var/vcap/sys/log/mysql/mariadb_ctl.err.log and
    /var/vcap/bosh/bin/monit summary
    The Monit daemon 5.2.5 uptime: 8m

    Process 'mariadb_ctrl' Execution failed
    Process 'galera-healthcheck' running
    Process 'gra-log-purger-executable' running
    Process 'cluster_health_logger' Execution failed
    Process 'streaming-mysql-backup-tool' running
    System 'system_localhost' running

Powered by Zendesk