ispCP - Board - Support
Cannot Add New Domain - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Cannot Add New Domain (/thread-2662.html)

Pages: 1 2


Cannot Add New Domain - wilxp - 03-08-2008 02:32 AM

The ispcp daemon works. Database for new domain created. Mail folder created. But apache master conf is not updated. And no domain folder in virtual folder.

/var/www/ispcp/engine/ispcp-rqst-mngr reports the following errors in the log files.

DEBUG: push_el() sub_name: dmn_add_named_cfg_data(), 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: get_tag(), msg: ERROR: '{DB_DIR}' eq '{DB_DIR}', missing '{DB_DIR}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DB_DIR}' eq '{DB_DIR}', missing '{DB_DIR}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DB_DIR}' eq '{DB_DIR}', missing '{DB_DIR}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '// dmn [test1.3sedan.com] cfg entry BEGIN.
' ne '// dmn [test1.3sedan.com] cfg entry END.
', '// dmn [test1.3sedan.com] cfg entry BEGIN.
' or '// dmn [test1.3sedan.com] cfg entry END.
' missing in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{TIMESTAMP}' eq '{TIMESTAMP}', missing '{TIMESTAMP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BASE_SERVER_IP}' eq '{BASE_SERVER_IP}', missing '{BASE_SERVER_IP}' in src !
'{SECONDARY_DNS_IP}' eq '{SECONDARY_DNS_IP}', missing '{SECONDARY_DNS_IP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{TIMESTAMP}' eq '{TIMESTAMP}', missing '{TIMESTAMP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BASE_SERVER_IP}' eq '{BASE_SERVER_IP}', missing '{BASE_SERVER_IP}' in src !
'{SECONDARY_DNS_IP}' eq '{SECONDARY_DNS_IP}', missing '{SECONDARY_DNS_IP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{TIMESTAMP}' eq '{TIMESTAMP}', missing '{TIMESTAMP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{BASE_SERVER_IP}' eq '{BASE_SERVER_IP}', missing '{BASE_SERVER_IP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{SECONDARY_DNS_IP}' eq '{SECONDARY_DNS_IP}', missing '{SECONDARY_DNS_IP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_IP}' eq '{DMN_IP}', missing '{DMN_IP}' in src !
DEBUG: push_el() sub_name: get_tag(), msg: ERROR: '{DMN_NAME}' eq '{DMN_NAME}', missing '{DMN_NAME}' in src !
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/usr/sbin/groupadd -g 2002 vu2002' returned '9' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/usr/sbin/groupadd -g 2002 vu2002' returned '9' status !

Any idea where is the src? And what is the remedy for this?

I am using RC3 on a Ubuntu machine.

Thank you!


RE: Cannot Add New Domain - joximu - 03-08-2008 02:48 AM

I don't know what's the reason for the first x lines - but the groupadd sais: group already exist - so, try to fix the gid of your groups - don't use anything >= 2000 for yourself.

/J


RE: Cannot Add New Domain - Zothos - 03-08-2008 03:39 AM

if you added a user and his uid is 2004 (your last domain has 2003) then add a entry to the database autonum is the table. just take a look at it and you know what to do.


RE: Cannot Add New Domain - wilxp - 03-08-2008 01:02 PM

Zothos Wrote:if you added a user and his uid is 2004 (your last domain has 2003) then add a entry to the database autonum is the table. just take a look at it and you know what to do.

I guess the last 2 error messages are intuitive enough. I am more concern with the errors before those. Any solutions?


RE: Cannot Add New Domain - joximu - 03-08-2008 06:50 PM

Well, are thos the only lines?
did you enable debugging (in ispcp.conf)
maybe check if the tpl files are ok (/etc/ispcp/apache/parts/*.tpl)
what's the status od the domain?

the engne cannot find the "placeholders" - now it's time to find the reason...
sometimes there are tpl files not with all placeholders but this seeems to much here...

/J


RE: Cannot Add New Domain - wilxp - 03-09-2008 12:44 AM

domain status read as "unknown error"

what are the tpl supposed to be in that /etc/ispcp/apache/parts folder?


RE: Cannot Add New Domain - joximu - 03-09-2008 05:20 AM

wilxp Wrote:domain status read as "unknown error"

what are the tpl supposed to be in that /etc/ispcp/apache/parts folder?

templates


RE: Cannot Add New Domain - wilxp - 03-10-2008 12:15 AM

i mean what are the actual filenames of the templates supposed to be there and used?


RE: Cannot Add New Domain - rbtux - 03-10-2008 01:22 AM

make a new installation in a virtual environmet and compare...


RE: Cannot Add New Domain - joximu - 03-10-2008 03:19 AM

http://www.isp-control.net/ispcp/browser/trunk/configs/apache/parts