Hello, I am under Debian 7 and I have a problem with ispconfig3. In fact I would like to know how to restore ispconfig3 from an existing backup that is located in /var/backup/ispconfig_2014-12-07 on my server. In the "ispconfig_2014-12-07" folder there are: - etc.tar.gz - ispconfig_db_backup.sql - ispconfig_software.tar.gz Thank you very much for your answers!
In fact I followed the tutorial "The Perfect Server - Debian Wheezy ( Apache2 , BIND, Dovecot , ISPConfig 3) " to the end and everything worked well. Except now I have added additional versions of PHP ( 5.6.6 and 5.5.22 ) and I think there was a mistake because ispconfg no longer appears at: https://mydomain.com : 8080 / and I do not have access to phpmyadmin via the link https://mydomain.com:8080/phpmyadmin The page displays "Connection failed" [status: Aborted] . Thank you for your response.
Ok, the issue is most likely related to the compiling of the additional php versions, so a restore of the ispconfig backup wont help as ispconfig has not been altered. Try this: Code: apt-get install --reinstall apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libruby libapache2-mod-ruby libapache2-mod-python php5-curl php5-intl php5-memcache php5-memcached php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl memcached
thank you for your quick response However, I have the following error when i run the command: -------------------------------------------------------------------- Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php5-ming : Depends: phpapi-20100525 php5-ps : Depends: phpapi-20100525 E: Unable to correct problems, you have held broken packages. ---------------------------------------------------------------------
The following packages have unmet dependencies: php5-ming : Depends: phpapi-20100525 php5-ps : Depends: phpapi-20100525 E: Unable to correct problems, you have held broken packages.
here is its content: deb http://ftp.debian.org/debian wheezy main contrib non-free deb http://security.debian.org wheezy/updates main contrib non-free deb http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable all deb http://packages.dotdeb.org wheezy-php55 all deb-src http://packages.dotdeb.org wheezy-php55 all
Ok, someone must have altered that file as dotdeb repositories are not used in the perfect server gide and they are cuasing the conflict now. you can try to leave out the ming and ps package as dotdeb does not seem to offer them. Code: apt-get install --reinstall apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid apache2-suexec php-pear php-auth php5-mcrypt mcrypt php5-imagick imagemagick libapache2-mod-suphp libruby libapache2-mod-ruby libapache2-mod-python php5-curl php5-intl php5-memcache php5-memcached php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl memcached
OK, I launched the command and now by accessing the page https://mydomain.com:8080/ I get an error 500 [Internal Server Error]
Ok. please take a look at the apache error.log and the suexec.log to find out the reason for this error.
/var/log/apache2/error.log ------------------------------------------- [Fri Mar 20 05:51:40 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Warning: ob_start(): function 'ob_gzhandler' not found or invalid function name in /usr/local/ispconfig/interface/lib/app.inc.php on line 32 [Fri Mar 20 05:51:40 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Notice: ob_start(): failed to create buffer in /usr/local/ispconfig/interface/lib/app.inc.php on line 32 [Fri Mar 20 05:51:40 2015] [warn] [client 78.192.220.99] mod_fcgid: stderr: PHP Fatal error: Class 'mysqli' not found in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 31
/var/log/apache2/suexec.log ------------------------------------------------- [2015-03-16 20:10:23]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter [2015-03-17 13:40:44]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter [2015-03-17 13:51:10]: uid: (5011/web8) gid: (5005/client0) cmd: .php-fcgi-starter [2015-03-17 13:54:43]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter [2015-03-17 15:33:10]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter [2015-03-17 15:38:39]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter [2015-03-20 05:16:44]: uid: (5003/ispconfig) gid: (5004/ispconfig) cmd: .php-fcgi-starter