Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation hang on redhat box


oscean

Recommended Posts

Posted

:angry:

 

Please, some one help me!

My frustration level goes up to the roof......

 

I have 2 machines with same os(redhat ES 3.0), same version of mysql(3.23) and same php(4.3.2) installed.

 

Only the difference is network(ip address, hostname, dns etc) setting.

One is the test machine, so it has localhost for hostname.

I installed osCommerce and it went smooth no problem at all.

 

So I tried the samething on 2nd machine.

I created osCommerse database in mysql and created tables menually.

I created a user with all privilage and gave access priviliage from localhost, machine's ip address, and hostname.

I tested with mysql command and verified the user have access privilage.

 

And I copied catalog dir to /var/www/html, which is apatch home.

And then launched the install page.

 

every time I try, installation hangs right after input database information(Database server, username, password, database name, session storage) and press Continue button.

So I looked at the source code in install dir and I found that it hang when it try to connect to mysql database.

The install page try to connect the database, but it never return.

So install hangs and leave incomplete page.

Anyone knows how to get around this problem?

Thanks in advance.

Posted

it has to be a permissions problem with the server & mysql, try to connect via mysql connector (you can get this from mysql) and see what happens.

Posted

I used following commmand and it connect to the database and that user can see all the tables in the database.

> mysql -u osc -p

  • 10 months later...
Posted

Did you figure this out?

 

I am having the same problem... I have a RedHat 7.2 with MySQL and PHP 4.0.6 installed. The installation is done on intranet server. The installation just hangs at step 2. I did successfully install osCommerce on a Windows box.

 

Any ideas?

Posted

yes, I did.

However, it's been almost an year ago.

I do not remmember exactly how I solved the problem.

 

If I remember correctly, I forgot to install php-mysql rpm package.

check if you have all the required package installed.

 

Good luck to you.

Posted
yes, I did.

However, it's been almost an year ago.

I do not remmember exactly how I solved the problem.

 

If I remember correctly, I forgot to install php-mysql rpm package.

check if you have all the required package installed.

 

Good luck to you.

 

Thanks for your reply. You're correct... php-mysql was the problem. I actually figured it out even before your post, but thanks anyway. For a while there, I thought that this forum was dead since no one answered your questions.

 

For the sake of those who've come here in search of answers to the same problem, here is what I had to do to get this going:

 

I downloaded php-mySQL-4.0.6-7.i386.rpm, which corresponds to my PHP version. The RPM package was downloaded from ftp://ftp.rediris.es/sites/ftp.redhat.com....0.6-7.i386.rpm

I also downloaded Dynamic client libraries for MySQL from http://dev.mysql.com/downloads/mysql/4.1.html, because my php-mysql install complained that mysqlclient.so.10 was needed.

To install php-mysql, do rpm -ivh php-mySQL-4.0.6-7.i386.rpm

 

 

NOTE: Restart httpd

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...