Ticket #946 (closed defect: worksforme)

Opened 8 months ago

Last modified 6 months ago

ispcp-setup mysql password error

Reported by: andras@webmedia.hu Assigned to:
Priority: blocker Milestone: ispCP ω 1.0.0 - RC4
Component: Backend (Engine) Version:
Severity: Hard Keywords: mysql password error
Cc:

Description

I downloaded ispcp-omega-trunk-20080111.tar.bz2 for ubuntu. I successfully continued the manual installation until ispcp-setup script. I'd given the mysql root password, but I got the following:

ERROR: External command '/usr/bin/mysql --host=localhost --user=root --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1' status !

It looks like the password is not passed to the sql server. In the setup script I was unable the make changes to get the code work.

Attachments

Change History

01/12/08 00:26:17 changed by rats

  • milestone changed from ispCP ω 1.0.0 - RC3 to ispCP ω 1.0.0 - RC4.

disto specific -> RC4

(follow-ups: ↓ 5 ↓ 8 ) 01/17/08 16:10:45 changed by Billythekid

I have this error with debian4 so not distrospecific I guess? some updated mysql package?, I've tried both the lates 20080117 and one from 20071116 same error. Here is the one from 2007, (debug mode it seems)

DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/usr/bin /mysql --host=localhost --user=ispcp --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1' status ! DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/usr/bin/ mysql --host=localhost --user=ispcp --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2 >/tmp/db.sql.stderr' returned '1' status ! ERROR: External command '/usr/bin/mysql --host=localhost --user=ispcp --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1' status ! frombase:/var/www/ispcp/engine/setup#

01/18/08 13:59:56 changed by andras <andras@webmedia.hu>

Hi,

It's still in 20080118... Would you please look after it deeper?

02/05/08 13:59:09 changed by anonymous

Please fix this one before the RC3 release. Ubuntu is used by lots of people which won't be able to try out ispcp and report bugs untill the next rc. I would help if I could but I don't speak Perl.

(in reply to: ↑ 2 ) 02/07/08 10:47:18 changed by rats

Replying to Billythekid:

DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/usr/bin                                                                   /mysql --host=localhost --user=ispcp --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout                                                                    2>/tmp/db.sql.stderr' returned '1' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/usr/bin/                                                                   mysql --host=localhost --user=ispcp --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2                                                                   >/tmp/db.sql.stderr' returned '1' status !
ERROR: External command '/usr/bin/mysql --host=localhost --user=ispcp --pass= <                                                                    /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1' status !
frombase:/var/www/ispcp/engine/setup#

Reformated

02/17/08 14:52:27 changed by rats

  • severity set to Hard.
  • milestone changed from ispCP ω 1.0.0 - RC4 to Working.

02/17/08 22:52:32 changed by rats

  • milestone changed from Working to ispCP ω 1.0.0 - RC4.

(in reply to: ↑ 2 ) 02/23/08 09:58:47 changed by rats

Replying to Billythekid:

> DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/usr/bin/mysql --host=localhost --user=ispcp --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1' status !
> DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/usr/bin/mysql --host=localhost --user=ispcp --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1' status !
> ERROR: External command '/usr/bin/mysql --host=localhost --user=ispcp --pass= < /tmp/db.sql 1>/tmp/db.sql.stdout 2>/tmp/db.sql.stderr' returned '1' status !
> frombase:/var/www/ispcp/engine/setup#

02/23/08 09:59:47 changed by rats

Any Idea how to fix? is this problem still there?

02/25/08 10:56:10 changed by joximu

I never had that. Seems to be a password forget in some systems...

maybe you can check just before this command if the mysql pw is empty - and then ask again... - I don't know... there's no strict way how to reproduce this behaviour...

03/01/08 16:15:39 changed by rats

  • status changed from new to closed.
  • resolution set to worksforme.

please reopen if still exists ... We cannot recreate and need more information.


Add/Change #946 (ispcp-setup mysql password error)




Action