Page MenuHomePhabricator

Error during Installation of Phabricator
Closed, ResolvedPublic

Description

Hi Team,

I am a Technology Analyst from Infosys Limited, Chennai. I am trying to install Phabricator in RHEL 6.5 OS for my project.
As per the Installation guide the following pre-requistes are arranged.

  1. RHEL 6.5 version OS

Linux BL4UL042 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

  1. Apache 2.2.15 version [qantasadm@BL4UL042] /FIN110/QAN_FIN/FIN_BE/Finacle/FC/app/services/finlistval/bin> rpm -qa | grep httpd

httpd-2.2.15-29.el6_4.x86_64
httpd-devel-2.2.15-29.el6_4.x86_64
httpd-tools-2.2.15-29.el6_4.x86_64

  1. MySQL 5.6.13 version

mysql Ver 14.14 Distrib 5.6.13, for Linux (x86_64) using EditLine wrapper

  1. php 5.3.3 version

[qantasadm@BL4UL042] /FIN110/qantasadm> php --version
PHP 5.3.3 (cli) (built: Aug 19 2013 05:50:20)

  1. git 1.7.1 version

[qantasadm@BL4UL042] /etc> git --version
git version 1.7.1

Once the above pre-requistes are ready, we exceuted the script - install_rhel-derivs.sh .
The following logs are seen in Linux console
[root@BL4UL042 PHABRICATOR]# ./install_rhel-derivs.sh
PHABRICATOR RED HAT DERIVATIVE INSTALLATION SCRIPT
This script will install Phabricator and all of its core dependencies.
Run it from the directory you want to install into.

Phabricator will be installed to: /FIN110/qantasadm/Softwares/PHABRICATOR.
Press RETURN to continue, or ^C to cancel.

Testing sudo/root...
Dropping to yum to install dependencies...
Running: yum install httpd git php php-cli php-mysql php-process php-devel php-gd php-pecl-apc php-pecl-json php-mbstring mysql-server
Yum will prompt you with [Y/n] to continue installing.
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
No package php-process available.
No package php-devel available.
No package php-mbstring available.
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-29.el6_4 will be updated
--> Processing Dependency: httpd = 2.2.15-29.el6_4 for package: httpd-devel-2.2.15-29.el6_4.x86_64
---> Package httpd.x86_64 0:2.2.15-39.el6 will be an update
--> Processing Dependency: httpd-tools = 2.2.15-39.el6 for package: httpd-2.2.15-39.el6.x86_64
---> Package mysql-server.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: mysql-server-5.1.73-3.el6_5.x86_64
---> Package php.x86_64 0:5.3.3-26.el6 will be updated
---> Package php.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-cli.x86_64 0:5.3.3-26.el6 will be updated
---> Package php-cli.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-common.x86_64 0:5.3.3-26.el6 will be updated
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be an update
---> Package php-gd.x86_64 0:5.3.3-40.el6_6 will be installed
---> Package php-mysql.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: php-pdo(x86-64) for package: php-mysql-5.3.3-40.el6_6.x86_64
---> Package php-pecl-apc.x86_64 0:3.1.9-2.el6 will be installed
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-apc-3.1.9-2.el6.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-apc-3.1.9-2.el6.x86_64
--> Running transaction check
---> Package httpd-devel.x86_64 0:2.2.15-29.el6_4 will be updated
---> Package httpd-devel.x86_64 0:2.2.15-39.el6 will be an update
---> Package httpd-tools.x86_64 0:2.2.15-29.el6_4 will be updated
---> Package httpd-tools.x86_64 0:2.2.15-39.el6 will be an update
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be installed
---> Package mysql-libs.x86_64 0:5.1.73-3.el6_5 will be installed
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
---> Package php-pdo.x86_64 0:5.3.3-40.el6_6 will be installed
---> Package php-pear.noarch 1:1.9.4-4.el6 will be installed
--> Processing Conflict: mysql-server-5.1.73-3.el6_5.x86_64 conflicts MySQL-server
--> Finished Dependency Resolution
Error: mysql-server conflicts with MySQL-server-5.6.13-1.el6.x86_64
You could try using --skip-broken to work around the problem

  • Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:

xguest-1.0.9-2.el6.noarch has missing requires of policycoreutils-sandbox
The yum command failed. Please fix the errors and re-run this script.

I do not have clear idea about the error which is occurring. Kindly guide me.

Regards,
Vetri
Ph: +91 9488334050

Event Timeline

Vetri raised the priority of this task from to High.
Vetri updated the task description. (Show Details)
Vetri added a subscriber: Vetri.
epriestley added a subscriber: epriestley.

It looks like you already have a conflicting package installed already ("MySQL-server-5.6.13-1.el6.x86_64").

In general, this is outside of the scope of things we can help you with. Phabricator runs on a diverse array of systems and we don't have the manpower or expertise to build custom packages for each of them (see T4200) or resolve all of the environmental issues which may arise. Installing Phabricator requires that you be able to resolve common system administration issues on your own, including working with your system package manager. See:

https://secure.phabricator.com/book/phabricator/article/installation_guide/#level-requirements

Yeah. we have installed "MySQL-server-5.6.13-1.el6.x86_64".
But in the logs, we could see
"---> Package mysql-server.x86_64 0:5.1.73-3.el6_5 will be installed"
In the pre-requisites too, you have mentioned, 'MySQL 5.5 or above is required.
Then why is it searching for 5.1.73 version?

We don't require MySQL 5.5. The install guide says this:

MySQL: You need MySQL. We strongly recommend MySQL 5.5 or newer.

If you found something in the documentation that says MySQL 5.5 is required, let me know and I'll fix it.

The install_rhel-derivs.sh script just uses whatever version is stable in the OS's default package manager.

Just in case, if we uninstall, the exisiting 5.6.13 version of MySQL...will this yum command proceed to install the stable MySQL version(i.e., 5.1.73)?
As I am trying to install Phabricator for the first time, kindly guide with your inputs.