Current time: 04-30-2024, 10:53 AM Hello There, Guest! (LoginRegister)


Post Reply 
ISPCP admin blank white page
Author Message
tomtom901 Offline
Junior Member
*

Posts: 20
Joined: Jul 2010
Reputation: 0
Post: #21
RE: ISPCP admin blank white page
Hi Joximu,

Thanks for your reply. I've located my 00_master.conf and this is what it says:
Code:
<VirtualHost my-ip:80>

    ServerAdmin     my-email
    DocumentRoot    /var/www/ispcp/gui

    ServerName      admin.mydomain.tld

    Alias /errors   /var/www/ispcp/gui/errordocs/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    Alias /pma      /var/www/ispcp/gui/tools/pma/
    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
       Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_php5.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter/rkhunter.log:/var/log/chkroot$
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>
[code]

This also checks some vhosts, and the path which is set here (/var/www/ispcp/gui) is working correctly. Files are owned by vu2000:apache.

I'm getting a bit desperate...
Small update:

When editing the index.php with an echo 'hello world'; it shows the hello world. When visiting PMA it shows the following error: This session cant be started without errors, please check the webserver error log.
(This post was last modified: 07-16-2010 07:02 PM by tomtom901.)
07-16-2010 06:41 PM
Find all posts by this user Quote this message in a reply
Freakez Offline
Junior Member
*

Posts: 21
Joined: Mar 2010
Reputation: 0
Post: #22
RE: ISPCP admin blank white page
Can you give us the /var/log/apache2/users/errors-error.log and /var/log/apache2/users/admin.domain.tld-error.log?
07-16-2010 07:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tomtom901 Offline
Junior Member
*

Posts: 20
Joined: Jul 2010
Reputation: 0
Post: #23
RE: ISPCP admin blank white page
(07-16-2010 07:30 PM)Freakez Wrote:  Can you give us the /var/log/apache2/users/errors-error.log and /var/log/apache2/users/admin.domain.tld-error.log?

Both files do not exist. I've got Phpmyadmin working however, there was a problem with the rights on /var/www/ispcp/phptmp. So I chmodded 777 (i know, dangerous. Will try with 757). and it worked.

The admin.mydomain.tld still shows a blank page. Guess there need to be some chmodding there too?
Code:
[root@nl01 gui]#ls -all
total 80
dr-xr-x--- 13 vu2000 apache 4096 Jul 16 09:22 .
drwxrwxr-x  7 root   root   4096 Apr 20 13:15 ..
dr-xr-x---  2 vu2000 apache 4096 Apr 20 13:13 admin
dr-xr-x---  2 vu2000 apache 4096 Apr 20 13:13 client
dr-xr-x---  3 vu2000 apache 4096 Apr 20 13:13 domain_default_page
dr-xr-x---  3 vu2000 apache 4096 Apr 20 13:13 domain_disable_page
dr-xr-x---  3 vu2000 apache 4096 Apr 20 13:13 errordocs
-r--r-----  1 vu2000 apache 2462 Apr 20 13:13 favicon.ico
-r--r-----  1 vu2000 apache 1228 Apr 20 13:13 imagecode.php
dr-xr-x---  7 vu2000 apache 4096 Apr 20 13:13 include
-r--r-----  1 vu2000 apache 3852 Jul 16 08:56 index.php
-r--r-----  1 vu2000 apache 4998 Apr 20 13:13 lostpassword.php
dr-xr-x---  2 vu2000 apache 4096 Apr 20 13:13 orderpanel
drwxrwxrwx  2 vu2000 apache 4096 Jul 16 09:27 phptmp
dr-xr-x---  2 vu2000 apache 4096 Apr 20 13:13 reseller
-r--r-----  1 vu2000 apache   26 Apr 20 13:13 robots.txt
-rw-rw-r--  1 root   root    884 Jul 16 09:24 sessiontest.php
dr-xr-x---  4 vu2000 apache 4096 Apr 20 13:13 themes
dr-xr-x---  5 vu2000 apache 4096 Apr 20 13:13 tools

Edit: My guess is that there's something wrong with my permissions...
(This post was last modified: 07-16-2010 07:52 PM by tomtom901.)
07-16-2010 07:37 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #24
RE: ISPCP admin blank white page
can you tell us, how do you run php?
fastcgi, fcgid or mod-php?
(see /etc/ispcp/ispcp.conf)

