Current time: 11-22-2024, 09:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
Cannot Add New Domain
Author Message
wilxp Offline
Junior Member
*

Posts: 20
Joined: Mar 2008
Reputation: 0
Post: #1
Cannot Add New Domain
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!
03-08-2008 02:32 AM
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: #2
RE: Cannot Add New Domain
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
03-08-2008 02:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #3
RE: Cannot Add New Domain
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.
03-08-2008 03:39 AM
Find all posts by this user Quote this message in a reply
wilxp Offline
Junior Member
*

Posts: 20
Joined: Mar 2008
Reputation: 0
Post: #4
RE: Cannot Add New Domain
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?
03-08-2008 01:02 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: #5
RE: Cannot Add New Domain
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
(This post was last modified: 03-08-2008 06:51 PM by joximu.)
03-08-2008 06:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
wilxp Offline
Junior Member
*

Posts: 20
Joined: Mar 2008
Reputation: 0
Post: #6
RE: Cannot Add New Domain
domain status read as "unknown error"

what are the tpl supposed to be in that /etc/ispcp/apache/parts folder?
03-09-2008 12:44 AM
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: #7
RE: Cannot Add New Domain
wilxp Wrote:domain status read as "unknown error"

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

templates
03-09-2008 05:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
wilxp Offline
Junior Member
*

Posts: 20
Joined: Mar 2008
Reputation: 0
Post: #8
RE: Cannot Add New Domain
i mean what are the actual filenames of the templates supposed to be there and used?
03-10-2008 12:15 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #9
RE: Cannot Add New Domain
make a new installation in a virtual environmet and compare...
03-10-2008 01:22 AM
Visit this user's website 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: #10
RE: Cannot Add New Domain
http://www.isp-control.net/ispcp/browser...ache/parts
03-10-2008 03:19 AM
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: 1 Guest(s)