
25th September 2012, 22:13
|
|
Member
|
|
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 99
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
Domain creation problem - OpenVZ
Hi,
I am trying to get a VServer up running combined with my existing multiserver system.
My setup :
Web server (Main) : Debian Lenny - IP .53
Mail server : Debian Lenny - IP .58
DB Server : Debian Squeeze - IP .54
NS1 : Debian Lenny- IP .50
NS2 : Debian Squeeze - IP .51
NS3 : Debian Squeeze - IP .52
VM1 : Debian Squeeze - .59
Web2 (Container on VM1) : Debian Squeeze - IP .60
Mail2 (Container on VM1) : Debian Squeeze - IP .61
I have installed the VServer as described in the guide http://www.howtoforge.com/virtual-mu...th-ispconfig-3 and everything regarding creation works fine.
My problem is related to the container I have created as web server. Domains are not created in var/www/user. In the database for the container the domain is added. It seems only to be the users directory with files not being added.
Any ideas to what I can check or might have forgotten?
__________________
VoiceMe
Communications
Hosted at :
SuperWeb.dk
a part of VoiceMe
|

26th September 2012, 10:05
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
|

26th September 2012, 23:04
|
|
Member
|
|
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 99
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
I am using ISPConfig version 3.0.4.6 and apache.
I have checked error.logs on the container. Nothing in them. Checked :
/var/log/apache2/error.log.
Code:
[Mon Sep 24 01:38:17 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 24 01:38:17 2012] [notice] Digest: done
[Mon Sep 24 01:38:17 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o config$
[Mon Sep 24 18:41:02 2012] [notice] caught SIGTERM, shutting down
[Mon Sep 24 18:41:14 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Sep 24 18:41:14 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Sep 24 18:41:14 2012] [notice] Digest: done
[Mon Sep 24 18:41:14 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.16 OpenSSL/0.9.8o config$
[Mon Sep 24 20:25:13 2012] [error] [client 192.168.100.1] File does not exist: /var/www/favicon.ico
[Wed Sep 26 18:54:26 2012] [error] [client 141.212.121.10] Invalid method in request \x80w\x01\x03\x01
Since the files are not created in /var/www no logs to look at there.
Noticed that looking at the database on my "mainserver" (webserver) that web_domain/server_id is set correctly for domains created, but on the new webserver(web2) all domains are given the server_id from the new server. Shouldn't this be the same as on the primary webserver?
__________________
VoiceMe
Communications
Hosted at :
SuperWeb.dk
a part of VoiceMe
|

27th September 2012, 09:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Quote:
|
Shouldn't this be the same as on the primary webserver?
|
That depends on your setup, if you enabled mirroring for the slave, then the ID has to be rewritten to the ID of the slave server.
Please follow the debug instructions from the link I posted above.
|

4th October 2012, 22:03
|
|
Member
|
|
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 99
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
Think that I have everything now from the debug instructions :
Code:
root@myweb1:/var/www# /usr/local/ispconfig/server/server.sh
04.10.2012-19:08 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
04.10.2012-19:08 - DEBUG - No Updated records found, starting only the core.
04.10.2012-19:08 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
When I create a new domain on the new webserver I get this in the "Show System log" :
Code:
Replicated from master: REPLACE INTO web_domain (`domain_id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`ip_address`,`ipv6_address`,`domain`,`type`,`parent_domain_id`,`vhost_type`,`document_root`,`system_user`,`system_group`,`hd_quota`,`traffic_quota`,`cgi`,`ssi`,`suexec`,`errordocs`,`is_subdomainwww`,`subdomain`,`php`,`ruby`,`python`,`redirect_type`,`redirect_path`,`seo_redirect`,`ssl`,`ssl_state`,`ssl_locality`,`ssl_organisation`,`ssl_organisation_unit`,`ssl_country`,`ssl_domain`,`ssl_request`,`ssl_cert`,`ssl_bundle`,`ssl_action`,`stats_password`,`stats_type`,`allow_override`,`apache_directives`,`nginx_directives`,`php_fpm_use_socket`,`pm_max_children`,`pm_start_servers`,`pm_min_spare_servers`,`pm_max_spare_servers`,`php_open_basedir`,`custom_php_ini`,`backup_interval`,`backup_copies`,`active`,`traffic_quota_lock`) VALUES ('104','1','17','riud','ru','','34','*','','tester.dk','vhost','0','name','/var/www/clients/client16/web104','web104','client16','-1','-1','n','n','y','1','1','www','fast-cgi','n','n','','','','n','','','','','AF','tester.dk','','','','','','webalizer','All','','','n','50','20','5','35','/var/www/clients/client16/web104/web:/var/www/clients/client16/web104/tmp:/var/www/tester.dk/web:/srv/www/tester.dk/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php','','none','1','y','n')
__________________
VoiceMe
Communications
Hosted at :
SuperWeb.dk
a part of VoiceMe
|

18th October 2012, 15:59
|
|
Member
|
|
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 99
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
Anyone with any suggestions?
Still have this issue.
__________________
VoiceMe
Communications
Hosted at :
SuperWeb.dk
a part of VoiceMe
|
| Thread Tools |
|
|
| Display Modes |
Hybrid 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:20.
|
Recent comments
1 day 3 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 5 hours ago
2 days 5 hours ago
2 days 10 hours ago
2 days 17 hours ago
2 days 18 hours ago
2 days 19 hours ago