Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th July 2009, 21:06
c7p c7p is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Unable to connect to mysql server Can't connect to local MySQL server through socket

Hello. I'm trying to install ispconfig 3 on fedora 11. And i face a problem during installation.


[root@localhost install]# php -q install.php


--------------------------------------------------------------------------------
_____ ___________ _____ __ _
|_ _/ ___| ___ \ / __ \ / _(_)
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| |
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
--------------------------------------------------------------------------------


>> Initial configuration

Operating System: Redhat or compatible, unknown version.

Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with <ENTER>.
Tap in "quit" (without the quotes) to stop the installer.


Select language (en,de) [en]:

Installation mode (standard,expert) [standard]:

Full qualified hostname (FQDN) of the server, eg server1.domain.tld [localhost.localdomain]:

MySQL server hostname [localhost]:

MySQL root username [root]:

MySQL root password []: pass

MySQL database to create [dbispconfig]:

MySQL charset [utf8]:

Unable to connect to mysql server Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

------

Also i think that the following is interesting

--

[root@localhost /]# mysql -u root -p

mysql> SHOW GLOBAL VARIABLES LIKE 'socket';
+---------------+-----------------+
| Variable_name | Value |
+---------------+-----------------+
| socket | /tmp/mysql.sock |
+---------------+-----------------+
1 row in set (0.10 sec)

---
Thank you
Reply With Quote
Sponsored Links
  #2  
Old 7th July 2009, 01:24
dzudzu dzudzu is offline
Member
 
Join Date: Jun 2009
Location: Serbia
Posts: 64
Thanks: 1
Thanked 6 Times in 6 Posts
Default

check out

this link
__________________
EonTek.rs - System Engineering

dzudzu
Reply With Quote
  #3  
Old 7th July 2009, 15:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

You can try to create a symlink from /var/lib/mysql/mysql.sock to /tmp/mysql.sock, or you change the location of the MySQL socket in your my.cnf.
__________________
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
  #4  
Old 7th July 2009, 23:02
c7p c7p is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you both guys No im getting the following message

ERROR: Stopped: Database already contains some tables.

Also i want to mention that i need ispconfig to control my webserver (lamp) , mainly apache's virtual hosts , at least for now.
Reply With Quote
  #5  
Old 8th July 2009, 01:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

This means that the database that you use already exists and contains database tables. make sure that the database name that you specify in the ispconfig installer does not exist.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 8th July 2009, 20:49
c7p c7p is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I deleted the database and i managed to install ispconfig

here is the output
--
[c7p@localhost ~]$ su
Password:
[root@localhost c7p]# cd /home/c7p/Download/server/ispconfig3_install/install/
[root@localhost install]# php -q install.php

--------------------------------------------------------------------------------
_____ ___________ _____ __ _
|_ _/ ___| ___ \ / __ \ / _(_)
| | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _
| | `--. \ __/ | | / _ \| '_ \| _| |/ _` |
_| |_/\__/ / | | \__/\ (_) | | | | | | | (_| |
\___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
__/ |
|___/
--------------------------------------------------------------------------------


>> Initial configuration

Operating System: Redhat or compatible, unknown version.

Following will be a few questions for primary configuration so be careful.
Default values are in [brackets] and can be accepted with <ENTER>.
Tap in "quit" (without the quotes) to stop the installer.


Select language (en,de) [en]:

Installation mode (standard,expert) [standard]:

Full qualified hostname (FQDN) of the server, eg server1.domain.tld [localhost.localdomain]:

MySQL server hostname [localhost]:

MySQL root username [root]:

MySQL root password []: tl4ntbdnd123

MySQL database to create [dbispconfig]:

MySQL charset [utf8]:

Generating a 2048 bit RSA private key
..............................+++
...........+++
writing new private key to 'smtpd.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:GB
State or Province Name (full name) [Berkshire]:
Locality Name (eg, city) [Newbury]:
Organization Name (eg, company) [My Company Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:
Email Address []:mymail@my.com
Configuring Jailkit
Configuring SASL
Configuring PAM
Configuring Courier
chmod: cannot access `/etc/authlib/authmysqlrc~': No such file or directory
PHP Warning: fopen(/etc/authlib/authdaemonrc): failed to open stream: No such file or directory in /home/c7p/Download/server/ispconfig3_install/install/lib/install.lib.php on line 244
PHP Warning: filesize(): stat failed for /etc/authlib/authdaemonrc in /home/c7p/Download/server/ispconfig3_install/install/lib/install.lib.php on line 247
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring MyDNS
Configuring Apache
Configuring Firewall
Installing ISPConfig
ISPConfig Port [8080]:

Configuring DBServer
Installing Crontab
no crontab for root
no crontab for getmail
Restarting services ...
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
Shutting down postfix: [FAILED]
Starting postfix: [ OK ]
Stopping saslauthd: [FAILED]
Starting saslauthd: [ OK ]
Stopping httpd: [ OK ]
[Wed Jul 08 23:41:30 2009] [warn] NameVirtualHost *:443 has no VirtualHosts
[Wed Jul 08 23:41:30 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
Starting httpd: [FAILED]
[root@localhost install]#


---
Sth went wrong... Any idea ?
Reply With Quote
  #7  
Old 8th July 2009, 23:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Quote:
Sth went wrong... Any idea ?
Your server enviroment has not all required software installed, Please configure your server exactly as descibed in the perfect setup guide before you install ISPConfig.

Which Linux distribution do you use?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 19th July 2009, 11:59
c7p c7p is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I use fedora 11 (kernel linux 2.6.29.4-167.fc11.i585), not the server edition. That's why i didn't followed the guide word by word.
Reply With Quote
  #9  
Old 19th July 2009, 14:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Fedora 11 is not supported by iSPConfig as not all required software like courier can be compiled on fedora 11 as the fordora project has changed their glib to an incompatible version were many projects will not compile on without modifications of the source code.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 20th July 2009, 12:36
c7p c7p is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thank you. So i should forget ispconfig ...?
Reply With Quote
Reply

Bookmarks

Tags
installation error, ispconfig 3.0.1.3, mysql

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
What can be wrong martin_rudowicz Installation/Configuration 10 1st December 2014 10:13
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 18:51
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30


All times are GMT +2. The time now is 00:55.


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