Current time: 12-24-2024, 03:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
perl ispcp-setup - why is an sql root pass proposed?
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: perl ispcp-setup - why is an sql root pass proposed?
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
10-15-2007 06:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #12
RE: perl ispcp-setup - why is an sql root pass proposed?
thanks to BeNe it is now fixed Smile
10-15-2007 08:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #13
RE: perl ispcp-setup - why is an sql root pass proposed?
only one ticket until RC3 :-)
10-15-2007 08:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #14
RE: perl ispcp-setup - why is an sql root pass proposed?
It's one of the hardest ones, I'll do it in the morning!
10-15-2007 10:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #15
RE: perl ispcp-setup - why is an sql root pass proposed?
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
10-15-2007 04:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
monotek Offline
Junior Member
*

Posts: 65
Joined: Dec 2006
Reputation: 0
Post: #16
RE: perl ispcp-setup - why is an sql root pass proposed?
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.
(This post was last modified: 10-15-2007 06:48 PM by monotek.)
10-15-2007 06:46 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #17
RE: perl ispcp-setup - why is an sql root pass proposed?
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
10-15-2007 07:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
monotek Offline
Junior Member
*

Posts: 65
Joined: Dec 2006
Reputation: 0
Post: #18
RE: perl ispcp-setup - why is an sql root pass proposed?
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-...l#pid12644 .

Didnt work for me :-(
10-15-2007 07:34 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #19
RE: perl ispcp-setup - why is an sql root pass proposed?
And the Output of:
Code:
cat /proc/sys/kernel/random/entropy_avail
Is the Output growing during you type something ?

Greez BeNe
10-15-2007 07:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
monotek Offline
Junior Member
*

Posts: 65
Joined: Dec 2006
Reputation: 0
Post: #20
RE: perl ispcp-setup - why is an sql root pass proposed?
I dont know. I have to test this first when im back at home.
(This post was last modified: 10-15-2007 07:56 PM by monotek.)
10-15-2007 07:56 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)