ispCP - Board - Support
perl ispcp-setup - why is an sql root pass proposed? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: perl ispcp-setup - why is an sql root pass proposed? (/thread-1531.html)

Pages: 1 2 3


RE: perl ispcp-setup - why is an sql root pass proposed? - BeNe - 10-15-2007 06:59 AM

The Setup script works now in r854 with the Keys - until to the MySQL Error
Code:
.....
Activate AWStats. [no]: yes

    AWStats Mode:
    Possible values [d]ynamic and [s]tatic. [dynamic]:
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 !
/tmp/db.sql.stderr:
Code:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I set a Password before and entered it during the Setup....

Greez BeNe


RE: perl ispcp-setup - why is an sql root pass proposed? - raphael - 10-15-2007 08:30 AM

thanks to BeNe it is now fixed Smile


RE: perl ispcp-setup - why is an sql root pass proposed? - joximu - 10-15-2007 08:41 AM

only one ticket until RC3 :-)


RE: perl ispcp-setup - why is an sql root pass proposed? - RatS - 10-15-2007 10:06 AM

It's one of the hardest ones, I'll do it in the morning!


RE: perl ispcp-setup - why is an sql root pass proposed? - BeNe - 10-15-2007 04:50 PM

The setup works now until Ticket #771 --> http://www.isp-control.net/ispcp/ticket/771
This should be set as Blocker for the RC3.

Next is, that the setup sometimes stop, because /dev/random has not enough entropy.
So you must type on the Keyboard or play with your mouse if you a GUI.

Greez BeNe


RE: perl ispcp-setup - why is an sql root pass proposed? - monotek - 10-15-2007 06:46 PM

Most people dont have a gui when installing a server. Therfore you cant use the mouse. Pressing some buttons on the keyboard or piping some random content to /dev/random (before start the script or during executing of the script via second console) never worked for me.

Therfore scripts should be changed to another random algorithm.


RE: perl ispcp-setup - why is an sql root pass proposed? - BeNe - 10-15-2007 07:12 PM

I know that the most Server only have an SSH Daemon running and no X-Server.
But i tested it in a VM-Box and worked for me for the first Version.
When the setup hangs - connect a second time per SSH to your Server.
At that time /dev/random collect enough and the setup goes on.
If not - type command in your second shell...
You can check the curren entropy with
Code:
cat /proc/sys/kernel/random/entropy_avail

Maybe during the setup a script should generate something in the background that /dev/random have enough data.

Greez BeNe


RE: perl ispcp-setup - why is an sql root pass proposed? - monotek - 10-15-2007 07:34 PM

Like I said, i tried exactly this.

I connected to a second console via SSH and tried the discribed workarounds from http://www.isp-control.net/forum/solved-setup-hostname-problem-t-1480.html#pid12644 .

Didnt work for me :-(


RE: perl ispcp-setup - why is an sql root pass proposed? - BeNe - 10-15-2007 07:49 PM

And the Output of:
Code:
cat /proc/sys/kernel/random/entropy_avail
Is the Output growing during you type something ?

Greez BeNe


RE: perl ispcp-setup - why is an sql root pass proposed? - monotek - 10-15-2007 07:56 PM

I dont know. I have to test this first when im back at home.