Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Beta 1

These questions and answers cover FreePBX-HA Beta 1. It's expected that any 'manual' solutions outlined in this document will be automatic, or not require command line usage, in the future.

Problem: httpd_service won't start on freepbx-b

httpd_service was discovered to be unknown error on freepbx-b

It is possible for the installer to not complete the migration of httpd on the second server. You can check this by sshing to freepbx-b and checking the /etc/httpd directory

-bash-4.1$ hostname
freepbx-b
-bash-4.1$ ls -ald /etc/httpd
drwxr-xr-x. 4 root root 4096 Nov 10 10:47 /etc/httpd

Notice how this is NOT a symlink. A correctly migrated node should look like this:

-bash-4.1$ ls -ald /etc/httpd
lrwxrwxrwx 1 root root 15 Nov 12 13:51 /etc/httpd -> /drbd/httpd/etc
-bash-4.1$

(Note that it will be red if that service is not running on that note. This is to be expected)

Resolution

On freepbx-b, run these commands:

cd /var/www/html/admin/modules/freepbx_ha
./moveapache.php

You will see several screens of WARNING's, but after that's completed, checking the /etc/httpd directory will then show the symlink as expected. 

To ensure the cluster is aware that this problem is fixed, reboot the freepbx-b node.

 

 
  • No labels