Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th February 2011, 19:43
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default problem with virtual hosts

Hello,

Installed ISPConfig 2.2.37 on Debian 5.0.8.
Everything worked fine, I've created 3 sites. When created forth noticed that site is pointing to shared ip. checked apache configuration and noticed that there is no info about 4th site. Users, folders for web4 created ok, also can create db from ispconfig. But no input about web4 in vhost configuration at all. If I create new site everything is the same. Users, folders, databases are created but no info in vhost configuration.
Tried to reinstall ISPConfig there is such infog in the end:

All prerequisites are fulfilled.
Here we go...

Connected successfully to db db_ispconfig
cp: cannot stat `customized_templates/*': No such file or directory
Restarting some services...
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
Stopping ftp server: proftpd.
Starting ftp server: proftpd - setting default address to 127.0.0.1
.
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

So I have no idea what happend. What does this mean:
cp: cannot stat `customized_templates/*': No such file or directory
Reply With Quote
Sponsored Links
  #2  
Old 26th February 2011, 14:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by andron26 View Post
So I have no idea what happend. What does this mean:
cp: cannot stat `customized_templates/*': No such file or directory
This is nothing to worry about. ISPConfig's templates are stored in /root/ispconfig/isp/conf/; if you want to modify a template, you can create the directory /root/ispconfig/isp/conf/customized_templates and store the modified template there (instead of modifying the original template) so that your modified template will not be affected by an ISPConfig upgrade. If ISPConfig finds a template in /root/ispconfig/isp/conf/customized_templates, it will use that one instead of the otiginal one. If the directory doesn't exist, that's prefectly ok.

To your problem: what's the output of
Code:
ls -la /root/ispconfig/
?

Do you see any error messages when you run
Code:
/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
on the shell?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 28th February 2011, 07:13
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

ls -la /root/ispconfig/

total 104
drwxr-xr-x 10 root root 4096 2011-02-25 20:50 .
drwxr-xr-x 6 root root 4096 2011-02-25 20:17 ..
-rwxr-xr-x 1 root root 34690 2011-02-25 20:17 cronolog
-rwxr-xr-x 1 root root 9673 2011-02-25 20:17 cronosplit
drwxr-xr-x 12 root root 4096 2011-02-25 20:04 httpd
drwxr-xr-x 16 root root 4096 2011-02-25 20:17 isp
drwxr-xr-x 7 root root 4096 2011-02-25 20:04 libmcrypt
-rw-r--r-- 1 root root 8 2011-02-25 20:50 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 2011-02-25 20:04 openssl
drwxr-xr-x 6 root root 4096 2011-02-25 20:07 php
drwxr-xr-x 4 root root 4096 2011-02-25 20:17 scripts
drwxr-xr-x 4 root root 4096 2011-02-25 20:17 standard_cgis
drwxr-xr-x 2 root root 4096 2011-02-25 20:17 sv
-rwx------ 1 root root 9405 2011-02-25 20:17 uninstall

/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

export APACHE_RUN_USER=www-data
start
ende
Reply With Quote
  #4  
Old 1st March 2011, 15:59
admin admin is offline
Administrator
 
Join Date: Apr 2005
Posts: 14
Thanks: 3
Thanked 4 Times in 3 Posts
Default

Both outputs look ok.

Are the new sites listed in /etc/apache2/vhosts/Vhosts_ispconfig.conf?
Reply With Quote
  #5  
Old 1st March 2011, 18:57
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

I can create ne sites, users, databases, but there is no input i vhosts file. I forgot to mention that I forgot ispconfig password and changed it in mysql (UPDATE sys_user SET passwort = md5('myNewPassword') WHERE username = 'admin')
Reply With Quote
  #6  
Old 2nd March 2011, 19:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Can you post the output of
Code:
ls -la /etc/apache2/vhosts/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 3rd March 2011, 07:12
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

ls -la /etc/apache2/vhosts/
total 264
drwxr-xr-x 2 root root 4096 2011-03-03 08:10 .
drwxr-xr-x 8 root root 4096 2011-02-22 00:46 ..
-rw-r--r-- 1 root root 6804 2011-03-01 19:54 Vhosts_ispconfig.conf
-rw-r--r-- 1 root root 7330 2011-03-01 17:39 Vhosts_ispconfig.conf_01-03-11_17-39-26
-rw-r--r-- 1 root root 8408 2011-03-01 19:54 Vhosts_ispconfig.conf_01-03-11_19-54-08
-rw-r--r-- 1 root root 4105 2011-02-23 14:34 Vhosts_ispconfig.conf_23-02-11_14-34-36
-rw-r--r-- 1 root root 2436 2011-02-23 15:50 Vhosts_ispconfig.conf_23-02-11_15-50-12
-rw-r--r-- 1 root root 5440 2011-02-24 13:18 Vhosts_ispconfig.conf_24-02-11_13-18-03
-rw-r--r-- 1 root root 5440 2011-02-24 13:20 Vhosts_ispconfig.conf_24-02-11_13-20-13
-rw-r--r-- 1 root root 5440 2011-02-24 13:21 Vhosts_ispconfig.conf_24-02-11_13-21-14
-rw-r--r-- 1 root root 6689 2011-02-24 13:23 Vhosts_ispconfig.conf_24-02-11_13-23-44
-rw-r--r-- 1 root root 6842 2011-02-24 13:24 Vhosts_ispconfig.conf_24-02-11_13-24-25
-rw-r--r-- 1 root root 6842 2011-02-24 13:25 Vhosts_ispconfig.conf_24-02-11_13-25-26
-rw-r--r-- 1 root root 6842 2011-02-24 13:26 Vhosts_ispconfig.conf_24-02-11_13-26-56
-rw-r--r-- 1 root root 6689 2011-02-25 10:27 Vhosts_ispconfig.conf_25-02-11_10-27-17
-rw-r--r-- 1 root root 6746 2011-02-25 10:29 Vhosts_ispconfig.conf_25-02-11_10-29-39
-rw-r--r-- 1 root root 5440 2011-02-25 10:33 Vhosts_ispconfig.conf_25-02-11_10-33-20
-rw-r--r-- 1 root root 5440 2011-02-25 10:38 Vhosts_ispconfig.conf_25-02-11_10-38-51
-rw-r--r-- 1 root root 6689 2011-02-25 10:43 Vhosts_ispconfig.conf_25-02-11_10-43-50
-rw-r--r-- 1 root root 6689 2011-02-25 10:49 Vhosts_ispconfig.conf_25-02-11_10-49-12
-rw-r--r-- 1 root root 6746 2011-02-25 11:00 Vhosts_ispconfig.conf_25-02-11_11-00-03
-rw-r--r-- 1 root root 6746 2011-02-25 11:15 Vhosts_ispconfig.conf_25-02-11_11-15-54
-rw-r--r-- 1 root root 6753 2011-02-25 11:17 Vhosts_ispconfig.conf_25-02-11_11-17-15
-rw-r--r-- 1 root root 6753 2011-02-25 11:17 Vhosts_ispconfig.conf_25-02-11_11-17-46
-rw-r--r-- 1 root root 6753 2011-02-25 20:17 Vhosts_ispconfig.conf_25-02-11_20-17-27
-rw-r--r-- 1 root root 7023 2011-02-25 20:18 Vhosts_ispconfig.conf_25-02-11_20-18-17
-rw-r--r-- 1 root root 7330 2011-02-25 20:49 Vhosts_ispconfig.conf_25-02-11_20-49-38
-rw-r--r-- 1 root root 7330 2011-02-25 20:50 Vhosts_ispconfig.conf_25-02-11_20-50-39
-rw-r--r-- 1 root root 7330 2011-02-28 08:09 Vhosts_ispconfig.conf_28-02-11_08-09-01
-rw-r--r-- 1 root root 7330 2011-02-28 08:12 Vhosts_ispconfig.conf_28-02-11_08-12-25
-rw-r--r-- 1 root root 7330 2011-02-28 08:24 Vhosts_ispconfig.conf_28-02-11_08-24-23
-rw-r--r-- 1 root root 7330 2011-02-28 08:28 Vhosts_ispconfig.conf_28-02-11_08-28-03
-rw-r--r-- 1 root root 7330 2011-02-28 08:29 Vhosts_ispconfig.conf_28-02-11_08-29-34
-rw-r--r-- 1 root root 7330 2011-02-28 08:34 Vhosts_ispconfig.conf_28-02-11_08-34-15
Reply With Quote
  #8  
Old 4th March 2011, 17:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Make a backup of Vhosts_ispconfig.conf, rename Vhosts_ispconfig.conf_01-03-11_19-54-08 to Vhosts_ispconfig.conf and run
Code:
httpd -t
Does it show any syntax errors?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 10th March 2011, 21:14
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
Default

httpd -t

httpd: Syntax error on line 331 of /etc/apache2/apache2.conf: Syntax error on line 205 of /etc/apache2/vhosts/Vhosts_ispconfig.conf: Expected </VirtualHost> but saw </Directory>
Reply With Quote
  #10  
Old 11th March 2011, 15:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

What's in /etc/apache2/vhosts/Vhosts_ispconfig.conf? Did you modify the file?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
[WARM] 443 Has No Virtual Hosts makensy13 Installation/Configuration 3 3rd January 2011 14:03
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 10:05
Fedora 11, ISPconfig and virtual hosts robyoko Installation/Configuration 9 23rd September 2009 18:09
Problem setting up LVS (load-balancer, linux virtual server) in Xen Virtual Machine cifroes Server Operation 1 7th November 2006 16:55


All times are GMT +2. The time now is 13:28.


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