Bom dia pessoa. vejo que estes posts tem 2 anos, mas apenas descobri o evaristo hoje e gostaria de instalar mas deparei-me com:
+ LOG_FILE=install.log
+ echo 'MpBiz 4-7-1 install'
+ date
+ echo ''
+ DB_NAME=mpb4-7-1-demo
+ DB_USER=m16e
+ DB_HOST=127.0.0.1
+ '[' 0 == 0 ']'
+ echo 'No args...'
No args...
+ echo 'Assuming defaults'
Assuming defaults
+ echo 'DB: ' mpb4-7-1-demo
+ echo 'User: ' m16e
+ echo 'Host: ' 127.0.0.1
++ psql -U m16e -h 127.0.0.1 -l
++ grep 'mpb4-7-1-demo '
Password for user m16e:
psql: FATAL: password authentication failed for user "m16e"
FATAL: password authentication failed for user "m16e"
+ DB_EXISTS=
+ '[' -z '' ']'
+ echo 'drop DB skipped'
+ echo 'drop DB skipped'
drop DB skipped
+ echo -n .
.+ echo ''
+ echo =========================================================
+ echo 'Creating DB...'
+ createdb -h 127.0.0.1 -O m16e -U m16e -E UTF-8 -T m16e mpb4-7-1-demo
Password:
Password:
+ '[' 1 '!=' 0 ']'
+ echo ''
+ echo 'createdb FAILED!'
createdb FAILED!
+ exit 1
alameira@mbayana:~/Desktop/evaristo-4-7-2$ sudo ./install.sh
+ LOG_FILE=install.log
+ echo 'MpBiz 4-7-1 install'
+ date
+ echo ''
+ DB_NAME=mpb4-7-1-demo
+ DB_USER=m16e
+ DB_HOST=127.0.0.1
+ '[' 0 == 0 ']'
+ echo 'No args...'
No args...
+ echo 'Assuming defaults'
Assuming defaults
+ echo 'DB: ' mpb4-7-1-demo
+ echo 'User: ' m16e
+ echo 'Host: ' 127.0.0.1
++ psql -U m16e -h 127.0.0.1 -l
++ grep 'mpb4-7-1-demo '
Password for user m16e:
psql: FATAL: password authentication failed for user "m16e"
FATAL: password authentication failed for user "m16e"
+ DB_EXISTS=
+ '[' -z '' ']'
+ echo 'drop DB skipped'
+ echo 'drop DB skipped'
drop DB skipped
+ echo -n .
.+ echo ''
+ echo =========================================================
+ echo 'Creating DB...'
+ createdb -h 127.0.0.1 -O m16e -U m16e -E UTF-8 -T m16e mpb4-7-1-demo
Password:
Password:
+ '[' 1 '!=' 0 ']'
+ echo ''
+ echo 'createdb FAILED!'
createdb FAILED!
+ exit 1
alguem ajuda?