(04-18-2011 08:52 PM)irix Wrote: Hi all.
I've had a little problem with ispcp 1.0.6:
My phptemp folder was gone
My reseller folder was gone
I thought I might have to upgrade, so I followed the instructions on: http://isp-control.net/documentation/sta...ade/debian
(I have Lenny, so everythins is done accordingly).
Then I came to the well known password problem, so I removed the password from ispcp.conf and .old file, reset it with the correct root password through ispcp-db-passwd which went ok, I still get an error when updating:
Code:
get_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
setup_main_vars() | Starting...
decrypt_db_password() | Starting...
decrypt_db_password() | Ending...
setup_main_vars() | Ending...
get_conf() | Ending...
makepath() | Starting...
makepath() | [NOTICE] '/var/log/ispcp/setup' exists ! Setting its permissions...
setfmode() | Starting...
setfmode() | Ending...
makepath() | Ending...
update_startup() | Starting...
del_file() | Starting...
del_file() | [ERROR] File '/tmp/ispcp-setup.log' does not exist !
lock_system() | Starting...
lock_system() | Ending...
update_startup() | Ending...
update_engine() | Starting...
user_dialog() | Starting...
welcome_note() | Starting...
welcome_note() | Ending...
warn_msg() | Starting...
warn_msg() | Ending...
user_dialog() | Ending...
stop_services() | Starting...
sys_command() | Starting...
system() | [DEBUG] Stopping ispCP Network Traffic Logger: ispcp_network
ispcp_network is already stopped (warning).
.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/ispcp_network stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/ispcp_daemon stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping domain name service...: bind9rndc: connect failed: 127.0.0.1#953: connection refused
.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/bind9 stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] httpd (no pid file) not running
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/usr/sbin/apache2ctl stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping ftp server: proftpd.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/proftpd stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping policyd-weight (incl. cache): policyd-weight.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/policyd-weight stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping Postfix Mail Transport Agent: postfix.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/postfix stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping Courier authentication services: authdaemond.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-authdaemon stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping Courier POP3 server: pop3d.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-pop stop') | Ending...
sys_command() | Starting...
system() | [DEBUG] Stopping Courier IMAP server: imapd.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/courier-imap stop') | Ending...
stop_services() | Ending...
load_old_ispcp_config() | Starting...
get_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
setup_main_vars() | Starting...
decrypt_db_password() | Starting...
decrypt_db_password() | Ending...
setup_main_vars() | Ending...
get_conf() | Ending...
load_old_ispcp_config() | Ending...
update_ispcp_cfg() | Starting...
get_file() | Starting...
get_file() | Ending...
get_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
setup_main_vars() | Starting...
decrypt_db_password() | Starting...
decrypt_db_password() | Ending...
setup_main_vars() | Ending...
get_conf() | Ending...
set_conf_val() | Starting...
set_conf_val() | Ending...
store_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
store_file() | Starting...
setfmode() | Starting...
setfmode() | Ending...
store_file() | Ending...
get_conf() | Starting...
get_file() | Starting...
get_file() | Ending...
setup_main_vars() | Starting...
decrypt_db_password() | Starting...
decrypt_db_password() | Ending...
setup_main_vars() | Ending...
get_conf() | Ending...
store_conf() | Ending...
update_ispcp_cfg() | Ending...
check_ispcp_cfg_file() | Starting...
check_ispcp_cfg_file() | Ending...
preinst() | Starting...
sys_command() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/bin/bash preinst upgrade') | Ending...
preinst() | Ending...
update_database_schema() | Starting...
get_file() | Starting...
get_file() | Ending...
sys_command_rs() | Starting...
system() | [DEBUG]
[ERROR]: Error: Unable to establish connection to the database! SQL returned: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
StackTrace:
#0 /var/www/ispcp/gui/include/ispCP/Initializer.php(201): ispCP_Initializer->_initializeDatabase()
#1 /var/www/ispcp/gui/include/ispCP/Initializer.php(102): ispCP_Initializer->_processCLI()
#2 /var/www/ispcp/gui/include/environment.php(235): ispCP_Initializer::run(Object(ispCP_Config_Handler_File))
#3 /var/www/ispcp/gui/include/ispcp-lib.php(115): require_once('/var/www/ispcp/...')
#4 /var/www/ispcp/engine/setup/updDB.php(44): require_once('/var/www/ispcp/...')
#5 {main}
sys_command_rs() | Ending...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...
Debian Lenny, 32-bit, no mods.
I hope you can help me out, as half of my services aren't running at the moment.
Probably you need to recover the keys from a previous backup:
.- /var/www/ispcp/engine/ispcp-db-keys.pl
.- /var/www/ispcp/engine/messenger/ispcp-db-keys.pl
.- /var/www/ispcp/gui/include/ispcp-db-keys.php