Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd March 2009, 23:32
kextra1 kextra1 is offline
Senior Member
 
Join Date: Apr 2008
Posts: 121
Thanks: 12
Thanked 10 Times in 6 Posts
Default Restoring Broken ISPConfig

I am trying to restore ISPConfig on a box which already had ISPConfig on it...however it's broken.

I've backed up the ISPConfig master data, user/client database data & web content, etc. etc...


All I can find regarding how to RESTORE backed up data to fix a broken ISPConfig machine is all this crap about moving ispconfig.

I shouldnt have to mess with /etc/passwd /etc/shadow if im on the same box right?

Also....what is the name of the file that redirects all the domains to their homepage instead of the regular apache2-default index page? That info would be very helpful at this point.
Reply With Quote
Sponsored Links
  #2  
Old 23rd March 2009, 23:48
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

If you had made a backup, just restore the directories /root/ispconfig, /home/admispconfig and the mysql database. ISPConfig is very robust, its enough to just restore these 3 parts and it will work again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th April 2009, 21:37
poisen poisen is offline
Member
 
Join Date: Jan 2007
Location: Chiemsee, Germany
Posts: 56
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to poisen
Default

I just tried restoring the ispconfig database backup (that is saved in /tmp) and I got the following error message

HTML Code:
server1:/tmp # mysql -uroot -p123abc -hlocalhost ispconfig < existing_db_04_04_2009__10_31_54.sql
ERROR 1146 (42S02) at line 22: Table 'ispconfig.del_status' doesn't exist
What can I do to restore the database? I just saw that /var/lib/mysql/ispconfig/ is empty and contains no tables :-(

Last edited by poisen; 15th April 2009 at 22:05. Reason: ispconfig database is empty
Reply With Quote
  #4  
Old 16th April 2009, 12:49
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Load the sql dump that comes with ispconfig in the database first to create the database tables, then empty all tables and restore the data from the file existing_db_04_04_2009__10_31_54.sql
__________________
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:
poisen (16th April 2009)
  #5  
Old 16th April 2009, 13:05
poisen poisen is offline
Member
 
Join Date: Jan 2007
Location: Chiemsee, Germany
Posts: 56
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to poisen
 
Default

Hey Till,

that is exactly what I did yesterday and it all worked out fine. ISPConfig is really a very robust system. Thanks for your help.

-Eddie
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
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
DNS and ISPConfig atjensen11 Installation/Configuration 1 19th February 2009 10:48
fastcgi and php with ispconfig tosser Installation/Configuration 14 18th January 2009 13:41
ISPConfig 2.2.13 released till General 35 23rd July 2007 16:28
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46


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


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