isp config 3.03, quotas, pannel freeze

Discussion in 'General' started by spazio, Feb 11, 2011.

  1. spazio

    spazio Member

    I have a weird problem with ispconfig
    Here is the details:

    Ubuntu
    Ispconfig 3.03

    On a reseller account, as soon as I change the web site quota and overbook the overall account. Every web site stop working and I don't have access to ispconfig. Apache is going down. I need to restart apache!

    Anybody have an idea!
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in Apache's error log?
     
  3. spazio

    spazio Member

    Actually a lot, here are a couple of lines:

    [Thu Feb 10 14:15:24 2011] [error] [client 192.168.0.100] PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:15:38 2011] [error] [client 192.168.0.100] PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:15:44 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: client_group_id in /usr/local/ispconfig/interface/web/dns/dns_soa_edit.php on line 221, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:15:44 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_userid in /usr/local/ispconfig/interface/web/dns/dns_soa_edit.php on line 221, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:15:44 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:15:44 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: dns:eek:n_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:15:44 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: dns:dns_soa:eek:n_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:15:44 2011] [error] [client 192.168.0.100] PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 187, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: id in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 227, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: id in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 230, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_userid in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 227, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_userid in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 230, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_groupid in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 227, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_groupid in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 230, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_perm_user in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 227, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_perm_user in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 230, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_perm_group in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 227, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_perm_group in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 230, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: sys_perm_other in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 227, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: server_id in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 227, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: server_id in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 230, referer: http://domain.com:8080/index.php
    [Thu Feb 10 14:16:00 2011] [error] [client 192.168.0.100] PHP Notice: Undefined index: zone in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 227, referer: http://domain.com:8080/index.php

    And it goes for 2 more pages...

    I also check in the dmesg log and here is what I found:

    [ 9.109913] lp: driver loaded but no devices found
    [ 9.249687] eth0: link up, 100Mbps, full-duplex
    [ 9.258634] eth1: link up, 100Mbps, full-duplex
    [ 9.881085] VFS (dm-0): Writes happened before quota was turned on thus quota information is probably inconsistent. Please run quotacheck(8).
    [ 9.896844] VFS (dm-0): Writes happened before quota was turned on
    thus quota information is probably inconsistent. Please run quotacheck(8).

    The server is a guest in a virtual box host.

    Thanks
     
  4. falko

    falko Super Moderator ISPConfig Developer

    These are just notices, not warnings or errors. This hsould cause no problem.

    Please try
    Code:
    quotacheck -avugm
    quotaon -avug
     
  5. spazio

    spazio Member

    Here is what return on those 2 commands

    root@domain:/home# quotacheck -avugm
    quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
    Please turn quotas off or use -f to force checking.

    So I force it with

    root@domain:/home# quotacheck -avugmf
    quotacheck: Scanning /dev/mapper/domain.server.com-root [/] done
    quotacheck: Checked 26895 directories and 227870 files
    root@domain:/home#

    After i ran

    root@domain:/home# quotaon -avug
    quotaon: using //aquota.group on /dev/mapper/domain.server.com-root [/]: Device or resource busy
    quotaon: using //aquota.user on /dev/mapper/domain.server.coma-root [/]: Device or resource busy
     
    Last edited: Feb 15, 2011
  6. falko

    falko Super Moderator ISPConfig Developer

    Please reboot the machine.
     
  7. spazio

    spazio Member

    Machine rebooted

    I just rebooted the guest machine this weekend, it was impossible before and it did not fix the problem.
    Every time one of the reseller change website or other quota apache doesn't work anymore.

    Can this be caused by the 3.03 version? Is an update can fix this?

    Any other idea!

    thanks
    Spazio
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    About which quota do you talk here, traffic quota or harddisk quota?

    The ispconfig version that you use is old, you should update to the latest release (3.0.3.2)
     

Share This Page