trying to install errors with mysql

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

leeburstroghm
Posts: 19
Joined: Sat Nov 21, 2009 7:01 pm

trying to install errors with mysql

Post by leeburstroghm »

The install keeps telling me to install mysql server.

I am able to get to my MysqlServer with phpMyadmin.

This linux dedicated server is a whm cpanel environment. Why is the install script not finding mysql?

I am able to get into mysql by running
# mysql

also
/etc/init.d/mysql status
MySQL running (12637) [ OK ]

the install script tells me
OpenEMM Installer: RPM package(s) missing: mysql-server
Please install these packages with
'yum install mysql-server'

I do not understand. please help!
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

What Linux distribution are you using?
OpenEMM Maintainer
leeburstroghm
Posts: 19
Joined: Sat Nov 21, 2009 7:01 pm

Post by leeburstroghm »

This server is centos 5.4 final with WHM/Cpanel

I ended up going into the install script, remove the mysql-server rpm check and manually created the tables from the sql
mkom
Posts: 12
Joined: Tue Feb 02, 2010 6:50 pm

same here

Post by mkom »

I have the same issue.

Distr.: CentOS 5.4

Obviously there is no solution for this bug?

How do I "remove the mysql-server rpm check and manually created the tables from the sql"?

Thanks
mkom
Posts: 12
Joined: Tue Feb 02, 2010 6:50 pm

MySQL

Post by mkom »

Is there are any chance to solve this issue?
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

We neither know "whm cpanel environment" nor is it clear to us what you consider to be a bug. Please elaborate a bit.
OpenEMM Maintainer
mkom
Posts: 12
Joined: Tue Feb 02, 2010 6:50 pm

Error with OpenEMM-Installer-1.2.sh

Post by mkom »

The error appears as follows:

1. I run the OpenEMM-Installer-1.2.sh script following exactly the instructions in "OpenEMM Install and Administration Guide for OpenEMM 6.x.y.pdf".

2. The installer stops running with this error message:

"OpenEMM Installer: RPM package(s) missing: mysql-server
Please install these packages with
'yum install mysql-server'
"

3. BUT mysql-server IS already installed and running on my server since many months.

That's the same error the thread starter writes about.

But I don't run cPanel on my server. My server runs with CentOS 5.4 with all updates installed.

What I consider to be a bug is that the installer tells to install mysql-server but the mysql-server is already installed and running.

Is there a workaround or a possibility to install OpenEMM without the installer?

Thanks for a hint.
Last edited by mkom on Thu Feb 04, 2010 10:40 am, edited 1 time in total.
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

I just tried the script on my machine (CentOS 5.4) and it detected the RPMs without problem. What is the exact name of your mysql-server RPM?
OpenEMM Maintainer
mkom
Posts: 12
Joined: Tue Feb 02, 2010 6:50 pm

name of mysql-server RPM?

Post by mkom »

Where do I find the name of my mysql-server RPM you are asking for?

Are you talking about this name: "mysql-server-5.0.89-1.el5.art"?
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

That is strange, because I have an up to date CentOS 5.4 but the official version is 5.0.77-4.el5_4.1 right now. Looks like you use a different approach to update your RPMs which is not compatible with what OpenEMM expects.
OpenEMM Maintainer
mkom
Posts: 12
Joined: Tue Feb 02, 2010 6:50 pm

Post by mkom »

Yes, for some reasons I had to use the more up-to-date versions for MySQL and PHP then the official versions.

Does this mean, OpenEMM does not work with MySQL version 5.0.89 and up?

Is there any workaround to solve this problem?
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

In this case you should simply comment out the RPM check in the script. However, I wonder what output you get when you enter

Code: Select all

rpm -qa | grep mysql-server
at the shell prompt (this is the same command used by the script). Do you get "mysql-server-5.0.89-1.el5.art" back?
OpenEMM Maintainer
mkom
Posts: 12
Joined: Tue Feb 02, 2010 6:50 pm

Post by mkom »

Yes, I'm getting this back (really 2 identical lines):

Code: Select all

# rpm -qa | grep mysql-server
mysql-server-5.0.89-1.el5.art
mysql-server-5.0.89-1.el5.art
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Hm, this should not happen. Every RPM should only be listed once.
OpenEMM Maintainer
mkom
Posts: 12
Joined: Tue Feb 02, 2010 6:50 pm

Post by mkom »

ma wrote:In this case you should simply comment out the RPM check in the script.
I deleted the check for mysql-server and after that the installation did run successfully now.

Thanks for help.
Post Reply