Access Firebird CentOS7 Database

0

I usually installed firebird 3.0.3 on 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]#

CentOS7 Installation

[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]#
    
asked by anonymous 03.05.2018 / 02:33

1 answer

0

My CentOS was not going out on the internet and therefore did not install the ICU library, so I ran command:

dhclient eth1

then:

yum install icu
    
03.05.2018 / 17:30