Firebird. Установка СУБД в Oracle Linux 6 (с помощью yum)


Запускаем установку Firebird:
yum install firebird

У меня возникла ошибка:
Transaction Check Error:
file /usr/lib64/libib_util.so from install of firebird-2.5.7.27050.0-1.el6.x86_64 conflicts with file from package FirebirdSS-2.5.9.27139-0.amd64
file /usr/lib64/libfbclient.so.2 from install of firebird-libfbclient-2.5.7.27050.0-1.el6.x86_64 conflicts with file from package FirebirdSS-2.5.9.27139-0.amd64
причина ошибки установленный ранее дистрибутив Firebird из rpm

Выполняем удаление и повторяется установку:
$ sudo rpm -e FirebirdSS-2.5.9.27139-0.amd64
$ sudo yum install firebird
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package firebird.x86_64 0:2.5.7.27050.0-1.el6 will be installed
--> Processing Dependency: firebird-arch = 2.5.7.27050.0-1.el6 for package: firebird-2.5.7.27050.0-1.el6.x86_64
--> Processing Dependency: firebird-filesystem for package: firebird-2.5.7.27050.0-1.el6.x86_64
--> Processing Dependency: firebird-libfbclient for package: firebird-2.5.7.27050.0-1.el6.x86_64
--> Processing Dependency: libfbclient.so.2()(64bit) for package: firebird-2.5.7.27050.0-1.el6.x86_64
--> Processing Dependency: libfbembed.so.2.5()(64bit) for package: firebird-2.5.7.27050.0-1.el6.x86_64
--> Running transaction check
---> Package firebird-filesystem.x86_64 0:2.5.7.27050.0-1.el6 will be installed
---> Package firebird-libfbclient.x86_64 0:2.5.7.27050.0-1.el6 will be installed
---> Package firebird-libfbembed.x86_64 0:2.5.7.27050.0-1.el6 will be installed
---> Package firebird-superserver.x86_64 0:2.5.7.27050.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================
Package Arch Version Repository Size
=============================================================================================
Installing:
firebird x86_64 2.5.7.27050.0-1.el6 epel 668 k
Installing for dependencies:
firebird-filesystem x86_64 2.5.7.27050.0-1.el6 epel 10 k
firebird-libfbclient x86_64 2.5.7.27050.0-1.el6 epel 288 k
firebird-libfbembed x86_64 2.5.7.27050.0-1.el6 epel 1.6 M
firebird-superserver x86_64 2.5.7.27050.0-1.el6 epel 2.6 M

Transaction Summary
=============================================================================================
Install 5 Package(s)

Total size: 5.1 M
Installed size: 18 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : firebird-libfbclient-2.5.7.27050.0-1.el6.x86_64 1/5
Installing : firebird-filesystem-2.5.7.27050.0-1.el6.x86_64 2/5
Installing : firebird-libfbembed-2.5.7.27050.0-1.el6.x86_64 3/5
Installing : firebird-superserver-2.5.7.27050.0-1.el6.x86_64 4/5
firebird:x:84:
Installing : firebird-2.5.7.27050.0-1.el6.x86_64 5/5
Verifying : firebird-2.5.7.27050.0-1.el6.x86_64 1/5
Verifying : firebird-libfbembed-2.5.7.27050.0-1.el6.x86_64 2/5
Verifying : firebird-superserver-2.5.7.27050.0-1.el6.x86_64 3/5
Verifying : firebird-filesystem-2.5.7.27050.0-1.el6.x86_64 4/5
Verifying : firebird-libfbclient-2.5.7.27050.0-1.el6.x86_64 5/5

Installed:
firebird.x86_64 0:2.5.7.27050.0-1.el6

Dependency Installed:
firebird-filesystem.x86_64 0:2.5.7.27050.0-1.el6
firebird-libfbclient.x86_64 0:2.5.7.27050.0-1.el6
firebird-libfbembed.x86_64 0:2.5.7.27050.0-1.el6
firebird-superserver.x86_64 0:2.5.7.27050.0-1.el6

Complete!

Разрешаем подключение к порту firebird (3050 - по умолчанию):
$ sudo iptables -I INPUT 1 -p tcp --dport 3050 -j ACCEPT

Далее, запускаем:

$ /etc/init.d/firebird-superserver start
chown: changing ownership of `/var/run/firebird': Operation not permitted
chown: changing ownership of `/tmp/f
irebird': Operation not permitted
Starting Firebird server [default] /usr/bin/dirname: extra operand `-daemon'
Try `/usr/bin/dirname --help' for more information.
runuser: using restricted shell /bin/false
runuser: cannot set groups: Operation not permitted
                                                           [FAILED]

Не хватает прав, поэтому выполняем с sudo:
$ sudo /etc/init.d/firebird-superserver start
Starting Firebird server [default] /usr/bin/dirname: extra operand `-daemon'
Try `/usr/bin/dirname --help' for more information.
                                                           [  OK  ]

Почитать:

Комментарии

Популярные сообщения из этого блога

Linux (РедОС). Сброс пароля

TRUNCATE / DELETE / DROP или как очистить таблицу

КБК. КВФО - Код вида финансового обеспечения (деятельности)

SQL Error [53200]: ОШИБКА: нехватка разделяемой памяти Подсказка: Возможно, следует увеличить параметр max_locks_per_transaction

РедОС. Подключение к сетевой папке