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
  #31  
Old 10th March 2008, 16:30
LumpyOne LumpyOne is offline
Junior Member
 
Join Date: Oct 2006
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Can you log in using SSH? What's the output of
Code:
netstat -tap
?
Nope. The connection just hangs and never connects. The server is pinging, just not responding to anything else. It will require a hard-reboot at this point.
Reply With Quote
Sponsored Links
  #32  
Old 16th March 2008, 21:31
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
 
Default Update OK

Wanted to say to Till and Falko: thank you for good work. Updating from 2.2.13 to 2.2.21 has worked fine.

Before running the setup script I've executed this as fallback:
Code:
#!/bin/sh
#
# Backup script for ISPConfig-2.x.x installations
# It should be executed before updating inside the 2.x.x branch
# from one version to a higher one.
#
# After executing you get a minimum data collection to be able to revert
# the update process by hand in case an update to a higher 2.x.x version 
# of ISPConfig fails.
#
# This script is !! NOT !! backing up any www-data or other configuration 
# files, that are necessary to run an ISPConfig Server!!
#
BKPDIR=bkp-ispconfig_$(date +%F--%H-%M)
[ -d $BKPDIR ] || mkdir $BKPDIR
echo '1.) Backing up /home/admispconfig to file home_admispconfig.tar ...'
tar cpf  $BKPDIR/home_admispconfig.tar --exclude='*/temp/*' /home/admispconfig && echo '   home_admispconfig.tar ==> OK'
echo '2.) Backing up /root/ispconfig to file root_ispconfig.tar ...'
tar cpf  $BKPDIR/root_ispconfig.tar /root/ispconfig && echo '   root_ispconfig.tar ==> OK'
echo '3.) Backing up ISPConfig database 'db_ispconfig' to file db_ispconfig.sql'
echo 'Password for mysql root is required'
mysqldump -p -u root db_ispconfig >  $BKPDIR/db_ispconfig.sql && echo '   db_ispconfig.sql ==> OK'
echo
echo 'IF YOU CAN SEE 3 TIMES THE "==> OK" MESSAGE THEN YOU SHOULD BE SAFE.'
echo 'ANYWAY: CHECK NOW THE 3 FILES BY HAND - AND THEN PERFORM YOUR UPDATE.'
echo
echo Backup directory is: $BKPDIR
ls -lh $BKPDIR
Well, this is surely not perfect but executing something like this before the official setup script makes me feel better while updating.

Last edited by t-mug; 16th March 2008 at 22:16.
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
fastcgi and php with ispconfig tosser Installation/Configuration 14 18th January 2009 13:41
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08
ISPConfig 2.2.20 released till General 31 13th February 2008 16:17
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 21:01
Recreating ISPConfig database retran Installation/Configuration 2 15th April 2006 23:22


All times are GMT +2. The time now is 04:29.


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