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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd February 2011, 19:26
mike_p mike_p is offline
Senior Member
 
Join Date: Mar 2010
Location: Surrey, England
Posts: 140
Thanks: 9
Thanked 28 Times in 17 Posts
Default Disk corrupted: files corrupted

I've had a disaster: a disk has failed and my ispconfig installation was corrupted.

I have a recent database backup and have managed to reinstall the ispconfig database. I also have a good backup of my /var/www directory.

What I don't have is the sites-available (:. and sites-enabled) httpd configurations.

Is there a script (or other method) to rebuild all those from the ISpconfig database? [ISPCONFIG 3]

Thanks in anticipation....
Reply With Quote
Sponsored Links
  #2  
Old 3rd February 2011, 06:31
mike_p mike_p is offline
Senior Member
 
Join Date: Mar 2010
Location: Surrey, England
Posts: 140
Thanks: 9
Thanked 28 Times in 17 Posts
 
Default

to partly answer my own question: making changes to the record in the sites section of ispconfig causes the files to be wrtten, so I've manually gone to each site and made a change (eg disabled suexec, saved then renabled and saved).

Interestingly this also causes /etc/passwd group and shadow to be updated so I have not had to restore those from backup.
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
Adding non-RAID backup disk to system with RAID 1... BorderAmigos Installation/Configuration 1 20th February 2010 21:50
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
Debian 5.0 'hangs' GHz Installation/Configuration 5 1st October 2009 13:57
The system is currently updating the configuration files. warlock General 8 21st February 2009 19:15
chgrp error new user DKA General 15 28th July 2008 18:45


All times are GMT +2. The time now is 02:33.


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