Current time: 04-19-2024, 03:04 PM Hello There, Guest! (LoginRegister)


Post Reply 
ispCP don't "work"
Author Message
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #1
ispCP don't "work"
Hello, I setup ispCP 1.0 and now it don't work... All the request that he has to do he do not do it.

If i had a subdomain, the panel do not creat it and in ispcp debugger we see all the request that the panel have to do.

I have to execute the request engine... Sad
And when the panel has to many request it makes error 500.
(This post was last modified: 03-21-2009 10:26 PM by santerref.)
03-21-2009 10:24 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: ispCP don't "work"
Please give us some more Informations about your used Distro, etc and don't forget to post your logs. !!!
03-22-2009 06:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ceco91 Offline
Moderator
*****
Moderators

Posts: 95
Joined: Jan 2009
Reputation: 0
Post: #3
RE: ispCP don't "work"
Is ispCP daemon working ? Have you started ? Try to connect using telnet to 127.0.0.1:9876
03-23-2009 04:54 AM
Find all posts by this user Quote this message in a reply
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #4
RE: ispCP don't "work"
First, is it possible to know where are the logs... I found /var/log/ispcp but there is like 1000 files with many numbers and 2 or 3 ispcp-xxx-xxx (engine program).

My ispcp_deamon work :

Code:
h3berg:~# telnet 127.0.0.1 9876
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
250 OK ispCP Daemon v1.1 Welcomes You!

And i have an other problem... Why when ispCP have to many request to do he makes an error 500 and why when i lunch ispcp-rqst-mngr my apache cut/stop 1 minutes and after he becomes up again?

I have 340 clients.
(This post was last modified: 03-23-2009 06:14 AM by santerref.)
03-23-2009 05:34 AM
Find all posts by this user Quote this message in a reply
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #5
RE: ispCP don't "work"
Nobody can help me? I think that this is a big problem because the task don't work ! Everything are : Please wait ... I have to start on my server the ispcp-rqst-mngr ... I hate to do this everytime !
03-24-2009 11:53 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: ispCP don't "work"
Please enable the Debug
--> http://www.isp-control.net/ispcp/wiki/howto_debug

Greez BeNe
03-25-2009 12:06 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: #7
RE: ispCP don't "work"
the interesting log files are:
/var/log/ispcp/*err* (the ones with size > 0)

/J
03-25-2009 12:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #8
RE: ispCP don't "work"
Ok i will look at the log and for the debug mod there is nothing.... And if I activate de debug mode... Witch script do you want that i start ( ispcp-rqst... ) ?

The last log that I have its :

drwxr-xr-x 2 vmail mail 4096 2009-03-24 09:29 ispcp-arpl-msgr

And in this folder I look at this file : ispcp-arpl-msgr.stderr and I see this :

Quote:Can't call method "address" on an undefined value at /var/www/ispcp/engine/messager/ispcp-arpl-msgr line 700.

If i activate the DEBUG in the ispcp.conf file and i start rqst-mngr :

Quote:DEBUG: push_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('`which touch` /var/run/ispcp.lock'), msg: Ending...
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: 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: processing 54, actualitesncis, change.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-sub-mngr 54 1>/var/log/ispcp/ispcp-sub-mngr.stdout 2>/var/log/ispcp/ispcp-sub-mngr.stderr'), msg: Ending...
DEBUG: push_el() sub_name: mngr_engine(), msg: processing 61, site, change.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-sub-mngr 61 1>/var/log/ispcp/ispcp-sub-mngr.stdout 2>/var/log/ispcp/ispcp-sub-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: mngr_engine(), msg: processing 49, actualitesncis.forum-actif.net, change.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-als-mngr 49 1>/var/log/ispcp/ispcp-als-mngr.stdout 2>/var/log/ispcp/ispcp-als-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: mngr_engine(), msg: processing 1, dev, change.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-alssub-mngr 1 1>/var/log/ispcp/ispcp-alssub-mngr.stdout 2>/var/log/ispcp/ispcp-alssub-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: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('/var/www/ispcp/engine/ispcp-serv-mngr 0 2 0 0 3 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: mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: unlock_system(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('`which rm` -rf /var/run/ispcp.lock'), msg: Ending...
DEBUG: push_el() sub_name: unlock_system(), msg: Ending...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Ending...

And after in /var/log/ispcp/ispcp-als-mngr.stderr

Quote:Use of uninitialized value in string eq at /var/www/ispcp/engine/ispcp-als-mngr line 2968.
Use of uninitialized value in string eq at /var/www/ispcp/engine/ispcp-als-mngr line 2968.
Use of uninitialized value in string eq at /var/www/ispcp/engine/ispcp-als-mngr line 2968.

And in the manager there is always 4 "bug" and ispcp never make them ... I click and the link it's says : the .... return 250 and nothing happen...
(This post was last modified: 03-25-2009 02:39 AM by santerref.)
03-25-2009 02:26 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: #9
RE: ispCP don't "work"
arpl is the automated mail responder - this is not the right engine script...

there are other engine scripts which are invoced by the daemon:
/var/www/ispcp/engine/*-mngr
dmn = domain, msg = mail etc. depending on what has to be done the corresponding engine script should be run by the top mngr: ispcp-rqst-mngr

e.g.
daemon -> ispcp-rqst-mngr -> the right "*-mngr" script

Hope this helps finding the point...

You also can check if the connection daemon -> request manager is ok?:

telnet localhost 9876
helo 1234
execute query
bye

this should start the request manager...

/J
03-25-2009 02:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
santerref Offline
Junior Member
*

Posts: 62
Joined: Apr 2008
Reputation: 0
Post: #10
RE: ispCP don't "work"
The problem is : the panel do not execute the engine when a user try to make something ...
Quote:Trying 127.0.0.1...
Connected to ks365184.kimsufi.com.local.
Escape character is '^]'.
250 OK ispCP Daemon v1.1 Welcomes You!
helo 1234
250 OK 127.0.0.1/1234
execute query
250 OK request is being processed.
bye
250 OK Good Bye!
Connection closed by foreign host.
03-25-2009 03:07 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)