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
  #11  
Old 25th May 2012, 10:21
Taken Taken is offline
Junior Member
 
Join Date: May 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Apache log:

Code:
[Thu May 24 18:11:14 2012] [notice] caught SIGTERM, shutting down
[Thu May 24 18:11:15 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 24 18:11:15 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 24 18:11:15 2012] [notice] Apache/2.2.17 (Ubuntu) PHP/5.3.13-1~dotdeb.0 with Suhosin-Patch mod_scgi/1.13 mod_ssl/2.2.17 OpenSSL/0.9.8o confiured -- resuming normal operations
/etc/apache2/conf.d/phpmyadmin.conf

Code:
# phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>
        Options FollowSymLinks
        DirectoryIndex index.php

        <IfModule mod_php5.c>
                AddType application/x-httpd-php .php

                php_flag magic_quotes_gpc Off
                php_flag track_vars On
                php_flag register_globals Off
                php_admin_flag allow_url_fopen Off
                php_value include_path .
                php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
                php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/
        </IfModule>

</Directory>

# Authorize for setup
<Directory /usr/share/phpmyadmin/setup>
    <IfModule mod_authn_file.c>
    AuthType Basic
    AuthName "phpMyAdmin Setup"
    AuthUserFile /etc/phpmyadmin/htpasswd.setup
    </IfModule>
    Require valid-user
</Directory>

# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
    Order Deny,Allow
    Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
    Order Deny,Allow
    Deny from All
</Directory>
I think it's alright, but doesn't work .

Thanks.
Reply With Quote
Sponsored Links
  #12  
Old 29th May 2012, 12:07
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

Looks ok. Do you have mod_php installed?
__________________
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
  #13  
Old 13th May 2013, 23:21
djbill djbill is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Hi, i follow The Perfect Server – Debian Wheezy (Apache2, BIND, Dovecot, ISPConfig 3) and i have the same error.

ISPConfig works fine but...

I get 500 error and when i visit "http://<myserver>/phpmyadmin/" a download of try to starts.

I follow previous recomendation on this post with unsucessfull results.

Apache errors when i do "/etc/init.d/apache2 restart":
Code:
[Mon May 13 23:20:19 2013] [notice] caught SIGTERM, shutting down
[Mon May 13 23:20:21 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon May 13 23:20:21 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 13 23:20:21 2013] [notice] FastCGI: process manager initialized (pid 10101)
[Mon May 13 23:20:21 2013] [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'.
[Mon May 13 23:20:21 2013] [error] python_init: Python executable found '/usr/bin/python'.
[Mon May 13 23:20:21 2013] [error] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon May 13 23:20:21 2013] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Mon May 13 23:20:21 2013] [notice] mod_python: using mutex_directory /tmp
[Mon May 13 23:20:21 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon May 13 23:20:21 2013] [notice] Apache/2.2.22 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.6 PHP/5.4.4-14 mod_python/3.3.1 Python/2.7.3 mod_ruby/1.2.6 Ruby/1.8.7(2012-02-08) mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
Actually "phpmyadmin.conf":
Code:
# phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>
        Options FollowSymLinks
        DirectoryIndex index.php

        <IfModule mod_php5.c>
                AddType application/x-httpd-php .php

#               php_flag magic_quotes_gpc Off
#               php_flag track_vars On
#               php_flag register_globals Off
#               php_admin_flag allow_url_fopen Off
#               php_value include_path .
#               php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
#               php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/
        </IfModule>

</Directory>

# Authorize for setup
<Directory /usr/share/phpmyadmin/setup>
    <IfModule mod_authn_file.c>
    AuthType Basic
    AuthName "phpMyAdmin Setup"
    AuthUserFile /etc/phpmyadmin/htpasswd.setup
    </IfModule>
    Require valid-user
</Directory>

# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
    Order Deny,Allow
    Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
    Order Deny,Allow
    Deny from All
