
25th October 2010, 23:48
|
|
Member
|
|
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
ISPConfig not creating /www/client...
Hi everydoby,
I installed the ISPConfig 3.0.2.2 on a multiserver setup following the tutorial provided here on how to run VM's on KVM and the ISPConfig on a multiserver setup...
I installed everything and when I go to the Websites module and create a new Webdomain, the entry is sucessfully inserted on the ISPConfig database, however the User directory is not created whatsoever. I looked everywhere and I couldn't find the directories...
Does anyone have a clue on this issue?
Thanks guys!
|

26th October 2010, 10:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Most likely a database permission issue.
Did you follow the tutorial to the letter? Did you insert all the lines in the hosts file as the tutorial explained and did you use the hostanmes and not IP addresses when you installed ispconfig? It is important that every slave server has a local mysql database and that this local mysql database is used. If you selected a external database when you get prompted for the local one, then the system will not work.
|

26th October 2010, 14:05
|
|
Member
|
|
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
Hi again tiil,
I doubled checked the hostnames and IP adressess according to the tutorial ( http://www.howtoforge.com/perfect-se...-ispconfig3-p3)
I also checked if I installed MySQL on the other slave servers and it's ok... but you said that the database has to be selected otherwise it won't work. How can I check if I'm using the slaves databases on each slave?
Thanks!
|

27th October 2010, 14:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
You can check the database settings in /usr/local/ispconfig/interface/lib/config.inc.php on each node.
|

27th October 2010, 17:54
|
|
Member
|
|
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
I decided to reinstall all over again! hehe
Reviewing the tutorial I saw this line: " Go back to the shell of server1.example.tld and download the latest ISPConfig 3 stable release" after creating the users on PHPMyadmin of the Webserver...
On my case I have a Ubuntu host and KVM with 5 VMs (web,mail,db,ns1,ns2) ( http://www.howtoforge.com/virtualiza...on-ubuntu-9.10)
Do my Ubuntu host has to be Webserver? Initially I installed the Web on the Web VM... the Mail on Mail VM, and so on.
|

28th October 2010, 18:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
Originally Posted by bruno_floyd
Do my Ubuntu host has to be Webserver?
|
Do you mean the KVM host? No.
|

29th October 2010, 13:29
|
|
Member
|
|
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
Ok!
I installed on the VMs then...
When I reinstalled the ispconfig, i got this error on some of the 5 servers.
Code:
Configuring DBServer
Installing Crontab
sh: crontab: not found
sh: crontab: not found
Installation completed.
When I ran update.php I get this error:
Code:
Possible problem with dumping the database. We will stop here. Please check the file existing_db.sql
Is this related to my problem initially?
I still don't get my web directories created. =/
Last edited by bruno_floyd; 29th October 2010 at 13:44.
|

29th October 2010, 15:08
|
|
Member
|
|
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
Well... I created a PHP file to make a simple insertion on my mail.example.tld virtual machine MySQL.
I put the PHP file inside the web.example.tld and tried to execute, but the mail.example.tld didn't allow me to connect:
Code:
Warning: mysql_connect() [function.mysql-connect]: Host 'web.example.tld' is not allowed to connect to this MySQL server in /var/www/teste.php on line 6
Host 'web.example.tld' is not allowed to connect to this MySQL server
If I can't connect, the ISPConfig does not create the dir and other stuff, right?
|

29th October 2010, 15:13
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Quote:
|
If I can't connect, the ISPConfig does not create the dir and other stuff, right?
|
Correct. So you should check now why you can not connect anymore. E.g. you installed a firewall or edited the mysql configuration on that server which now prevents the connections.
|

29th October 2010, 15:56
|
|
Member
|
|
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
I didn't installed any other firewall... nor changed the mysql configs on the server I'm trying to conect...
I did install Phpmyadmin on all my servers to check out the User table on the Mysql, and I realized that the hostname on every server was wrong, it was vm2.server1.com in this case, then I changed... now my User table looks like this on all the servers except from the Webserver that it has more users:
Code:
localhost root *PASSWORD
mail.example.tld root *PASSWORD
127.0.0.1 root *PASSWORD
localhost debian-sys-maint *PASSWORD
localhost ispconfig *PASSWORD
localhost phpmyadmin *PASSWORD
I inserted the host, user and password from where I'm trying to connect (web.example.tld, root, PASS) in this table user. Now i'm able to connect and make and insertion, but the ISPConfig keeps not creating...
Last edited by bruno_floyd; 29th October 2010 at 17:29.
|
| 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 05:29.
|
|
Recent comments
1 day 3 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 8 hours ago
2 days 10 hours ago