Current time: 04-16-2024, 05:13 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[OFFTOPIC] MySql Problem in OpenVZ
Author Message
rawe Offline
Junior Member
*

Posts: 66
Joined: Sep 2008
Reputation: 0
Post: #1
[OFFTOPIC] MySql Problem in OpenVZ
Hallo,

Ich bin wieder zurück. Hab inder Zwischenzeit OpenVz auf einem Debian-etch system installert und eine VM mit einem Debian-etch minimal installiert.
WebVz ist auch installiert zur Administration der VM´s.

In die VM will ich nun ISPCP installieren und bin auch schon bis zur mysql secure installation gekommen. Jetzt fängt das Problem an:

Als "root" bekomme ich das nach eingabe des Passworts zurück:


www:/var/lib/vz/private/102/usr/local/src/ispcp/ispcp-omega-1.0.0# mysql_secure_installation


NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Enter current password for root (enter for none):

Das MySql-Passwort habe ich beim "Perfect Setup" auf der HWN vergeben.
Wo auch sonst.

Wenn ich als der von mir angelegte User "ralph einlogge. kommt das zurück:

ralph@www:~$ cd /var/lib/vz/private/102/usr/local/src/ispcp/ispcp-omega-1.0.0
ralph@www:/var/lib/vz/private/102/usr/local/src/ispcp/ispcp-omega-1.0.0$ mysql_secure_installation
touch: cannot touch `.my.cnf.19609': Permission denied
touch: cannot touch `.mysql.19609': Permission denied
chmod: cannot access `.my.cnf.19609': No such file or directory
chmod: cannot access `.mysql.19609': No such file or directory




NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
/usr/bin/mysql_secure_installation: line 38: .my.cnf.19609: Permission denied
/usr/bin/mysql_secure_installation: line 39: .my.cnf.19609: Permission denied
/usr/bin/mysql_secure_installation: line 40: .my.cnf.19609: Permission denied
/usr/bin/mysql_secure_installation: line 41: .my.cnf.19609: Permission denied
/usr/bin/mysql_secure_installation: line 32: .mysql.19609: Permission denied
/usr/bin/mysql_secure_installation: line 33: .mysql.19609: No such file or directory
Enter current password for root (enter for none):

Ich hab schon hin und her probiert, hat aber alles nichts gebracht.

Kann bitte jemand weiterhelfen? Bekomme einfach nicht raus, wo der Fehler liegt.

Bedankt schon mal

Gruß

Ralph
(This post was last modified: 10-20-2008 09:21 PM by BeNe.)
10-20-2008 05:24 AM
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: #2
RE: MySql Problem in OpenVZ
Wo hast Du denn das OpenVZ Debian Image her ?
Das ganze hat eher weniger mit ispCP zu tun...

Greez BeNe
10-20-2008 09:20 PM
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: #3
RE: [OFFTOPIC] MySql Problem in OpenVZ
ich vermute mal einfach, dass das mysql root pw nicht stimmt...
10-21-2008 12:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #4
RE: [OFFTOPIC] MySql Problem in OpenVZ
hmm also es ist alles möglich habe ich heute gemerkt *g*

besser is sich selber 3-4 mal kontrollieren *g*
10-22-2008 01:10 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: #5
RE: [OFFTOPIC] MySql Problem in OpenVZ
Quote:ich vermute mal einfach, dass das mysql root pw nicht stimmt...
Ist klar - in den meisten Images die gebaut werden sind eben schon MySQL Root PW´s vergeben...daher die Frage nach dem Image auch.

Greez BeNe
10-22-2008 03:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rawe Offline
Junior Member
*

Posts: 66
Joined: Sep 2008
Reputation: 0
Post: #6
RE: [OFFTOPIC] MySql Problem in OpenVZ
(10-22-2008 03:25 AM)BeNe Wrote:  
Quote:ich vermute mal einfach, dass das mysql root pw nicht stimmt...
Ist klar - in den meisten Images die gebaut werden sind eben schon MySQL Root PW´s vergeben...daher die Frage nach dem Image auch.

Greez BeNe

Hallo,
hab festgestellt, das eine ruby-on rails- Installation, die ich für ein anders Programm brauchte, die so aber nicht hinhaute, mir die Mysql- Konfiguration zerhauen hatte. Hab alles neu installiert und jetzt lief die mysql- secure- installation locker durch.

Andere Frage:
Wenn ispCP unter admin.meinedomain.de laufen soll, muss ich diese subdomain vorher erstellen und wenn ja, wie?

An der Stelle steh ich jetzt.
Falls jemand gerade Zeit hat, wäre eine umgehende Antwort nett, ich will nämlich solange warten, damit ich diesmal alles richtig mache.

Bedankt im Voraus

Ralph
10-22-2008 08:31 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: #7
RE: [OFFTOPIC] MySql Problem in OpenVZ
ispcp läuft per default unter:
Code:
admin.meinedomain.de
Es muss halt nur einen DNS Eintrag für geben Wink

Greez BeNe
10-22-2008 08:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rawe Offline
Junior Member
*

Posts: 66
Joined: Sep 2008
Reputation: 0
Post: #8
RE: [OFFTOPIC] MySql Problem in OpenVZ
(10-22-2008 08:33 PM)BeNe Wrote:  ispcp läuft per default unter:
Code:
admin.meinedomain.de
Es muss halt nur einen DNS Eintrag für geben Wink

Greez BeNe

Danke
(10-22-2008 08:35 PM)rawe Wrote:  
(10-22-2008 08:33 PM)BeNe Wrote:  ispcp läuft per default unter:
Code:
admin.meinedomain.de
Es muss halt nur einen DNS Eintrag für geben Wink

Greez BeNe

Danke

Hi,

hab mir dummerweise das admin-login zerlegt, beim Setup den verkehrten Knopp gedrückt. Kann also nicht einloggen.
Ist es möglich, das Setup von hier ab " perl ./ispcp-setup "
nochmal durchlaufen zu lassen, oder muß ich es komplett neu machen?
Ordner /tmp hab ich noch nicht gelöscht.

Gruß

Ralph
(This post was last modified: 10-22-2008 09:20 PM by rawe.)
10-22-2008 08:35 PM
Find all posts by this user Quote this message in a reply
rawe Offline
Junior Member
*

Posts: 66
Joined: Sep 2008
Reputation: 0
Post: #9
RE: [OFFTOPIC] MySql Problem in OpenVZ
(10-22-2008 08:35 PM)rawe Wrote:  
(10-22-2008 08:33 PM)BeNe Wrote:  ispcp läuft per default unter:
Code:
admin.meinedomain.de
Es muss halt nur einen DNS Eintrag für geben Wink

Greez BeNe

Danke
(10-22-2008 08:35 PM)rawe Wrote:  
(10-22-2008 08:33 PM)BeNe Wrote:  ispcp läuft per default unter:
Code:
admin.meinedomain.de
Es muss halt nur einen DNS Eintrag für geben Wink

Greez BeNe

Danke

Hi,

hab mir dummerweise das admin-login zerlegt, beim Setup den verkehrten Knopp gedrückt. Kann also nicht einloggen.
Ist es möglich, das Setup von hier ab " perl ./ispcp-setup "
nochmal durchlaufen zu lassen, oder muß ich es komplett neu machen?
Ordner /tmp hab ich noch nicht gelöscht.

Gruß

Ralph

Hat sich schon erledigt! I Ging.
10-22-2008 09:55 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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