ERROR autoconfig-users.sh
Dear FOP2 Team,
I try instal fop2 from source (fop2-2.29.00-centos-x86_64.tgz) on elastix 2.5.
I if run from CLI
sh /usr/local/fop2/autoconfig-users.sh the error show like this below
[root@localhost fop2]# sh autoconfig-users.sh
autoconfig-users.sh: line 109: syntax error near unexpected token `<'
autoconfig-users.sh: line 109: `done < <( mysql -NB -u $DBUSER $DBPASS -h $DBHOST $DBNAME -e "SHOW tables FROM \`$DBNAME\` LIKE 'fop2users'"; )'
Can u help me solve this issue?
Thanks
I try instal fop2 from source (fop2-2.29.00-centos-x86_64.tgz) on elastix 2.5.
I if run from CLI
sh /usr/local/fop2/autoconfig-users.sh the error show like this below
[root@localhost fop2]# sh autoconfig-users.sh
autoconfig-users.sh: line 109: syntax error near unexpected token `<'
autoconfig-users.sh: line 109: `done < <( mysql -NB -u $DBUSER $DBPASS -h $DBHOST $DBNAME -e "SHOW tables FROM \`$DBNAME\` LIKE 'fop2users'"; )'
Can u help me solve this issue?
Thanks
Comments
Thanks
I am not sure if it will work, but you can try to modify the script a little bit, find this line:
And change it to
Or try changing your password to one without a special char like < > !
If you modify autoconfig-users.sh and it works, then you will also have to modify autoconfig-buttons.sh
The script is correct, no problem if i using sign !!! <> for password.
I must run ./autoconfig-buttons.sh but if i run using command sh autoconfig-buttons.sh display error.
Thanks
/usr/local/fop2/autoconfig-users.sh
And nothing else.