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 15th December 2009, 20:02
rt_bower rt_bower is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Empty Trash erased all hosted website files

I need help in understanding how emptying the trash cans in ISPConfig (V 2.2.32) somehow caused all the sites hosted on my server to be reinitialized back to a default folder without a single warning. All files were erased from about two dozen commercially hosted sites. I'm ready to provide any further detail you request. The log file is about 10M or I would have attached it. I would especially appreciate hearing from Falko or Till. Don't get me wrong, I backup every night and was able to restore it all in about an hour; but, I need to understand what went wrong to continue considering ISPConfig a viable option.

Thanks, Rt_bower

Last edited by rt_bower; 16th December 2009 at 02:38.
Reply With Quote
Sponsored Links
  #2  
Old 16th December 2009, 11:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

Please take a look at the logfile /home/admispconfig/ispconfig/ispconfig.log and check which entry are therer for the moment where the files have been deleted. Do you know which sites ahd been in the recycle bin as you emtoed it? If yes, check the records for these sites in the ispconfig database if you see anything that looks different, especially concerning the website root path.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 16th December 2009, 17:51
rt_bower rt_bower is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello Till,

And thanks for giving my situation some attention. The reason for emptying the trash is I was unable to add a co-domain to one of my sites; a message that it was already being used kept appearing. We may have had about four such co-domains in the trash at the time. Additionally, we were seeing entries for deleted co-domains in /etc/postfix/local-host-names file (OS is Ubuntu 9.04). I saw nothing peculiar change in the database other than the "trash-can" co-domains being deleted from the isp_isp_domain table. All custom Apache directives were still in place. I've attached a trimmed version of the log for your inspection. I see no clue why all websites were reset. Let me know if anything else will be helpful.
Attached Files
File Type: txt ispconfig_15-12-2009.txt (49.5 KB, 166 views)
Reply With Quote
  #4  
Old 17th December 2009, 08:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

As far as I can see, the sites where not reinitialized, just the default index.html file was copied to your sites again which might look like a reinitialisation. This happens if your soite does not have a index file in its root directory. hat is the name of the index files that you have in your sites? index.html, index.php, index.htm? It must be a file name that is listed in the list of standard index pages in the ispconfig settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st December 2009, 20:15
rt_bower rt_bower is offline
Junior Member
 
Join Date: Oct 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I can assure you I did not take lightly having to reload all websites from backup. Prior to this I checked the "web" folders of all websites and the only thing found was an index.html and an "error" folder. Here is the link to a trimmed version of the ispconfig_access.log file showing the 404 errors after all the site pages/scripts were deleted. I'm still curious about what scenario may allow this to happen; any ideas?
Reply With Quote
  #6  
Old 22nd December 2009, 09:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

Never seen that before. Also even if a site would have been deleted and then restored, ispconfig would have restored the contents too from the recycle bin. There is no function in the ispconfig libraries to reinitiate a site. The only thing that I can think of is if the complete directory tree has been deleted or moved on the shell, then ispconfig will recreate the structures.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
rt_bower (22nd December 2009)
Reply

Bookmarks

Tags
erased, websites

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
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Debian 5.0 'hangs' GHz Installation/Configuration 5 1st October 2009 12:57
Apache wont serve my files anymore:( wotIsCmd Server Operation 2 17th July 2009 20:24
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
Network questions regarding Ubuntu Server lubod Installation/Configuration 7 3rd January 2007 18:53


All times are GMT +2. The time now is 21:50.


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