#1  
Old 2nd June 2008, 21:12
jusdisgi jusdisgi is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem recreating deleted site

Hi everyone. I just ran into my first problem, and while it was originally caused by my own folly I think it may have uncovered a bug.

I had created two clients with 1 site each. By accident I overwrote /var/www/web1/ which was the home of the first client/site. That was the aforementioned folly. But then I decided that to get it back to normal I'd just go into ISPConfig, delete the site and recreate it. That's when I got unexpected results.

I deleted it fine. When I went to create it again, ISPConfig told me the name was already in use. So I went into the Recycle bin and emptied it, and then it allowed me to create the site, and acted like everything was fine. However, I got a browser error when I tried to go there. Looking at the directories and the /etc/apache2/vhosts/Vhosts_ispconfig.conf file, it was obvious why. The system had removed the /var/www/web1 directory and created a new /var/www/web4 directory, which was expected, consistent with the naming shown in the ISPConfig interface. But in the Vhosts_isponfig.conf file all the instances of 'web1' remained. At this point it should be noted that Apache would not restart, because the config was broken. Replacing all the 'web1' instances with 'web4' seems to have fixed the problem.

Anyway, this isn't a big deal for me...it's an easy enough problem to fix and should only happen rarely anyway. But it does seem like ISPConfig is missing a step someplace there, so I thought I'd provide this report.

That's the only problem I've encountered so far...this thing is really slick. Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 2nd June 2008, 23:14
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,775
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

What you did is a common task and it works for me fine in ISPConfig. Maybe the process was somehow interrupoted on your server. I'am sure that this is not a general bug.

Plesae have a look in /home/admispconfig/ispconfig/ispconfig.log if there are any wrnings or errors.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd June 2008, 01:16
jusdisgi jusdisgi is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Till, your quick responses are always appreciated. And also, I'm glad you had me look at that (tremendously verbose) logfile...there's a lot of clues to how stuff is being done in there.

I've posted the whole log here: http://pastebin.com/m21303c6d

The relevant lines are about 165-275. There are no errors, but several warnings of this type: "WARNING: could not . /etc/apache2/envvars && httpd -t &> /dev/null" and a few others.

Some time later I did delete and recreate another site without a problem. The only difference in procedure was that I emptied the recycle bin prior to recreating it. Anyway, thanks again for your help.
Reply With Quote
  #4  
Old 3rd June 2008, 11:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
#
02.06.2008 - 13:11:29 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2556: WARNING: could not . /etc/apache2/envvars && httpd -t &> /dev/null
#
02.06.2008 - 13:11:29 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 2570: httpd syntax seems to contain errors, reloading with old configuration
What's 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
  #5  
Old 3rd June 2008, 16:51
jusdisgi jusdisgi is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

debian:~# ls -la /etc/apache2/vhosts
total 72
drwxr-xr-x 2 root root 4096 2008-06-02 14:39 .
drwxr-xr-x 8 root root 4096 2008-06-02 12:31 ..
-rw-r--r-- 1 root root 4360 2008-06-02 14:43 Vhosts_ispconfig.conf
-rw-r--r-- 1 root root 4360 2008-06-02 14:43 Vhosts_ispconfig.conf~
-rw-r--r-- 1 root root 4358 2008-06-02 13:03 Vhosts_ispconfig.conf_02-06-08_13-03-44
-rw-r--r-- 1 root root 4358 2008-06-02 13:04 Vhosts_ispconfig.conf_02-06-08_13-04-17
-rw-r--r-- 1 root root 2378 2008-06-02 13:11 Vhosts_ispconfig.conf_02-06-08_13-11-29
-rw-r--r-- 1 root root 2378 2008-06-02 13:13 Vhosts_ispconfig.conf_02-06-08_13-13-14
-rw-r--r-- 1 root root 4358 2008-06-02 13:14 Vhosts_ispconfig.conf_02-06-08_13-14-09
-rw-r--r-- 1 root root 4358 2008-06-02 13:15 Vhosts_ispconfig.conf_02-06-08_13-15-04
-rw-r--r-- 1 root root 4358 2008-06-02 13:15 Vhosts_ispconfig.conf_02-06-08_13-15-59
Reply With Quote
  #6  
Old 4th June 2008, 19:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

http://www.howtoforge.com/forums/showthread.php?t=7719
__________________
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Problem with ownership of domains sveronese General 2 12th October 2007 14:00
I just need one website...... showe1966 Installation/Configuration 21 19th September 2007 23:20
email problem. (virtusertable) Billionstar Installation/Configuration 4 9th March 2007 13:09
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 16:06


All times are GMT +2. The time now is 18:30.


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