Not sure how this has happened, but the LAN cable came off from the Active node and we observed it Failed-over to secondary node in HA. When I moved it back to the Primary node, the whole phone system went down. I plugged in a monitor and keyboard to the Primary node and saw these errors:
PHP Warning: require_once(/var/www/html/admin/bootstrap.php): failed to open stream: No such file or directory in /etc/freepbx.conf on line 9
PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/admin/bootstrap.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /etc/freepbx.conf on line 9
PHP Warning: require_once(/var/www/html/admin/bootstrap.php): failed to open stream: No such file or directory in /etc/freepbx.conf on line 9
PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/admin/bootstrap.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /etc/freepbx.conf on line 9
While I was digging through to see what has happened, I came to know the drbd directory is empty on the Primary Box (this I moved to backup state) . I still see asterisk, httpd, mysql, spare under drbd but they are empty. Can you please help me on how to recover them back?
Can I just copy the drbd directory from the other node and paste it this unit?