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 25th September 2012, 23:13
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 26th September 2012, 11:05
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,494
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

Please see here:

http://www.howtoforge.com/forums/showthread.php?t=58408
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th September 2012, 00:04
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 27th September 2012, 10:04
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,494
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 4th October 2012, 23:03
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 18th October 2012, 16:59
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Anyone with any suggestions?
Still have this issue.
__________________
VoiceMe
Communications


Hosted at :
SuperWeb.dk
a part of VoiceMe
Reply With Quote
Reply

Bookmarks

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
Courier Imap is not working HellMind General 5 12th April 2012 02:04
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 11:49
Problem with the addition site and domain name Titeuf Installation/Configuration 2 25th November 2009 18:38
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 19:37


All times are GMT +2. The time now is 15:31.


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