</Directory>
There are my "/etc/apache2/mods-enabled":
Code:
lrwxrwxrwx 1 root root 30 May 13 19:57 actions.conf -> ../mods-available/actions.conf
lrwxrwxrwx 1 root root 30 May 13 19:57 actions.load -> ../mods-available/actions.load
lrwxrwxrwx 1 root root 28 May 13 19:55 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 May 13 19:55 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 May 13 19:55 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 May 13 19:55 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 May 13 19:55 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 May 13 19:55 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 May 13 19:55 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 May 13 19:55 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 May 13 19:55 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 May 13 19:55 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 26 May 13 19:55 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root 30 May 13 19:55 deflate.conf -> ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 May 13 19:55 deflate.load -> ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 May 13 19:55 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 May 13 19:55 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 May 13 19:55 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 30 May 13 19:58 fastcgi.conf -> ../mods-available/fastcgi.conf
lrwxrwxrwx 1 root root 30 May 13 19:58 fastcgi.load -> ../mods-available/fastcgi.load
lrwxrwxrwx 1 root root 28 May 13 19:56 fcgid.conf -> ../mods-available/fcgid.conf
lrwxrwxrwx 1 root root 28 May 13 19:56 fcgid.load -> ../mods-available/fcgid.load
lrwxrwxrwx 1 root root 30 May 13 19:57 include.load -> ../mods-available/include.load
lrwxrwxrwx 1 root root 27 May 13 19:55 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 May 13 19:55 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 May 13 19:55 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 May 13 19:55 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 27 May 13 22:58 php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 May 13 22:58 php5.load -> ../mods-available/php5.load
lrwxrwxrwx 1 root root 29 May 13 19:56 python.load -> ../mods-available/python.load
lrwxrwxrwx 1 root root 33 May 13 19:55 reqtimeout.conf -> ../mods-available/reqtimeout.conf
lrwxrwxrwx 1 root root 33 May 13 19:55 reqtimeout.load -> ../mods-available/reqtimeout.load
lrwxrwxrwx 1 root root 30 May 13 19:57 rewrite.load -> ../mods-available/rewrite.load
lrwxrwxrwx 1 root root 27 May 13 19:56 ruby.load -> ../mods-available/ruby.load
lrwxrwxrwx 1 root root 31 May 13 19:55 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 May 13 19:55 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 26 May 13 19:57 ssl.conf -> ../mods-available/ssl.conf
lrwxrwxrwx 1 root root 26 May 13 19:57 ssl.load -> ../mods-available/ssl.load
lrwxrwxrwx 1 root root 29 May 13 19:55 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 May 13 19:55 status.load -> ../mods-available/status.load
lrwxrwxrwx 1 root root 29 May 13 19:57 suexec.load -> ../mods-available/suexec.load
lrwxrwxrwx 1 root root 28 May 13 19:56 suphp.conf -> ../mods-available/suphp.conf
lrwxrwxrwx 1 root root 28 May 13 19:56 suphp.load -> ../mods-available/suphp.load
Thanks in advance for your help.

Last edited by djbill; 13th May 2013 at 23:24.
Reply With Quote
  #14  
Old 23rd May 2013, 18:47
DUCKFACE DUCKFACE is offline
Member
 
Join Date: Dec 2008
Location: Bulgaria
Posts: 92
Thanks: 2
Thanked 2 Times in 2 Posts
Default

i have the same problem
here is the apache log
Code:
[Thu May 23 06:47:55 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
[Thu May 23 06:47:55 2013] [notice] Digest: generating secret for digest authentication ...
[Thu May 23 06:47:55 2013] [notice] Digest: done
[Thu May 23 06:47:55 2013] [notice] FastCGI: process manager initialized (pid 28534)
[Thu May 23 06:47:55 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.7 proxy_html/3.0.1 mod_ruby/1.2.6 Ruby/1.8.7(2012-02-08) mod_ssl/2.2.22 OpenSSL/1.0.1c configured -- resuming normal operations
[Thu May 23 06:47:55 2013] [warn] long lost child came home! (pid 25026)
here is the phpmyadmin.apache.conf
Code:
# phpMyAdmin default Apache configuration

Alias /myalias /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>
	Options FollowSymLinks
	DirectoryIndex index.php
	#Make use of .htpasswd
	AuthType Basic
	AuthName "Enter account information to log-in"
	AuthUserFile /usr/share/phpmyadmin/.htpasswd
	Require valid-user

	<IfModule mod_php5.c>
		AddType application/x-httpd-php .php

		php_flag magic_quotes_gpc Off
		php_flag track_vars On
		php_flag register_globals Off
		php_admin_flag allow_url_fopen Off
		php_value include_path .
		php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
		php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/

	</IfModule>

</Directory>

# Authorize for setup
<Directory /usr/share/phpmyadmin/setup>
    <IfModule mod_authn_file.c>
    AuthType Basic
    AuthName "phpMyAdmin Setup"
    AuthUserFile /etc/phpmyadmin/htpasswd.setup
    </IfModule>
    Require valid-user
</Directory>

# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
    Order Deny,Allow
    Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
    Order Deny,Allow
    Deny from All
</Directory>
Reply With Quote
  #15  
Old 23rd May 2013, 19:56
djbill djbill is offline
Junior Member
 
Join Date: Mar 2009
Posts: 12
Thanks: 11
Thanked 0 Times in 0 Posts
Default

Hi, I finally found the problem on /etc/apache2/mods-available/suphp.conf

This is my working suphp.conf:

Code:
<IfModule mod_suphp.c>
    #<FilesMatch "\.ph(p3?|tml)$">
    #    SetHandler application/x-httpd-suphp
    #</FilesMatch>
        AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
        suPHP_AddHandler application/x-httpd-suphp

    <Directory />
        suPHP_Engine on
    </Directory>

    # By default, disable suPHP for debian packaged web applications as files
    # are owned by root and cannot be executed by suPHP because of min_uid.
    <Directory /usr/share>
        suPHP_Engine off
    </Directory>

# # Use a specific php config file (a dir which contains a php.ini file)
#       suPHP_ConfigPath /etc/php5/cgi/suphp/
# # Tells mod_suphp NOT to handle requests with the type <mime-type>.
#       suPHP_RemoveHandler <mime-type>
</IfModule>
Reply With Quote
  #16  
Old 23rd May 2013, 20:27
DUCKFACE DUCKFACE is offline
Member
 
Join Date: Dec 2008
Location: Bulgaria
Posts: 92
Thanks: 2
Thanked 2 Times in 2 Posts
 
Default

its not working for me.
anyone can help ?

Last edited by DUCKFACE; 24th May 2013 at 10:43.
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
Local mail server - final touch Alexhor Installation/Configuration 4 12th April 2012 22:33
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 09:32
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 12:47
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59


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


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