Hello all
Trying to install FreePBX from tar ball
and getting error:
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking user…OK
Checking if Asterisk is running…running with PID: 773…OK
Checking for /etc/amportal.conf…/etc/amportal.conf does not exist, copying default
Creating new /etc/amportal.conf
Enter your USERNAME to connect to the ‘asterisk’ database:
[asteriskuser]
Enter your PASSWORD to connect to the ‘asterisk’ database:
[amp109]
Enter the hostname of the ‘asterisk’ database:
[localhost]
Enter a USERNAME to connect to the Asterisk Manager interface:
[admin]
Enter a PASSWORD to connect to the Asterisk Manager interface:
[amp111]
Enter the path to use for your AMP web root:
[/var/www/html]
/www/htdocs/pbx
Created /www/htdocs/pbx
Enter the IP ADDRESS or hostname used to access the AMP web-admin:
[xx.xx.xx.xx] 192.168.3.11
Enter a PASSWORD to perform call transfers with the Flash Operator Panel:
[passw0rd]
Use simple Extensions [extensions] admin or separate Devices and Users [deviceanduser]?
[extensions]
Enter directory in which to store AMP executable scripts:
[/var/lib/asterisk/bin]
Enter directory in which to store super-user scripts:
[/usr/local/sbin]
/etc/amportal.conf writtenAssuming new install, --install-moh added to command line
OK
Reading /etc/amportal.conf…OK
Checking for /etc/asterisk/asterisk.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Using asterisk as PBX Engine
Checking for Asterisk version…1.8.20.1
Checking for selinux…PHP Notice: Undefined offset: 0 in /usr/src/freepbx-2.9.0/install_amp on line 902
OK
Connecting to database…OK
Checking current version of AMP…2.10.0
Installing new FreePBX files…OK (764 files copied, 0 skipped)
linking libfreepbx.javascripts.js to theme/js…ok
Configuring install for your environment…amportal…fpbx…freepbx_engine…done
apply username/password changes to conf files…done
creating missing #include files…OK
OK
Setting permissions on files…chown: cannot access /var/www/html/admin': No such file or directory chmod: cannot access
/var/www/html/admin’: No such file or directory
chown: cannot access /var/www/html/panel': No such file or directory chmod: cannot access
/var/www/html/panel’: No such file or directory
chown: cannot access /var/www/html/recordings': No such file or directory chmod: cannot access
/var/www/html/recordings’: No such file or directory
chown: cannot access /var/www/html/_asterisk': No such file or directory chmod: cannot access
/var/www/html/panel/*.pl’: No such file or directory
chmod: cannot access `/var/www/html/panel/safe_opserver’: No such file or directory
OK
Checking for upgrades…No upgrades found
Creating or updating freepbx_conf settings…OK
Generating AMP configs…
Generating Configurations.conf, (if Asterisk is not running, you will get an error
In case of error, start Asterisk and hit the red bar in the GUI to generate the Configurations.conf files
Generating AMP configs…OK
PHP Notice: Undefined index: FOPRUN in /usr/src/freepbx-2.9.0/install_amp on line 1166
Checking recordings… dependencies pending
Checking core… The following error(s) occured:
- Cannot find module
The following error(s) occured: - Module core cannot be enabled
installed
Checking customappsreg… The following error(s) occured: - Cannot find module
The following error(s) occured: - Module customappsreg cannot be enabled
installed
Checking fw_fop… dependencies pending
Checking framework… The following error(s) occured: - Module framework cannot be enabled
enabled
Checking dashboard… The following error(s) occured: - Cannot find module
The following error(s) occured: - Module dashboard cannot be enabled
installed
Checking voicemail… The following error(s) occured: - Cannot find module
The following error(s) occured: - Module voicemail cannot be enabled
installed
Checking music… The following error(s) occured: - Cannot find module
The following error(s) occured: - Module music cannot be enabled
installed
Checking featurecodeadmin… The following error(s) occured: - Cannot find module
The following error(s) occured: - Module featurecodeadmin cannot be enabled
installed
Checking fw_ari… dependencies pending
Checking infoservices… The following error(s) occured: - Cannot find module
The following error(s) occured: - Module infoservices cannot be enabled
installed
Checking recordings… dependencies pending
Checking fw_fop… dependencies pending
Checking fw_ari… dependencies pending
Checking recordings… The following error(s) occured: - Cannot find module
The following error(s) occured: - Module recordings cannot be enabled
installed
Checking fw_fop… The following error(s) occured: - Module fw_fop cannot be enabled
enabled
Checking fw_ari… The following error(s) occured: - Module fw_ari cannot be enabled
enabled
Please update your modules and reload Asterisk by visiting http://192.168.3.11/admin
- Note: It’s possible that if you click the red ‘Update Now’ bar BEFORE *
- updating your modules, your machine will start dropping calls. Ensure *
- that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long *
- as this is observed, your machine will be fully functional whilst the *
- upgrade is in progress. *
what can be a problem here?