#1  
Old 7th May 2013, 12:36
jacopo.cappelli jacopo.cappelli is offline
Junior Member
 
Join Date: May 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 3.0.5.2 Web Problem

Hi,
i've upgrade to ISPConfig 3.0.5.2 but now the admin web panel not work correctly.
If i try to do some operation as add Website, add ftp user, add mysql database not load the page.
Other feature works, for example add mail aliases or mail domain.

After the upgrade i see that the permission of the admin web site is not correct (infact i see the website without css)
I fix it and assign recursive 755 and www-data:www-data as user.

I see the correct layout but some features not work.

Someone can help me?


Thanks very much,
Jacopo Cappelli
Reply With Quote
Sponsored Links
  #2  
Old 7th May 2013, 12:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Quote:
After the upgrade i see that the permission of the admin web site is not correct (infact i see the website without css)
I fix it and assign recursive 755 and www-data:www-data as user.
Did you made a backup before, as a recursive chown to this user and group destroys the ispconfig setup. ispconfig sites are never owned by this user or group, in no ispconfig version. Also the folders dont have 755 permissions. With thes echanges you opened up your server for hackers, so I highly recommedn to restore the original permissions.

Regarding your original issue, check the apache error.log
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th May 2013, 15:07
jacopo.cappelli jacopo.cappelli is offline
Junior Member
 
Join Date: May 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HTML Code:
[Tue May 07 15:02:12 2013] [warn] [client 31.197.160.137] mod_fcgid: stderr: PHP Warning:  include_once(/mnt/ispconfig/interface/lib/classes/tools_sites.inc.php): failed to open stream: Permission denied in /mnt/ispconfig/interface/lib/app.inc.php on line 99, referer: https://adminsite:8080/index.php
[Tue May 07 15:02:12 2013] [warn] [client 31.197.160.137] mod_fcgid: stderr: PHP Warning:  include_once(): Failed opening '/mnt/ispconfig/interface/lib/classes/tools_sites.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /mnt/ispconfig/interface/lib/app.inc.php on line 99, referer: https://adminsite:8080/index.php
[Tue May 07 15:02:12 2013] [warn] [client 31.197.160.137] mod_fcgid: stderr: PHP Fatal error:  Class 'tools_sites' not found in /mnt/ispconfig/interface/lib/app.inc.php on line 100, referer: https://adminsite:8080/index.php
[Tue May 07 15:02:16 2013] [warn] [client 31.197.160.137] mod_fcgid: stderr: PHP Warning:  include_once(/mnt/ispconfig/interface/lib/classes/tools_sites.inc.php): failed to open stream: Permission denied in /mnt/ispconfig/interface/lib/app.inc.php on line 99, referer: https://adminsite:8080/index.php
[Tue May 07 15:02:16 2013] [warn] [client 31.197.160.137] mod_fcgid: stderr: PHP Warning:  include_once(): Failed opening '/mnt/ispconfig/interface/lib/classes/tools_sites.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /mnt/ispconfig/interface/lib/app.inc.php on line 99, referer: https://adminsite:8080/index.php
[Tue May 07 15:02:16 2013] [warn] [client 31.197.160.137] mod_fcgid: stderr: PHP Fatal error:  Class 'tools_sites' not found in /mnt/ispconfig/interface/lib/app.inc.php on line 100, referer: https://adminsite:8080/index.php
Thanks very much,
Jacopo
Reply With Quote
  #4  
Old 7th May 2013, 15:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Please post the output of:

ls -la /mnt/ispconfig/interface/lib/app.inc.php

A problem might be that you dont run ispconfig in its usual location. ISPConfig should be installed in /usr/local/ispconfig/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 7th May 2013, 15:23
jacopo.cappelli jacopo.cappelli is offline
Junior Member
 
Join Date: May 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know it but on this virtual server i must do this for have more disk space.
HTML Code:
# ls -la /mnt/ispconfig/interface/lib/app.inc.php
-rwxr-x--- 1 ispconfig ispconfig 10222 May  7 14:51 /mnt/ispconfig/interface/lib/app.inc.php
It's a link
HTML Code:
# ls -alh /usr/local/
total 40K
drwxr-xr-x 10 root      root      4.0K Dec 17 12:20 .
drwxr-xr-x 10 root      root      4.0K Dec 17 12:15 ..
drwxr-xr-x  2 root      root      4.0K May  7 14:51 bin
drwxr-xr-x  2 root      root      4.0K Oct  1  2012 etc
drwxr-xr-x  2 root      root      4.0K Oct  1  2012 games
drwxr-xr-x  2 root      root      4.0K Oct  1  2012 include
lrwxrwxrwx  1 ispconfig ispconfig   15 Dec 17 12:20 ispconfig -> /mnt/ispconfig/
drwxr-xr-x  4 root      root      4.0K Apr 22 09:55 lib
lrwxrwxrwx  1 root      root         9 Oct  1  2012 man -> share/man
drwxr-xr-x  2 root      root      4.0K Oct  1  2012 sbin
drwxr-xr-x  7 root      root      4.0K Dec 17 12:06 share
drwxr-xr-x  2 root      root      4.0K Oct  1  2012 src
Reply With Quote
  #6  
Old 7th May 2013, 15:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

The permissions and ownership of the file is fine. If php / apache cant read it then php is not running with suexec as user and group ispconfig. Did you choose tor econfigure sevices during update?

A link miht cause problems with suexec. Better use a bind mount in /etc/fstab to mount /mnt/ispconfig as /usr/local/ispconfig
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 7th May 2013, 16:07
jacopo.cappelli jacopo.cappelli is offline
Junior Member
 
Join Date: May 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Resolved!

I see that the permission problem is on other file: /mnt/ispconfig/interface/lib/classes/tools_sites.inc.php

Now work correctly.


Thanks very much,
Jacopo

PS for someone that have the same error control that ALL file have as ispconfig:ispconfig user and group
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
I'm attack brute force qb7 General 6 21st July 2012 21:34
ISPConfig reports SMTP-server down, with Roundcube installed toffie Installation/Configuration 2 1st December 2011 10:55
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
ISPConfig 3 - Problem: Clients creating new DNS zones bergur01 General 1 27th January 2009 10:45


All times are GMT +2. The time now is 12:30.


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