
21st May 2012, 20:22
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
After Update of ISPConfig data base error
Please help me!
I have run the update of ispconfig but now I cant login any more and my joomla sites giving error
Code:
Database Error: Unable to connect to the database:Could not connect to MySQL
any Ideas are welcome.
Some more info:
Code:
mysql: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
__________________
Updating my server to Debian Squeeze, so here I go again...
__________________
Updating my server to Debian Squeeze, so here I go again...
|

21st May 2012, 20:28
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
Also can not log in with phpmyadmin
Code:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
__________________
Updating my server to Debian Squeeze, so here I go again...
|

21st May 2012, 20:35
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
And this is the output when I try to start msql again:
Code:
server1:~# /etc/init.d/mysql start
/usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
Starting MySQL database server: mysqld/usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
/usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
./usr/sbin/mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2)
Fatal error in defaults handling. Program aborted
failed!
__________________
Updating my server to Debian Squeeze, so here I go again...
|

21st May 2012, 22:14
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
I have found in an other forum to remove my my.cnf file. So I renamed the file and now I am able to receive mails and see my sites again.
But I am still thinking there are some isus with the server can sombody give me some clues please....
TIA
Appie
__________________
Updating my server to Debian Squeeze, so here I go again...
Last edited by DaRKNeSS666NL; 21st May 2012 at 22:34.
|

21st May 2012, 22:29
|
|
Senior Member
|
|
Join Date: Sep 2009
Location: Dallas, TX
Posts: 306
Thanks: 10
Thanked 35 Times in 22 Posts
|
|
You probably had an issue with your my.cnf file. I am guessing that you updated something on the software side that does not involve ISPConfig.
|

21st May 2012, 22:38
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
Quote:
Originally Posted by dclardy
You probably had an issue with your my.cnf file. I am guessing that you updated something on the software side that does not involve ISPConfig.
|
Thanks for the quick answer,
Now its running without the my.cnf file but thats not the way it should be I am guessing.. or doesn't it matter I renamed the file.
__________________
Updating my server to Debian Squeeze, so here I go again...
|

22nd May 2012, 08:13
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
Does the directory /etc/mysql/conf.d/ exist? If not, create it.
|

22nd May 2012, 20:53
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
Quote:
Originally Posted by till
Does the directory /etc/mysql/conf.d/ exist? If not, create it.
|
It doesn't exist, I have seen it in my backup but there was noting in it so I guessed it was left there by some proces.
I will create it and test it again with the my.cnf file.
Till any ideas what happened here with the update?
TIA Appie
__________________
Updating my server to Debian Squeeze, so here I go again...
|

25th May 2012, 10:17
|
|
HowtoForge Supporter
|
|
Join Date: Nov 2006
Posts: 207
Thanks: 17
Thanked 3 Times in 3 Posts
|
|
Quote:
Originally Posted by DaRKNeSS666NL
I will create it and test it again with the my.cnf file.
Till any ideas what happened here with the update?
|
That did the trick indeed, thanks all
Appie
__________________
Updating my server to Debian Squeeze, so here I go again...
|

25th May 2012, 10:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,908
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
Quote:
|
It doesn't exist, I have seen it in my backup but there was noting in it so I guessed it was left there by some proces.
|
The directory is normally empty. It exists as an option to extend my.cnf.
Quote:
|
Till any ideas what happened here with the update?
|
The update was aborted as mysql was not running. Just restart the update process after you fixed mysql.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 15:32.
|
|
Recent comments
15 hours 39 min ago
15 hours 45 min ago
20 hours 43 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 9 hours ago
1 day 16 hours ago
1 day 20 hours ago
1 day 21 hours ago