Access Firebird Centos7 Database

Asked

Viewed 398 times

0

I normally installed Firebird 3.0.3 in Centos7 - Firebird-3.0.3.32900-0.amd64

[root@localhost firebird]# ps aux |grep firebird
firebird  1099  0.0  0.0  29644  1004 ?        S    17:22   0:02 /opt/firebird/bin/fbguard -pidfile /var/run/firebird/firebird.pid -daemon -forever
root     16444  0.0  0.0 112680   972 pts/0    R+   21:07   0:00 grep --color=auto firebird

trying to create a database:

[root@localhost bin]# ./isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database /home/teste.fdb page_size 8192 -user sysdba -password masterkey;
Statement failed, SQLSTATE = 42000
SQL error code = -104
-Token unknown
-/
SQL>

Trying to use gsec:

[root@localhost bin]# ./gsec -user SYSDBA -password masterkey
*** gsec is deprecated, will be removed soon ***

Changing the SYSDBA Password

[root@localhost bin]# ./gsec -user SYSDBA -password masterkey -database /opt/firebird/security3.fdb -modify sysdba -pw masterxxx
unable to open database
Could not find acceptable ICU library
[root@localhost bin]#

Installation Centos7

[root@localhost bin]#  cat /etc/*-release
CentOS Linux release 7.4.1708 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.4.1708 (Core)
CentOS Linux release 7.4.1708 (Core)
[root@localhost bin]#
  • what’s wrong?

  • Do not access the database in any way from the message: Unable to open database Could not find acceptable ICU library, tried to install it but does not let.

1 answer

0

Man Hundreds was not going out to the internet and therefore did not install the library ICU, then executed command:

dhclient eth1

and then:

yum install icu

Browser other questions tagged

You are not signed in. Login or sign up in order to post.