Current time: 04-19-2024, 11:48 AM Hello There, Guest! (LoginRegister)


Post Reply 
cant add domains
Author Message
tytanick Offline
Junior Member
*

Posts: 34
Joined: Sep 2009
Reputation: 0
Post: #11
RE: cant add domains
sry, i am answering too fast and making many edits in posts Tongue
and i didnt saw this log on first look Smile sry
Code:
#ispcp-serv-mngr.stdout
DEBUG: push_el() sub_name: serv_mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: check_master(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('export COLUMNS=120;/bin/ps auxww | awk '$0 ~ /ispcp-rqst-mngr/ && $0 !~ /awk/ { print $2 ;}' 1>/tmp/ispcp-cc.stdout 2>/tmp/ispcp-cc.stderr'), msg: Ending...
DEBUG: push_el() sub_name: del_file(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), msg: Ending...
DEBUG: push_el() sub_name: del_file(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), msg: Ending...
DEBUG: push_el() sub_name: check_master(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: push_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: serv_mngr_start_up(), msg: Ending...
DEBUG: push_el() sub_name: serv_mngr_engine(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Stopping postfix (/etc/postfix)... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Stopping courier-pop3d... [ ok ]
* Stopping courier-imapd... [ ok ]
* Stopping courier-authlib: authdaemond... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Stopping named... [ ok ]
* Starting named... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Starting postfix (/etc/postfix)... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Starting courier-authlib: authdaemond... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Starting courier-imapd... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Starting courier-pop3d... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: restart_httpd(), msg: Starting...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Checking apache2 configuration... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
* Gracefully restarting apache2... [ ok ]
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
DEBUG: push_el() sub_name: restart_httpd(), msg: Ending...
DEBUG: push_el() sub_name: serv_mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: serv_mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: serv_mngr_shut_down(), msg: Ending...

Code:
# /var/log/ispcp/ispcp-dmn-mngr.stderr
Use of uninitialized value in string eq at /var/www/ispcp/engine/ispcp-dmn-mngr line 3769.
FEW TIMES THE SAME MESSAGE ERROR
(This post was last modified: 09-14-2009 03:34 AM by tytanick.)
09-14-2009 03:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #12
RE: cant add domains
It looks like in table domain fields domain_ip_id does not match fields ip_id from table server_ips.
Can you put output from
Code:
SELECT `domain_ip_id` FROM `domain`;
and
Code:
SELECT `ip_id` FROM `server_ips`;
?
09-14-2009 03:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tytanick Offline
Junior Member
*

Posts: 34
Joined: Sep 2009
Reputation: 0
Post: #13
RE: cant add domains
they dont match, i know that - this is because in adding process i dont have any valid ip (look first post Tongue)

# SELECT `domain_ip_id` FROM `domain`;
domain_ip_id
1
0
0
0

# SELECT `ip_id` FROM `server_ips`;
ip_id
1

this is because of that ! :
[Image: 143grgj.jpg]
bud i dont know why i dont have any hosts there now - i had yesterday and today i dont Big Grin
(This post was last modified: 09-14-2009 03:46 AM by tytanick.)
09-14-2009 03:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #14
RE: cant add domains
How to repair your corrupted data:
Code:
UPDATE `domain` SET `domain_ip_id`=1;
then run ispcp-rqst-mngr.
Tell my if after you have same error with selecting ip
09-14-2009 03:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tytanick Offline
Junior Member
*

Posts: 34
Joined: Sep 2009
Reputation: 0
Post: #15
RE: cant add domains
yes, domains were added succesfully (after relaunching ispcp-rqst-mngr ofcourse), but this problem will be always until in ADDING USER SECTION i will have correct "Domain IP" to select.
Now i still have only "{IP_NUM} ){IP_NAME})" to select - but why i dont have "192.168.0.2 (pingwinek)" ? why this correct "DOMAIN IP" name disappeared?
(This post was last modified: 09-14-2009 04:02 AM by tytanick.)
09-14-2009 04:00 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #16
RE: cant add domains
We will see.
Now further:
Code:
SELECT `reseller_ips`, `reseller_id` FROM `reseller_props`
Code:
SELECT `admin_id` FROM `admin` WHERE `admin_type` = 'reseller'
09-14-2009 04:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tytanick Offline
Junior Member
*

Posts: 34
Joined: Sep 2009
Reputation: 0
Post: #17
RE: cant add domains
SELECT `reseller_ips`, `reseller_id` FROM `reseller_props`
[Image: 2s1vfwm.jpg]

SELECT `admin_id` FROM `admin` WHERE `admin_type` = 'reseller'
[Image: 9r2f4i.jpg]
(This post was last modified: 09-14-2009 04:07 AM by tytanick.)
09-14-2009 04:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #18
RE: cant add domains
Got the problem. You miss a reseller property in table.
Is reseller with admin_id 2 added using ispcp? Try remove and recreate it.
(This post was last modified: 09-14-2009 04:10 AM by sci2tech.)
09-14-2009 04:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
tytanick Offline
Junior Member
*

Posts: 34
Joined: Sep 2009
Reputation: 0
Post: #19
RE: cant add domains
hmmmm this is interesting.
Ofcourse this reseller was created with ispcp.
I created him right after installation, i added few domains (for example tytanick.net which is working) and for next day i had this problem.
So i suppose that we wont find out how this did happen Smile
Anyway Thx for your help, now everything should be fine.
09-14-2009 04:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #20
RE: cant add domains
(09-14-2009 04:16 AM)tytanick Wrote:  So i suppose that we wont find out how this did happen Smile
Can`t tel you what was wrong. I`ll try to reproduce.
09-14-2009 04: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)