ispCP - Board - Support
Addition in progress - 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: Addition in progress (/thread-1659.html)

Pages: 1 2


Addition in progress - chris41g - 10-30-2007 03:11 PM

im having a problem adding domains, they get stuck in Addition in progress, it sends the email and everything fine.

i saw another post regarding that and put it in debug mode:

Code:
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: del_file(), msg: Starting...
DEBUG: push_el() sub_name: del_file(), 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 1, ellistowing.com, toadd.
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-dmn-mngr 1 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr' returned '255' status !
DEBUG: pop_el() sub_name: sys_command(), msg: ERROR: External command '/var/www/ispcp/engine/ispcp-dmn-mngr 1 1>/var/log/ispcp/ispcp-dmn-mngr.stdout 2>/var/log/ispcp/ispcp-dmn-mngr.stderr' returned '255' status !
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: processing 1, ellistowing.com, toadd.
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_engine(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_start_up(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Ending...
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Starting...
DEBUG: pop_el() sub_name: del_file(), msg: Ending...
DEBUG: pop_el() sub_name: del_file(), msg: Starting...
DEBUG: pop_el() sub_name: lock_system(), msg: Ending...
DEBUG: pop_el() sub_name: sys_command('`which touch` /var/run/ispcp.lock'), msg: Ending...
DEBUG: pop_el() sub_name: sys_command(), msg: Starting...
DEBUG: pop_el() sub_name: lock_system(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Ending...
DEBUG: pop_el() sub_name: decrypt_db_password(), msg: Starting...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Starting...
DEBUG: pop_el() Empty 'EL' Stack !
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...

the errors i get are a bit different than in the last post.

when i run cat /var/log/ispcp/ispcp-dmn-mngr.stderr i get this:
Code:
"my" variable $err_cfg_dir masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 2050.
Scalar found where operator expected at /var/www/ispcp/engine/ispcp-dmn-mngr line 4154, near "$working_cfg $working_file"
        (Missing operator before $working_file?)
"my" variable $sub_name masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4621.
"my" variable $msg masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4621.
"my" variable $sub_name masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4653.
"my" variable $msg masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4653.
"my" variable $sub_name masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4679.
"my" variable $msg masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4679.
"my" variable $sub_name masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4703.
"my" variable $msg masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4703.
"my" variable $sub_name masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4729.
"my" variable $msg masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dmn-mngr line 4729.
Global symbol "$working" requires explicit package name at /var/www/ispcp/engine/ispcp-dmn-mngr line 4150.
Global symbol "$working" requires explicit package name at /var/www/ispcp/engine/ispcp-dmn-mngr line 4152.
syntax error at /var/www/ispcp/engine/ispcp-dmn-mngr line 4154, near "$working_cfg $working_file"
Execution of /var/www/ispcp/engine/ispcp-dmn-mngr aborted due to compilation errors.

cat /var/log/ispcp/ispcp-dmn-mngr.stdout has no output....


btw i installed using the install script for fedora 7 posted on the forums, and it was the 101407 build


RE: Addition in progress - BeNe - 10-30-2007 04:55 PM

Quote:Addition in progress
Is this the Status of a Domain or a Domain Alias ?
The Reseller must release a Domain Alias before the User can use it.
Quote:and it was the 101407 build

What that ?
A ispCP build ?

Greez BeNe


RE: Addition in progress - RatS - 10-30-2007 05:54 PM

use a later version of dmn-mngr there is an error in it, as you can see.


RE: Addition in progress - joximu - 10-30-2007 05:58 PM

As you can see
http://www.isp-control.net/ispcp/log/trunk/engine/ispcp-dmn-mngr

the dmn-mngr was improved for fedora after oct 14 - please get a newer ispcp.

/Joximu


RE: Addition in progress - chris41g - 10-31-2007 07:55 AM

any build after oct 14 results in these errors

Quote:Setting Startup services
service ispcp_daemon does not support chkconfig
service ispcp_daemon does not support chkconfig

error reading information on service sendmail: No such file or directory
re-starting required services
Stopping httpd: [ OK ]
Starting httpd: [Tue Oct 30 16:50:38 2007] [warn] The Alias directive in /etc/httpd/vhosts/01_awstats.conf at line 6 will probably never match because it overlaps an earlier Alias.
httpd: apr_sockaddr_info_get() failed for my.hostname.tld
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
/etc/init.d/ispcp_daemon: line 55: log_success_msg: command not found
/etc/init.d/ispcp_daemon: line 106: killproc: command not found
/etc/init.d/ispcp_daemon: line 55: log_success_msg: command not found
/etc/init.d/ispcp_daemon: line 116: start_daemon: command not found

Stopping named: [ OK ]



RE: Addition in progress - joximu - 10-31-2007 08:11 AM

well - you see which commands are missing.

Please write down which packages you need, install them and give us feedback so we can put this into the fedora package list.

Thanx
/Joximu


RE: Addition in progress - Sweeny - 10-31-2007 08:12 AM

Try these startscripts they should also work for fedora core:
http://mirrors.penguinfriends.org/ISPCP/CentOS-5.0/ispcp_daemon
http://mirrors.penguinfriends.org/ISPCP/CentOS-5.0/ispcp_network

they must be put in /etc/init.d

they support chkconfig ... so enable them by using
chkconfig --levels 3 6 ispcp_daemon on && chkconfig --levels 3 6 ispcp_network on

I often repeated that the version from the 14th october doesn't work on fedora centos and redhat but nobody ever changed sth.

Greetings
Sweeny


RE: Addition in progress - chris41g - 10-31-2007 08:17 AM

joximu Wrote:well - you see which commands are missing.

Please write down which packages you need, install them and give us feedback so we can put this into the fedora package list.

Thanx
/Joximu

im not sure exactly what you mean......... if i knew what packages i needed i would be ahead to just do it and not post

but even with missign packages ispcp_daemon doesnt work with chkconfig post 10/14

@sw1fty thanks ill give it a go


RE: Addition in progress - Sweeny - 10-31-2007 08:18 AM

There are no packages missing the error comes from incorrect startup scripts they are not working under redhat like distros


RE: Addition in progress - joximu - 10-31-2007 08:33 AM

Sorry I did get this wrong.

@Sw1fty: I'm sure we'll adopt the changes into the trunk - I just don't know when :-)