![]() |
ISPConfig2 installation stalls at MySQL configuration on Lenny
Hi all,
I run a VPS server over at Hosteurope's with a Debian barebone pre-installed and no Plesk. When I first got it, I upgraded from Etch to Lenny, then installed ISPConfig 2 and everything went fine. Recently I changed my hosting scale for a much better offer at the same rate. It is now Debian 5 x64bit with Apache and apparently also MySQL preinstalled. I decided to stick with ISPConfig 2 because it seems to have more add-ons and a better documentation. I configured the Server like instructed here: http://www.howtoforge.com/perfect-se...nny-ispconfig2 Everything went well and as inspected, with one exception: I was not asked for a root password (nor anything else) when installing the mysql-client/server. So I decided to specify a password manually. I then edited the my.cnf, restarted mysqld and checked via netstat whether it was active. It was, but it listened on an unspecific port (25949). - Since then it has been listening on different ports whenever I restarted the daemon. I went on with configuring, then installed ISPConfig2. All went well until the end when the last configuration data about databases and domain have to be inserted. Here is what happened (quotes are in German, because that was the installation language I had chosen): Quote:
Does this have anything to do with the fact that I'm running a 64bit OS? And what could I do? I tried uninstalling / reinstalling MySQL, but I failed because there were far more packages than only "mysql-server", "mysql-client" and "libmysql15-dev"; when purging those, the server would still be running. Thanks a lot for your time. |
Can you post your /etc/mysql/my.cnf file?
|
Oh sorry, yes. In fact, I was going to do that hours ago, even had it copied to clipboard already, but then the phone rang and I forgot.
Here it is: Code:
# |
Looks ok. What's the output of
Code:
netstat -tap |
Here it is:
Code:
tcp 0 0 *:ssh *:* LISTEN 32729/sshdI did establish a new rule in the virtuozzo internal firewall, however I am not quite sure about the port settings, so I set it to: Code:
Policy: accept |
Can you switch off the firewall for testing purposes and see if that changes anything?
|
Sure, I'll try.
The reason why this didn't occur to me is that I already ran a ISPConfig2 installation under the same control panel software successfully before. But it could of course be a firewall configuration issue. Can't remember how I set it up last time. Yesterday I checked, realized I had only added a firewall rule for incoming connections, and added a server rule for outgoing ones. That did not resolve the problem, unfortunately. I am now trying to find out how to disable this firewall without deleting every single rule manually. Once I've figured this out, I'll try again and post back here. Thanks once more for your time. |
Hi,
sorry for the delay. It took me a while to find out that what this panel is operating is no more than a simple Iptables ruleset. I stopped Iptables, and ISPConfig installed without a problem. But I lost my original customized ruleset in the process of experimenting on panel level, and I now have 20 rules less than before which I will hardly be able to reconstruct. On top of that, I still don't know exactly what went wrong with the MySQL rule before. So my question: Is there an IPtables ruleset known to work well with all aspects of ISPConfig that I could download/copy from somewhere? |
Just enable the firewall in ispconfig, it uses the bastille firewall scripts to create the iptables rules.
|
Ok, I'll do.
Thanks for your support and kudos for your great work. |
| All times are GMT +2. The time now is 19:47. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.