Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th July 2012, 09:42
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default 500 internal error after upgrade

Hello Sir,

I have upgraded to latest ISPconfig3 on my Debian Server

When I run phpmyadmin,

xxx.xxx.xxx.xxx/phpmyadmin,

I get an Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.I get an Error 500

Please advice
Reply With Quote
Sponsored Links
  #2  
Old 17th July 2012, 11:56
sygram sygram is offline
Senior Member
 
Join Date: Jan 2007
Posts: 101
Thanks: 10
Thanked 2 Times in 2 Posts
Default

Dear abintipl,

i would suggest to move this thread to ispconfig 3 forum. This is for ispconfig 2.

Regards
Reply With Quote
  #3  
Old 17th July 2012, 12:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,175
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

@sygram: Thanks, I moved the post to the correct forum.

@abintl: Please do what the error message suggested, look into the apache error.log and post the error that you will find there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 17th July 2012, 14:16
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default Error 500

Hello,

Thank you for your reply & sorry for posting on ispconifg2

Output is as under:

/var/log/apache2/error.log


[Sun Jul 15 06:25:04 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 15 06:25:04 2012] [notice] Digest: done
[Sun Jul 15 06:25:05 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 06:25:05 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 06:25:05 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Sun Jul 15 06:25:05 2012] [warn] long lost child came home! (pid 4714)
[Sun Jul 15 07:02:45 2012] [error] [client 123.125.71.49] File does not exist: /var/www/robots.txt
[Sun Jul 15 07:09:21 2012] [error] [client 66.249.73.138] File does not exist: /var/www/robots.txt
[Sun Jul 15 08:58:33 2012] [error] [client 122.176.234.52] File does not exist: /var/www/favicon.ico
[Sun Jul 15 09:03:02 2012] [notice] caught SIGTERM, shutting down
[Sun Jul 15 09:03:04 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 09:03:04 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 09:03:04 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Sun Jul 15 09:03:04 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Jul 15 09:03:04 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 15 09:03:04 2012] [notice] Digest: done
[Sun Jul 15 09:03:05 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 09:03:05 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 09:03:05 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Sun Jul 15 09:59:01 2012] [notice] caught SIGTERM, shutting down
[Sun Jul 15 09:59:03 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 09:59:03 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 09:59:03 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Sun Jul 15 09:59:03 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Jul 15 09:59:03 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 15 09:59:03 2012] [notice] Digest: done
[Sun Jul 15 09:59:04 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 09:59:04 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 09:59:04 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Sun Jul 15 10:02:00 2012] [notice] caught SIGTERM, shutting down
[Sun Jul 15 10:02:02 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 10:02:02 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 10:02:02 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Sun Jul 15 10:02:02 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Jul 15 10:02:02 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 15 10:02:02 2012] [notice] Digest: done
[Sun Jul 15 10:02:03 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 10:02:03 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 10:02:03 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Sun Jul 15 12:20:03 2012] [notice] caught SIGTERM, shutting down
[Sun Jul 15 12:20:05 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 12:20:05 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 12:20:05 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Sun Jul 15 12:20:05 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Jul 15 12:20:05 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 15 12:20:05 2012] [notice] Digest: done
[Sun Jul 15 12:20:06 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 12:20:06 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 12:20:06 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Sun Jul 15 12:23:18 2012] [notice] caught SIGTERM, shutting down
[Sun Jul 15 12:23:20 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 12:23:20 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 12:23:20 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Sun Jul 15 12:23:20 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Jul 15 12:23:20 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 15 12:23:20 2012] [notice] Digest: done
[Sun Jul 15 12:23:21 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 12:23:21 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 12:23:21 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Sun Jul 15 12:25:11 2012] [warn] mod_fcgid: cleanup zombie process 5481
[Sun Jul 15 12:28:15 2012] [warn] mod_fcgid: cleanup zombie process 5501
[Sun Jul 15 12:39:04 2012] [notice] caught SIGTERM, shutting down
[Sun Jul 15 12:39:06 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 12:39:06 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 12:39:06 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Sun Jul 15 12:39:06 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Jul 15 12:39:06 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 15 12:39:06 2012] [notice] Digest: done
[Sun Jul 15 12:39:07 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 12:39:07 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 12:39:07 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Sun Jul 15 12:53:02 2012] [warn] mod_fcgid: cleanup zombie process 6075
[Sun Jul 15 12:53:08 2012] [warn] mod_fcgid: cleanup zombie process 6176
[Sun Jul 15 12:59:44 2012] [warn] mod_fcgid: process 6188 graceful kill fail, sending SIGKILL
[Sun Jul 15 14:02:04 2012] [error] [client 216.145.11.94] File does not exist: /var/www/robots.txt
[Sun Jul 15 14:09:17 2012] [notice] caught SIGTERM, shutting down
[Sun Jul 15 14:09:19 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 14:09:19 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 14:09:19 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Sun Jul 15 14:09:19 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Jul 15 14:09:19 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 15 14:09:19 2012] [notice] Digest: done
[Sun Jul 15 14:09:20 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Jul 15 14:09:20 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Sun Jul 15 14:09:20 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Sun Jul 15 14:23:30 2012] [warn] mod_fcgid: cleanup zombie process 7939
[Sun Jul 15 14:55:22 2012] [warn] mod_fcgid: cleanup zombie process 8024
[Sun Jul 15 14:55:22 2012] [warn] mod_fcgid: cleanup zombie process 8720
[Sun Jul 15 14:56:34 2012] [warn] mod_fcgid: cleanup zombie process 8722
[Sun Jul 15 14:57:13 2012] [warn] mod_fcgid: cleanup zombie process 8775
[Sun Jul 15 15:12:59 2012] [warn] mod_fcgid: cleanup zombie process 9001
[Sun Jul 15 15:12:59 2012] [warn] mod_fcgid: cleanup zombie process 9131
[Sun Jul 15 15:18:06 2012] [warn] mod_fcgid: cleanup zombie process 9134
[Sun Jul 15 15:20:09 2012] [warn] mod_fcgid: cleanup zombie process 9138
[Sun Jul 15 17:48:17 2012] [error] [client 65.52.109.7] File does not exist: /var/www/robots.txt
[Sun Jul 15 18:00:36 2012] [warn] mod_fcgid: cleanup zombie process 9228
[Sun Jul 15 18:00:36 2012] [warn] mod_fcgid: cleanup zombie process 9225
[Sun Jul 15 18:00:36 2012] [warn] mod_fcgid: cleanup zombie process 12403
[Sun Jul 15 21:33:59 2012] [error] [client 178.154.179.250] File does not exist: /var/www/robots.txt
[Mon Jul 16 04:44:59 2012] [warn] mod_fcgid: cleanup zombie process 9235
[Mon Jul 16 04:46:25 2012] [warn] mod_fcgid: cleanup zombie process 9281
[Mon Jul 16 04:47:36 2012] [warn] mod_fcgid: cleanup zombie process 9283
[Mon Jul 16 04:48:01 2012] [warn] mod_fcgid: cleanup zombie process 9287
[Mon Jul 16 04:49:39 2012] [notice] caught SIGTERM, shutting down
[Mon Jul 16 04:49:41 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 16 04:49:41 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Mon Jul 16 04:49:41 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon Jul 16 04:49:41 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 16 04:49:41 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 16 04:49:41 2012] [notice] Digest: done
[Mon Jul 16 04:49:42 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 16 04:49:42 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Mon Jul 16 04:49:42 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Mon Jul 16 04:51:23 2012] [notice] caught SIGTERM, shutting down
[Mon Jul 16 04:51:25 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 16 04:51:25 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Mon Jul 16 04:51:25 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon Jul 16 04:51:25 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 16 04:51:25 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 16 04:51:25 2012] [notice] Digest: done
[Mon Jul 16 04:51:26 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 16 04:51:26 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Mon Jul 16 04:51:26 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Mon Jul 16 05:21:19 2012] [error] [client 66.249.66.187] File does not exist: /var/www/robots.txt
[Mon Jul 16 05:44:12 2012] [notice] caught SIGTERM, shutting down
[Mon Jul 16 05:44:14 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 16 05:44:14 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Mon Jul 16 05:44:14 2012] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon Jul 16 05:44:14 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 16 05:44:14 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 16 05:44:14 2012] [notice] Digest: done
[Mon Jul 16 05:44:15 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 16 05:44:15 2012] [warn] RSA server certificate CommonName (CN) `RG' does NOT match server name!?
[Mon Jul 16 05:44:15 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_fcgid/2.3.6 mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) configured -- resuming normal operations
[Mon Jul 16 06:27:21 2012] [warn] mod_fcgid: cleanup zombie process 16737
[Mon Jul 16 07:20:45 2012] [error] [client 123.125.71.27] File does not exist: /var/www/robots.txt
[Mon Jul 16 08:09:05 2012] [warn] mod_fcgid: cleanup zombie process 26716
[Mon Jul 16 08:09:17 2012] [warn] mod_fcgid: cleanup zombie process 26821
[Mon Jul 16 08:09:23 2012] [warn] mod_fcgid: cleanup zombie process 26824
[Mon Jul 16 09:12:21 2012] [error] [client 188.132.148.25] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
[Mon Jul 16 09:12:21 2012] [error] [client 188.132.148.25] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /w00tw00t.at.ISC.SANS.DFind
[Mon Jul 16 09:32:08 2012] [warn] mod_fcgid: cleanup zombie process 28275
[Mon Jul 16 09:37:40 2012] [warn] mod_fcgid: cleanup zombie process 28277
[Mon Jul 16 10:09:06 2012] [warn] mod_fcgid: cleanup zombie process 29201
[Mon Jul 16 10:29:40 2012] [error] [client 117.199.189.149] File does not exist: /var/www/favicon.ico
[Mon Jul 16 10:29:40 2012] [error] [client 117.199.189.149] File does not exist: /var/www/favicon.ico
[Mon Jul 16 11:30:53 2012] [warn] mod_fcgid: cleanup zombie process 30824
[Mon Jul 16 16:50:15 2012] [warn] mod_fcgid: cleanup zombie process 4639
[Mon Jul 16 18:38:23 2012] [warn] mod_fcgid: cleanup zombie process 6720
[Mon Jul 16 22:52:50 2012] [error] [client 216.145.17.190] File does not exist: /var/www/robots.txt
[Tue Jul 17 06:30:48 2012] [error] [client 207.46.13.160] File does not exist: /var/www/robots.txt
[Tue Jul 17 06:50:32 2012] [error] [client xx.xxx.xxx.xx] SoftException in Application.cpp:221: File "/usr/share/phpmyadmin/index.php" is not in document root of Vhost "/var/www"
[Tue Jul 17 06:50:32 2012] [error] [client xx.xxx.xxx.xx] Premature end of script headers: index.php
[Tue Jul 17 06:50:32 2012] [error] [client xx.xxx.xxx.xx] File does not exist: /var/www/favicon.ico
[Tue Jul 17 06:52:24 2012] [error] [client xx.xxx.xxx.xx] SoftException in Application.cpp:221: File "/usr/share/phpmyadmin/index.php" is not in document root of Vhost "/var/www"
[Tue Jul 17 06:52:24 2012] [error] [client xx.xxx.xxx.xx] Premature end of script headers: index.php
[Tue Jul 17 06:52:24 2012] [error] [client xx.xxx.xxx.xx] File does not exist: /var/www/favicon.ico
[Tue Jul 17 07:04:35 2012] [error] [client xx.xxx.xxx.xx] File does not exist: /var/www/robots.txt
[Tue Jul 17 07:14:38 2012] [error] [client xx.xxx.xxx.xx] client denied by server configuration: /etc/apache2/htdocs
[Tue Jul 17 07:14:38 2012] [error] [client xx.xxx.xxx.xx] client denied by server configuration: /etc/apache2/htdocs
php (pre-forking): Cannot allocate memory
[Tue Jul 17 09:35:29 2012] [warn] mod_fcgid: cleanup zombie process 21858
[Tue Jul 17 09:35:29 2012] [warn] mod_fcgid: cleanup zombie process 17903
[Tue Jul 17 09:45:06 2012] [warn] mod_fcgid: cleanup zombie process 21860
php (pre-forking): Cannot allocate memory
[Tue Jul 17 09:55:06 2012] [warn] mod_fcgid: cleanup zombie process 17907
[Tue Jul 17 09:55:12 2012] [warn] mod_fcgid: cleanup zombie process 22253
Reply With Quote
  #5  
Old 17th July 2012, 14:26
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,175
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

Seems as if suphp has priority over mod_php on your server which causes phpmyadmin to fail. Edit the file:

/etc/apache2/mods-enabled/suphp.conf

and add a # in the front of these 2 lines:

AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
suPHP_AddHandler application/x-httpd-suphp

then restart apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 17th July 2012, 15:43
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default Error 500

Hello,

I have commented two lines as per instructions,

restarted /etc/init.d/apache2 restart

File is as under

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* forms frameset
*
* @version $Id$
* @uses $GLOBALS['strNoFrames']
* @uses $GLOBALS['cfg']['QueryHistoryDB']
* @uses $GLOBALS['cfg']['Server']['user']
* @uses $GLOBALS['cfg']['DefaultTabServer'] as src for the mainframe
* @uses $GLOBALS['cfg']['DefaultTabDatabase'] as src for the mainframe
* @uses $GLOBALS['cfg']['NaviWidth'] for navi frame width
* @uses $GLOBALS['collation_connection'] from $_REQUEST (grab_globals.lib.php)
* or common.inc.php
* @uses $GLOBALS['available_languages'] from common.inc.php (select_lang.lib.php)
* @uses $GLOBALS['db']
* @uses $GLOBALS['charset']
* @uses $GLOBALS['lang']
* @uses $GLOBALS['text_dir']
* @uses $_ENV['HTTP_HOST']
* @uses PMA_getRelationsParam()
* @uses PMA_purgeHistory()
* @uses PMA_generate_common_url()
* @uses PMA_VERSION
* @uses session_write_close()
* @uses time()
* @uses PMA_getenv()
* @uses header() to send charset
* @package phpMyAdmin
*/

/**
* Gets core libraries and defines some variables
*/
require_once './libraries/common.inc.php';

/**
* Includes the ThemeManager if it hasn't been included yet
*/
require_once './libraries/relation.lib.php';

// free the session file, for the other frames to be loaded
session_write_close();

// Gets the host name
if (empty($HTTP_HOST)) {
if (PMA_getenv('HTTP_HOST')) {
$HTTP_HOST = PMA_getenv('HTTP_HOST');
} else {
$HTTP_HOST = '';
}
}


// purge querywindow history
$cfgRelation = PMA_getRelationsParam();
if ($GLOBALS['cfg']['QueryHistoryDB'] && $cfgRelation['historywork']) {
PMA_purgeHistory($GLOBALS['cfg']['Server']['user']);
}
unset($cfgRelation);


/**
* pass variables to child pages
*/
$drops = array('lang', 'server', 'convcharset', 'collation_connection',
'db', 'table');

foreach ($drops as $each_drop) {
if (array_key_exists($each_drop, $_GET)) {
unset($_GET[$each_drop]);
}
}
unset($drops, $each_drop);

if (! strlen($GLOBALS['db'])) {
$main_target = $GLOBALS['cfg']['DefaultTabServer'];
} elseif (! strlen($GLOBALS['table'])) {
$_GET['db'] = $GLOBALS['db'];
$main_target = $GLOBALS['cfg']['DefaultTabDatabase'];
} else {
$_GET['db'] = $GLOBALS['db'];
$_GET['table'] = $GLOBALS['table'];
$main_target = $GLOBALS['cfg']['DefaultTabTable'];
}

$url_query = PMA_generate_common_url($_GET);

if (isset($GLOBALS['target']) && is_string($GLOBALS['target']) && !empty($GLOBALS['target']) && in_array($GLOBALS['target'], $goto_whitelist)) {
$main_target = $GLOBALS['target'];
}

$main_target .= $url_query;

$lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][2];


// start output
header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="<?php echo $lang_iso_code; ?>"
lang="<?php echo $lang_iso_code; ?>"
dir="<?php echo $GLOBALS['text_dir']; ?>">
<head>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title>phpMyAdmin <?php echo PMA_VERSION; ?> -
<?php echo htmlspecialchars($HTTP_HOST); ?></title>
<meta http-equiv="Content-Type"
content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
<meta name="robots" content="noindex,nofollow" />
<script type="text/javascript">
// <![CDATA[
// definitions used in common.js
var common_query = '<?php echo PMA_escapeJsString(PMA_generate_common_url('', '', '&'));?>';
var opendb_url = '<?php echo PMA_escapeJsString($GLOBALS['cfg']['DefaultTabDatabase']); ?>';
var safari_browser = <?php echo PMA_USR_BROWSER_AGENT == 'SAFARI' ? 'true' : 'false' ?>;
var querywindow_height = <?php echo PMA_escapeJsString($GLOBALS['cfg']['QueryWindowHeight']); ?>;
var querywindow_width = <?php echo PMA_escapeJsString($GLOBALS['cfg']['QueryWindowWidth']); ?>;
var collation_connection = '<?php echo PMA_escapeJsString($GLOBALS['collation_connection']); ?>';
var lang = '<?php echo PMA_escapeJsString($GLOBALS['lang']); ?>';
var server = '<?php echo PMA_escapeJsString($GLOBALS['server']); ?>';
var table = '<?php echo PMA_escapeJsString($GLOBALS['table']); ?>';
var db = '<?php echo PMA_escapeJsString($GLOBALS['db']); ?>';
var token = '<?php echo PMA_escapeJsString($_SESSION[' PMA_token ']); ?>';
var text_dir = '<?php echo PMA_escapeJsString($GLOBALS['text_dir']); ?>';
var pma_absolute_uri = '<?php echo PMA_escapeJsString($GLOBALS['cfg']['PmaAbsoluteUri']); ?>';
var pma_text_default_tab = '<?php echo PMA_escapeJsString(PMA_getTitleForTarget($GLOBALS['cfg']['DefaultTabTable'])); ?>';
var pma_text_left_default_tab = '<?php echo PMA_escapeJsString(PMA_getTitleForTarget($GLOBALS['cfg']['LeftDefaultTabTable'])); ?>';

// for content and navigation frames

var frame_content = 0;
var frame_navigation = 0;
function getFrames() {
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
frame_content = window.frames[1];
frame_navigation = window.frames[0];
<?php } else { ?>
frame_content = window.frames[0];
frame_navigation = window.frames[1];
<?php } ?>
}
var onloadCnt = 0;
var onLoadHandler = window.onload;
window.onload = function() {
if (onloadCnt == 0) {
if (typeof(onLoadHandler) == "function") {
onLoadHandler();
}
if (typeof(getFrames) != 'undefined' && typeof(getFrames) == 'function') {
getFrames();
}
onloadCnt++;
}
};
// ]]>
</script>
<script src="./js/common.js" type="text/javascript"></script>
</head>
<frameset cols="<?php
if ($GLOBALS['text_dir'] === 'rtl') {
echo '*,';
}
echo $GLOBALS['cfg']['NaviWidth'];
if ($GLOBALS['text_dir'] === 'ltr') {
echo ',*';
}
?>" rows="*" id="mainFrameset">
<?php if ($GLOBALS['text_dir'] === 'ltr') { ?>
<frame frameborder="0" id="frame_navigation"
src="navigation.php<?php echo $url_query; ?>"
name="frame_navigation" />
<?php } ?>
<frame frameborder="0" id="frame_content"
src="<?php echo $main_target; ?>"
name="frame_content" />
<?php if ($GLOBALS['text_dir'] === 'rtl') { ?>
<frame frameborder="0" id="frame_navigation"
src="navigation.php<?php echo $url_query; ?>"
name="frame_navigation" />
<?php } ?>
<noframes>
<body>
<p><?php echo $GLOBALS['strNoFrames']; ?></p>
</body>
</noframes>
</frameset>
</html>
Reply With Quote
  #7  
Old 17th July 2012, 16:58
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default Error 500

I forget to mention

if I browse to my server

xxx.xxx.xxx.xx/phpmyadmin

One file gets downloaded & content mentioned in my last post

BR
Reply With Quote
  #8  
Old 17th July 2012, 17:30
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,175
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

Ok,so it seems that mod_php is not installed or enabled on your server then. Please run:

a2enmod php5

and then restart apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 17th July 2012, 19:46
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
Default Error 500

Thank you so much Sir,

Now I can access phpmyadmin

Thank you once again

Today I found http://www.adminer.org/

Do you recommend to use this instead of phpmyadmin

regards
Reply With Quote
  #10  
Old 18th July 2012, 12:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by abintipl View Post
Today I found http://www.adminer.org/

Do you recommend to use this instead of phpmyadmin

regards
I've never worked with it, so I'd stick with phpMyAdmin (or maybe Chive which is nice as well: http://www.howtoforge.com/installing...in-alternative ).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
abintipl (19th July 2012)
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
Elgg V 1.6 ERROR 500 - Internal Server Error! toyito Installation/Configuration 6 27th August 2009 19:43
Postfix + DKIM - Error in log donb01 Server Operation 2 24th July 2008 17:59
500 Internal Server - htaccess failure mspIggy Server Operation 1 9th July 2008 06:35
got 500 internal server error tried to enable chmod from FTP smilem Installation/Configuration 13 17th January 2008 01:34
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29


All times are GMT +2. The time now is 16:58.


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