Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st January 2009, 03:10
marky marky is offline
Junior Member
 
Join Date: Jan 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question Perfect Server - Gentoo 2007.0

Hi
I am new here so Hello to everyone in this community.
I have used the awesome Perfect Server - Gentoo 2007.0
tutorial for bringing up my local test server (for testing purposes
of web pages I do for the living).
And I did use newest Gentoo available (2008.0), the
Stage 3 install-cd of course.
I did _everything_ exactly the same way as this tutorial says.
(hmmm, except that I'm using wireless usb dongle,
but that is not the issue here).
And everything went very well until I got stuck on Page 4,
paragraph 11 MySQL where I got such errors

Quote:
serwer ~ # emerge --config dev-db/mysql

Configuring pkg...

* Creating the mysql database and setting proper
* permissions on it ...
* Insert a password for the mysql 'root' user
* Avoid ["'_%] characters in the password
>
* Retype the password
>
.090131 3:53:16 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090131 3:53:16 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
....ERROR 2002 (HY000): Can't connect to local MySQL server through socket '//var/run/mysqld/mysqld12849.sock' (2)
* Loading "zoneinfo", this step may require a few seconds ...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '//var/run/mysqld/mysqld12849.sock' (2)
/var/tmp/portage/dev-db/mysql-5.0.70-r1/temp/environment: line 3113: //var/run/mysqld/mysqld1243.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
* Stopping the server ...


^C

Exiting on signal 2
I had to press ctrl+C here because * Stopping the server ... was everlasting. Then I did:

Quote:
serwer ~ # emerge --config mysql

Configuring pkg...

* You have already a MySQL database in place.
* (///var/lib/mysql/*)
* Please rename or delete it if you wish to replace it.
*
* ERROR: dev-db/mysql-5.0.70-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_config
* environment, line 3390: Called mysql_pkg_config
* environment, line 3064: Called die
* The specific snippet of code:
* die "MySQL database already exists!";
* The die message:
* MySQL database already exists!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.70-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.70-r1/temp/environment'.
* This ebuild is from an overlay: '/var/db/pkg/'
Can Anyone of You could help me please with this ?
I really have no idea what to do.
Best regards
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2009, 14:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Unfortunately I'm no Gentoo expert...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 31st January 2009, 21:26
marky marky is offline
Junior Member
 
Join Date: Jan 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Are You the Only JediMaster in this community ;-) ??
By the way I'm over that issue now, I've managed to
push things forward (to the next issue of course )
Best regards
Reply With Quote
  #4  
Old 1st February 2009, 13:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by marky View Post
Are You the Only JediMaster in this community ;-) ??
No, but sometimes noone knows the answer. That happens from time to time.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 29th November 2009, 20:13
marsello marsello is offline
Junior Member
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default if any1 have same error

hey there
you see.. linux allways talk with you

he say:
* You have already a MySQL database in place.
* (///var/lib/mysql/*)
* Please rename or delete it if you wish to replace it.

so he mean's that in u're directory /var/lib/mysql/ you ALREADY have some database...
so just do rm -rf /var/lib/mysql/*
and try again
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 12:31
Cannot Log In after perfect desktop/perfect server setup jkrell HOWTO-Related Questions 3 22nd December 2008 06:43
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 10:58
The Perfect Mail Server asem34 Suggest HOWTO 7 11th May 2008 23:23
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07


All times are GMT +2. The time now is 15:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.