tester

Registered
May 9, 2002
4
0
301
Hi!

I just got a new dedicated server with cPanel and WMH installed on it (RedHat 7.3, VMH 4.8.0 and cPanel 4.8.0-11). Till now I really appreciate. I got some little problems during installation and everything is working fine excepted for one script.

I have one client that runs a simple postcard interface (written in perl) that contains 5 scripts corresponding to the 5 steps needed to post the card.

Four of those cgi scripts are working OK but the last one, the one that should connect to the database and mail everything gives an 500 internal error. Permission is set to 755.

I disable suexec and no change.

I reinstalled DBI by /scripts/installdbi and no error - no change.

Is there someone that could tell me what to do? I have no more idea about the cause of that problem...:p

Thank you!
 

tester

Registered
May 9, 2002
4
0
301
Yes DBD::mysql is installed.

You know, that script uses the same database, user and password than some other PHP scripts and everything connects fine with thoses values.

That script was working fine on the old server. I transfered it to my local personal server (RedHat 7.3) and it works here too.

I don't know what to think about.

Thank you to try to help me!
 

kwimberl

Well-Known Member
Aug 13, 2001
123
0
316
I think I might actually know you tester from a past life. LOL

Anyway, try this and see if it helps. Delete the user from the db in CPanel then readd the user to the db. After you have done this, restart mySQL.

If that doesn't work, find me on AIM (kwimberl) and I'll see what we can figure out.
 

tester

Registered
May 9, 2002
4
0
301
Thank you Kwimberl. Everything is ok now. The user was using the same password for this user than for his MySql's admin one.

Thanks again.