ispCP - Board - Support - VHCS fork

Full Version: ispcp-sub-mgr
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
when I add subdomain subject eats memory over 3.2GB and server going no response
in /etc/ispcp/ispcp.conf I change DEBUG = 1
but when I run ispcp-rqst-mgr from console I don't see error messages
but server going down

ispcp-sub-mgr eats all available memory
some logs -

Code:
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SUB_NAME}' eq '{SUB_NAME}', missing '{SUB_NAME}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !

I review templates but they looks good Sad
what about /etc/ispcp/apache2/working/ispcp.conf ?
ls -la /etc/ispcp/apache2/working/ispcp.conf
ls: /etc/ispcp/apache2/working/ispcp.conf: No such file or directory
please also think a little bit - the folder name is apache, not apache2 but you also could have noticed this. We try to help but you have to think yourself.
ln -s apache apache2
ispcp-rqst-mngr
Code:
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Ending...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SUB_NAME}' eq '{SUB_NAME}', missing '{SUB_NAME}' in src !
DEBUG: push_el() sub_name: repl_var(), msg: Ending...
DEBUG: push_el() sub_name: repl_var(), msg: Starting...
DEBUG: push_el() sub_name: repl_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: Starting...
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
not a symlik.

Have a look in ls -la /etc/ispcp/apache/working/ispcp.conf
-rw-r--r-- 1 root root 777646 2008-04-25 04:04 ispcp.conf
nice...

the inside is more interesting.

the file has a structure.

before each domain, there is space for the subdomains and you have theese two lines there, such as:

Code:
# httpd [domain.tld] dmn group entry BEGIN.

<IfModule mod_cband.c>
    <CBandUser domain.tld>
        # CBandUserLimit 0Mi
        # CBandUserScoreboard /var/www/scoreboards/domain.tld
        # CBandUserPeriod 4W
        # CBandUserPeriodSlice 1W
        # CBandUserExceededURL http://admin.server.dom.tld/errors/bw_exceeded.html
    </CBandUser>
</IfModule>


# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.

# httpd [domain.tld] dmn entry BEGIN.
<VirtualHost 123.45.67.89:80>
I have this lines before all domains
how I can check config for consistency?
way to change domain status not true, server in production
Pages: 1 2
Reference URL's