ispCP - Board - Support
ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create (/thread-8981.html)

Pages: 1 2


ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - ubuntuman - 12-28-2009 06:59 PM

ispcp 1.0.3 ubuntu 8.04 user problem

on admin panel 4-5 day ago i create a users and domain + sub no problem

ิbut now i try to create more users but can not create and can not delete a user also reboot server but still the same


RE: ispcp 1.0.3 ubuntu 8.04 user problem can not delete and create - Nuxwin - 12-28-2009 07:04 PM

Hi ;

Please, provide us the ispCP debugger information (See on the panel as admin)

Cheers ;


RE: ispcp 1.0.3 ubuntu 8.04 user problem can not delete and create - ubuntuman - 12-28-2009 07:14 PM

i just sent you a massage to your PM
(12-28-2009 07:04 PM)nuxwin Wrote:  Hi ;

Please, provide us the ispCP debugger information (See on the panel as admin)

Cheers ;

when i delete the users is error massage > Wrong domain ID!
(12-28-2009 07:04 PM)nuxwin Wrote:  Hi ;

Please, provide us the ispCP debugger information (See on the panel as admin)

Cheers ;

i try to edit user is error massage >
User does not exist or you do not have permission to access this interface
(12-28-2009 07:04 PM)nuxwin Wrote:  Hi ;

Please, provide us the ispCP debugger information (See on the panel as admin)

Cheers ;



RE: ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - Nuxwin - 12-28-2009 08:10 PM

Re ;

Ok:

Code:
    ispCP Daemon tools
      28 Execute requests

In my opinions, your ispCP daemon doesn't work. So try the following first :

First, enable the debug mode at the end of your /etc/ispcp/ispcp.conf and then, run the following command as root :

Code:
# /etc/init.d/ispcp_daemon stop
# perl /var/www/ispcp/engine/ispcp-rqst-mngr

Wait and copy/past the OUTPUT if an error is raised.

If no error was occured, restart the daemon as follow:
Code:
# /etc/init.d/ispcp_daemon start

Cheers ;


RE: ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - ubuntuman - 12-28-2009 08:20 PM

# debug = 1
# perl /var/www/ispcp/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: 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 3, homeftp.org, change.
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 3 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 3 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 3, homeftp.org, change.
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: 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: mngr_shut_down(), msg: Ending...


(12-28-2009 08:10 PM)nuxwin Wrote:  Re ;

Ok:

Code:
    ispCP Daemon tools
      28 Execute requests

In my opinions, your ispCP daemon doesn't work. So try the following first :

First, enable the debug mode at the end of your /etc/ispcp/ispcp.conf and then, run the following command as root :

Code:
# /etc/init.d/ispcp_daemon stop
# perl /var/www/ispcp/engine/ispcp-rqst-mngr

Wait and copy/past the OUTPUT if an error is raised.

If no error was occured, restart the daemon as follow:
Code:
# /etc/init.d/ispcp_daemon start

Cheers ;



RE: ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - Nuxwin - 12-28-2009 08:25 PM

Re ;

Please, provides us the content of the following files

Code:
/var/log/ispcp/ispcp-dmn-mngr.stdout
/var/log/ispcp/ispcp-dmn-mngr.stderr


Cheers ;


RE: ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - ubuntuman - 12-28-2009 08:33 PM

/var/log/ispcp/ispcp-dmn-mngr.stdout
/var/log/ispcp/ispcp-dmn-mngr.stdout: Permission denied

/var/log/ispcp/ispcp-dmn-mngr.stderr
/var/log/ispcp/ispcp-dmn-mngr.stderr: Permission denied

(12-28-2009 08:25 PM)nuxwin Wrote:  Re ;

Please, provides us the content of the following files

Code:
/var/log/ispcp/ispcp-dmn-mngr.stdout
/var/log/ispcp/ispcp-dmn-mngr.stderr


Cheers ;

at the moment I'm still in debug mode

(12-28-2009 08:33 PM)ubuntuman Wrote:  /var/log/ispcp/ispcp-dmn-mngr.stdout
/var/log/ispcp/ispcp-dmn-mngr.stdout: Permission denied

/var/log/ispcp/ispcp-dmn-mngr.stderr
/var/log/ispcp/ispcp-dmn-mngr.stderr: Permission denied

(12-28-2009 08:25 PM)nuxwin Wrote:  Re ;

Please, provides us the content of the following files

Code:
/var/log/ispcp/ispcp-dmn-mngr.stdout
/var/log/ispcp/ispcp-dmn-mngr.stderr


Cheers ;



RE: ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - Nuxwin - 12-28-2009 09:14 PM

Re ;

FIXED !

You had an error in the script /var/www/ispcp/engine/ispcp-dmn-mngr (on line 1663)
Code:
'{BASE_SERVER_VHOST}' => $vhost
Should be
Code:
'{BASE_SERVER_VHOST}' => $vhost,

Note: I've already fixed on you server, not worry about that. All work fine now.

I've also encountered many others problem with your init scripts.

Bind cannot stop, start or restart. To fix the problem, I've killed the process manually and re-start it. Works fine now.

I've encountered the same problem with the ispcp Daemon.
Edit: You have update to svn version recently ?


RE: ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - ubuntuman - 12-28-2009 09:19 PM

thank you very much best regard
(12-28-2009 09:14 PM)nuxwin Wrote:  Re ;

FIXED !

You had an error in the script /var/www/ispcp/engine/ispcp-dmn-mngr (on line 1663)
Code:
'{BASE_SERVER_VHOST}' => $vhost
Should be
Code:
'{BASE_SERVER_VHOST}' => $vhost,

Note: I've already fixed on you server, not worry about that. All work fine now.

I've also encountered many others problem with your init script.

Bind cannot stop, start restart. To fix the problem, I've killed the process manually and start it. Works fine now.

I've encountered the same problème with the ispcp Daemon.

every think it's work Great but i look at the named.conf is so many copy of
record same thing

/etc/bind/named.conf

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

include "/etc/bind/named.conf.local";

// bind Data BEGIN.

// dmn [server1.podzone.org] cfg entry BEGIN.
zone "server1.podzone.org" {
type master;
file "/etc/bind/server1.podzone.org.db";
notify YES;
};
// dmn [server1.podzone.org] cfg entry END.

// dmn [homeftp.org] cfg entry BEGIN.
zone "homeftp.org" {
type master;
file "/etc/bind/homeftp.org.db";
notify YES;
};
// dmn [homeftp.org] cfg entry END.

// dmn [{DMN_NAME}] cfg entry BEGIN.
// dmn [{DMN_NAME}] cfg entry END.

// bind Data END.


(12-28-2009 09:14 PM)nuxwin Wrote:  Re ;

FIXED !

You had an error in the script /var/www/ispcp/engine/ispcp-dmn-mngr (on line 1663)
Code:
'{BASE_SERVER_VHOST}' => $vhost
Should be
Code:
'{BASE_SERVER_VHOST}' => $vhost,

Note: I've already fixed on you server, not worry about that. All work fine now.

I've also encountered many others problem with your init script.

Bind cannot stop, start restart. To fix the problem, I've killed the process manually and start it. Works fine now.

I've encountered the same problem with the ispcp Daemon.
Edit: You have update to svn version recently ?



RE: ispcp 1.0.3 on ubuntu 8.04 user problem can not delete and create - Nuxwin - 12-28-2009 09:35 PM

Re ;


This problem is already know. Read this ---> http://www.isp-control.net/forum/thread-8970-post-70202.html#pid70202

I know the reason. I'll fix it.

Cheers ;