ispCP - Board - Support
cant add domains - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: cant add domains (/thread-7857.html)

Pages: 1 2 3


cant add domains - tytanick - 09-14-2009 01:53 AM

hi, i dont know why but suddenly i cant add new domains in my ispcp.
Just look at this picture ...
[Image: 2yn1fgk.jpg]
What logs should i post here ?
Look at properties of this domain: (look at IP ???)
[Image: wthfn8.jpg]
[Image: 5xqs1i.jpg]

Everything started when i tryied to add domain:
[Image: 143grgj.jpg]

Yesterday i had in IP adress always: pingwinek.lan or 192.168.0.2 (my local hostname or ip - dont renember)


RE: cant add domains - sci2tech - 09-14-2009 02:02 AM

Kill and restart ispcp_daemon (with kill -s SIGKILL), not with killall.
Test if table server_ips is crashed. Your Ip is still in that table?


RE: cant add domains - tytanick - 09-14-2009 03:02 AM

i killed, restarted and still the are not "OK"
i also checked all tables and they are all OK
in this server_ips there is my ip
[Image: 2djrude.jpg]
(this server is my desktop - so i am adding those domains on the server)
meaby something is wrong with /etc/hosts hmm

Code:
#/etc/hosts
127.0.0.1<----->localhost
192.168.0.2<--->localhost pingwinek.lan>admin.pingwinek.lan koza.net<-->tytanick.net www.tytanick.net koza.pingwinek.lan
::ffff:192.168.0.2<---->pingwinek.lan<->pingwine
::1<--->ip6-localhost ip6-loopback
fe00::0>ip6-localnet
ff00::0>ip6-mcastprefix
ff02::1>ip6-allnodes
ff02::2>ip6-allrouters
ff02::3>ip6-allhosts



RE: cant add domains - sci2tech - 09-14-2009 03:05 AM

Just killing and restarting daemon does not start processing request. you need to manually run /var/www/ispcp/engine/ispcp-rqst-mng or perform one action that need to be proccesed by engine (add/delete email/subdomain/htuser etc). host file is used just on install not after.


RE: cant add domains - tytanick - 09-14-2009 03:18 AM

still nothing i executed this file before .... , and still when i am trying to add new user i have "Domain IP: {IP_NUM} (IP_NAME)" - and since that appeared i have this problem...
MY DOMAIN TABLE
[Image: mv3dzq.jpg]
so any other suggestions ?


RE: cant add domains - sci2tech - 09-14-2009 03:20 AM

Did you manually run /var/www/ispcp/engine/ispcp-rqst-mngr? What is status in table for those domains? Also enable debug and check log files


RE: cant add domains - tytanick - 09-14-2009 03:23 AM

yes i ran it manually.
here you have this status:
[Image: zl9oap.jpg]

and hmmm how i can enable this debug mode and where ?


RE: cant add domains - sci2tech - 09-14-2009 03:24 AM

/etc/init.d/ispcp/ispcp.conf -> DEBUG = 1. Looks like engine can`t start


RE: cant add domains - tytanick - 09-14-2009 03:29 AM

Here: but i dont see anything special Big Grin
Code:
pingwinek engine # ./ispcp-rqst-mngr
DEBUG: push_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), 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: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_start_up(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 3, beka.pingwinek.lan, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-dmn-mngr 3 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 4, ania.pingwinek.lan, change.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-dmn-mngr 4 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 5, asdf.pl, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-dmn-mngr 5 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-serv-mngr 3 0 0 0 0 1>/var/log/ispcp/ispcp-serv-mngr.stdout 2>/var/log/ispcp/ispcp-serv-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Ending...

OH I SEE:
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



RE: cant add domains - sci2tech - 09-14-2009 03:32 AM

And output from /var/log/ispcp/ispcp-dmn-mngr.stderr and /var/log/ispcp/ispcp-dmn-mngr.stdout please. As the matter of fact this is the only interesting thing.