Hello all!
I’m trying to install freepbx 2.10 but I have this error and FreePBX doesn’t install…
Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Using username: asteriskuser
Using password: ******
Checking user…OK
Checking if Asterisk is running…running with PID: 1011…OK
Checking for /etc/amportal.conf…OK
Reading /etc/amportal.conf…parsed amp_conf variables from /etc/amportal.conf:
amp_conf [AMPDBHOST] => [localhost]
amp_conf [AMPDBENGINE] => [mysql]
amp_conf [AMPENGINE] => [asterisk]
amp_conf [AMPMGRUSER] => [mv /etc/asterisk/features.conf /etc/asterisk/features.conf.old]
amp_conf [AMPMGRPASS] => [mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.old]
amp_conf [AMPBIN] => [mv /etc/asterisk/confbridge.conf /etc/asterisk/confbridge.conf.old]
amp_conf [AMPSBIN] => [/usr/local/sbin]
amp_conf [AMPWEBROOT] => [mv /etc/asterisk/extensions.conf /etc/asterisk/extensions.conf.old]
amp_conf [AMPCGIBIN] => [/var/www/cgi-bin ]
amp_conf [FOPWEBROOT] => [/var/www/html/panel]
amp_conf [FOPPASSWORD] => [passw0rd]
amp_conf [AUTHTYPE] => [database]
amp_conf [AMPEXTENSIONS] => [mv /etc/asterisk/chan_dahdi.conf /etc/asterisk/chan_dahdi.conf.old]
amp_conf [AMPDBUSER] => [asteriskuser]
amp_conf [AMPDBPASS] => [amp109]
amp_conf [AMPWEBADDRESS] => [mv /etc/asterisk/ccss.conf /etc/asterisk/ccss.conf.old]
amp_conf [AMPDBNAME] => [asterisk]
amp_conf [ASTETCDIR] => [/etc/asterisk]
amp_conf [ASTMODDIR] => [/usr/lib/asterisk/modules]
amp_conf [ASTVARLIBDIR] => [/var/lib/asterisk]
amp_conf [ASTAGIDIR] => [/var/lib/asterisk/agi-bin]
amp_conf [ASTSPOOLDIR] => [/var/spool/asterisk]
amp_conf [ASTRUNDIR] => [/var/run/asterisk]
amp_conf [ASTLOGDIR] => [/var/log/asterisk]
OK
Checking for /etc/asterisk/asterisk.conf…OK
Reading /etc/asterisk/asterisk.conf…OK
Using asterisk as PBX Engine
Checking for Asterisk version…10.11.1
Checking for selinux…OK
Connecting to database…OK
Checking current version of AMP…2.10.0
Installing new FreePBX files…OK (564 files copied, 0 skipped)
Configuring install for your environment…mv: target asterisk' is not a directory mv: target
asterisk’ is not a directory
mv: target asterisk' is not a directory mv: target
asterisk’ is not a directory
mv: target asterisk' is not a directory mv: target
asterisk’ is not a directory
amportal…no fpbx…chmod: cannot access mv': No such file or directory chmod: cannot access
/etc/asterisk/confbridge.conf.old/freepbx_engine’: Not a directory
freepbx_engine…chmod: cannot access mv': No such file or directory chmod: cannot access
/etc/asterisk/confbridge.conf.old/freepbx_setting’: Not a directory
freepbx_setting…chmod: cannot access mv': No such file or directory chmod: cannot access
/etc/asterisk/confbridge.conf.old/gen_amp_conf.php’: Not a directory
gen_amp_conf.php…done
mv: target error' is not a directory mv: target
asterisk’ is not a directory
mv: target asterisk' is not a directory mv: target
asterisk’ is not a directory
mv: target asterisk' is not a directory mv: target
asterisk’ is not a directory
mv: target asterisk' is not a directory mv: target
localhost’ is not a directory
apply username/password changes to conf files:
running apply_conf.sh from freepbx_settings
Bootstrapping Configuration Settings
FreePBX config file not found!
specificy amportal.conf as argument if FreePBX is not yet installed
done with apply_conf.sh
creating missing #include files…OK
OK
Setting permissions on files…/etc/asterisk/features.conf: line 1: syntax error near unexpected token ;' /etc/asterisk/features.conf: line 1:
;’
/etc/asterisk/sip.conf: line 1: syntax error near unexpected token ;' /etc/asterisk/sip.conf: line 1:
;’
/etc/asterisk/confbridge.conf: line 1: [general]: command not found
/etc/asterisk/confbridge.conf: line 2: syntax error near unexpected token ;' /etc/asterisk/confbridge.conf: line 2:
; The general section of this config’
/etc/asterisk/extensions.conf: line 1: syntax error near unexpected token ;' /etc/asterisk/extensions.conf: line 1:
; extensions.conf - the Asterisk dial plan’
/etc/asterisk/chan_dahdi.conf: line 1: syntax error near unexpected token ;' /etc/asterisk/chan_dahdi.conf: line 1:
;’
/etc/asterisk/ccss.conf: line 1: syntax error near unexpected token ;' /etc/asterisk/ccss.conf: line 1:
;‘
OK
Checking for upgrades…No further upgrades necessary
Creating or updating freepbx_conf settings…PHP Notice: Undefined index: mainstyle_css_generated in /usr/src/freepbx-2.10.0/libfreepbx.install.php on line 2214
…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
mv: unrecognized option --run-install' Try
mv --help’ for more information.
Generating AMP configs…OK
Checking fw_ari… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking featurecodeadmin… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking core… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking cdr… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking voicemail… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking dashboard… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking infoservices… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking framework… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking music… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking customappsreg… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking recordings… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
dependencies pending
Checking fw_ari… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking featurecodeadmin… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking core… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking cdr… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking voicemail… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking dashboard… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking infoservices… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking framework… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking music… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking customappsreg… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Checking recordings… mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
mv: unrecognized option --no-warnings' Try
mv --help’ for more information.
installed
Please update your modules and reload Asterisk by visiting http://mv /etc/asterisk/ccss.conf /etc/asterisk/ccss.conf.old/admin
Can anyone help me?
Thanks