the phptmp must be writeable for vu2000 [if using f(ast)cgi(d)] or apache/http [if using mod-php] - maybe check the owner of the session files in the phptmp - this will give us a hint...

with fastcgi (or fcgid) theese settings are ok:
Code:
# ls -la /var/www/ispcp/gui/
dr-xr-x--- 12 vu2000 www-data 4096 2010-01-13 15:16 .
drwxr-xr-x  7 root   root     4096 2009-12-30 19:46 ..
dr-xr-x---  2 vu2000 www-data 4096 2009-12-30 21:53 admin
dr-xr-x---  2 vu2000 www-data 4096 2009-12-30 17:26 client
dr-xr-x---  3 vu2000 www-data 4096 2009-12-30 17:26 domain_default_page
dr-xr-x---  3 vu2000 www-data 4096 2009-12-30 17:26 errordocs
-r--r-----  1 vu2000 www-data 2462 2009-12-30 17:26 favicon.ico
-r--r-----  1 vu2000 www-data 1177 2009-12-30 17:26 imagecode.php
dr-xr-x---  7 vu2000 www-data 4096 2010-06-25 08:44 include
-r--r-----  1 vu2000 www-data 4144 2009-12-30 17:26 index.php
-r--r-----  1 vu2000 www-data 4944 2009-12-30 17:26 lostpassword.php
dr-xr-x---  2 vu2000 www-data 4096 2009-12-30 17:27 orderpanel
drwxr-x---  2 vu2000 www-data 4096 2010-07-11 16:30 phptmp
dr-xr-x---  2 vu2000 www-data 4096 2009-12-30 17:26 reseller
-r--r-----  1 vu2000 www-data   25 2009-12-30 17:26 robots.txt
dr-xr-x---  5 vu2000 www-data 4096 2009-12-30 17:26 themes
dr-xr-x---  5 vu2000 www-data 4096 2009-12-30 17:26 tools

of course www-data is group apache in your system...

/J
07-16-2010 08:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tomtom901 Offline
Junior Member
*

Posts: 20
Joined: Jul 2010
Reputation: 0
Post: #25
RE: ISPCP admin blank white page
I'm running fcgid. Files in phptmp are owned by apache:apache.
Code:
[root@nl01 gui]#cd phptmp
[root@nl01 phptmp]#ls -all
total 12
drwxrwxrwx  2 vu2000 apache 4096 Jul 16 10:00 .
dr-xr-x--- 13 vu2000 apache 4096 Jul 16 09:22 ..
-rw-------  1 apache apache   30 Jul 16 09:49 sess_085flu5d23oqvticq79ug80f21
-rw-------  1 apache apache    0 Jul 16 09:58 sess_ol4u8rf8bvdcrbdv2un7vnb992
-rw-------  1 apache apache    0 Jul 16 09:49 sess_rn9f9t3tu3e9gvb1dsb53kh1c1
07-16-2010 08:12 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #26
RE: ISPCP admin blank white page
so - either you did not load suexec

Quote: <IfModule suexec_module>
SuexecUserGroup vu2000 vu2000
</IfModule>

or your fcgid is broken...

the files should have vu2000:vu2000!

/J
07-16-2010 08:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tomtom901 Offline
Junior Member
*

Posts: 20
Joined: Jul 2010
Reputation: 0
Post: #27
RE: ISPCP admin blank white page
Guess fcgid is broken, when i chown -R vu2000:vu2000 gui it shows the default Apache page.
07-16-2010 08:15 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #28
RE: ISPCP admin blank white page
try "apache2ctl -M" (or the CentOS variant) to see which modules are loaded...

/J
07-16-2010 08:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tomtom901 Offline
Junior Member
*

Posts: 20
Joined: Jul 2010
Reputation: 0
Post: #29
RE: ISPCP admin blank white page
Code:
[root@nl01 ispcp]#/usr/sbin/httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

Loaded in httpd.conf
Code:
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so

LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule version_module modules/mod_version.so
07-16-2010 08:24 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #30
RE: ISPCP admin blank white page
"http -M" (the -l only shows the compiled in modules, not the loaded).

But it seems that the fcgid_ispcp is not loaded...

you should be able to compare with the other running servers...

/J
07-16-2010 08:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: