Current time: 07-03-2024, 11:22 AM Hello There, Guest! (LoginRegister)


Post Reply 
Update Problem
Author Message
maxi Offline
Junior Member
*

Posts: 77
Joined: Aug 2009
Reputation: 0
Post: #11
RE: Update Problem
haha Danke Fluser. Hat auch prima geklappt nur kommt jetzt folgende Fehlermeldung:

Quote:An error occured! Please, contact your administrator!

mfg
MxiWinkRolleyes

EDIT: Ich habe das Upgraden nochmal versucht und diesmal konnte ich sogar bis zum eigentlichen Schritt gehen. Das Upgraden wurde aber vorzeitig abgebrochen. Hier ist der Log:

Quote: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' doesn't exists as directory! creating...
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.
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...: bind9 waiting for pid 14561 to die.
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
sys_command('/etc/init.d/bind9 stop') | Ending...
sys_command() | Starting...
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 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...
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...
set_conf_val() | Starting...
set_conf_val() | Ending...
set_conf_val() | Starting...
set_conf_val() | Ending...
set_conf_val() | Starting...
set_conf_val() | Ending...
set_conf_val() | Starting...
set_conf_val() | Ending...
set_conf_val() | Starting...
set_conf_val() | 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...
setup_main_vars() | Ending...
get_conf() | Ending...
store_conf() | Ending...
update_ispcp_cfg() | Ending...
check_ispcp_cfg_file() | Starting...
check_ispcp_cfg_file() | Starting...
ask_vhost() | Starting...
get_sys_hostname() | Starting...
getEthAddr() | Starting...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
getEthAddr() | Ending...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
get_sys_hostname() | Ending...
ask_vhost() | Ending...
set_conf_val() | Starting...
set_conf_val() | Ending...
ask_admin_email() | Starting...
isValidEmail() | Starting...
isValidEmailUser() | Starting...
isValidEmailUser() | Ending...
isValidEmailDomain() | Starting...
isValidHostname() | Starting...
isValidHostname() | Ending...
isValidEmailDomain() | Ending...
isValidEmail() | Ending...
ask_admin_email() | Ending...
set_conf_val() | Starting...
set_conf_val() | Ending...
ask_resolver() | Starting...
ask_resolver() | Ending...
set_conf_val() | Starting...
set_conf_val() | Ending...
ask_timezone() | Starting...
ask_timezone() | 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...
setup_main_vars() | Ending...
get_conf() | Ending...
store_conf() | Ending...
sys_command_rs() | Starting...
sys_command_rs() | Ending...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 0
getCmdExitValue() | Ending...
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/sh preinst upgrade') | Ending...
preinst() | Ending...
update_database_schema() | Starting...
get_file() | Starting...
get_file() | Ending...
save_file() | Starting...
save_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: NO)

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...

Merkwürdig ist nur diese Zeile:
Quote:[ERROR]: Error: Unable to establish connection to the database! SQL returned: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

Da ich zuvor ein anderen User als ISPCPdatenbankusernamen gesetzt habe. In der ISPCP war dieser auch mit den richtigen hasch drinenn. Während des Upgrades wird die ISPCP verändert und wieder mit root als user gefüllt. Im Password Feld ist kein hasch zu sehen.

Die ISPCP.conf wird also neu geschrieben.

P.s. auch das ändern des Passwortes des Root Usernamens ändert nichts.
(This post was last modified: 02-09-2011 03:32 AM by maxi.)
02-09-2011 02:24 AM
Find all posts by this user Quote this message in a reply
tomhb Offline
Member
***

Posts: 336
Joined: Apr 2010
Reputation: 4
Post: #12
RE: Update Problem
(02-09-2011 02:24 AM)maxi Wrote:  Merkwürdig ist nur diese Zeile: [ERROR]: Error: Unable to establish connection to the database! SQL returned: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

Probier mal auf der shell folgendes:

$ mysql -u root -h localhost -p
<dann das Passwort eingeben>

Erfolgreich?



Gruss Tom
02-09-2011 04:03 AM
Find all posts by this user Quote this message in a reply
maxi Offline
Junior Member
*

Posts: 77
Joined: Aug 2009
Reputation: 0
Post: #13
RE: Update Problem
(02-09-2011 04:03 AM)tomhb Wrote:  
(02-09-2011 02:24 AM)maxi Wrote:  Merkwürdig ist nur diese Zeile: [ERROR]: Error: Unable to establish connection to the database! SQL returned: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

Probier mal auf der shell folgendes:

$ mysql -u root -h localhost -p
<dann das Passwort eingeben>

Erfolgreich?



Gruss Tom

jub ich komm rein
02-09-2011 04:31 AM
Find all posts by this user Quote this message in a reply
maxi Offline
Junior Member
*

Posts: 77
Joined: Aug 2009
Reputation: 0
Post: #14
RE: Update Problem
Hallo ich bisn nochmal,

ich habe mir jetzt mal Gedanken gemacht und habe für mich zumindest die vernünftigste Lösung gefunden. Wäre es sinnvoll alle Webseiten zu sichern und diese auf einen externen Speicher zu speichern. Den Server neu aufzusetzen und danach die Backups(nur reine Webseiten/virtual Ordner) wieder einzuführen und alle configs neu zu schreiben?

ALso praktisch ein Serverwechsel? Und gibt es schon ein How-TO dazu?

Was meinst ihr dazu?

mfg
Max
02-10-2011 05:33 AM
Find all posts by this user Quote this message in a reply
fluser Offline
Documentation Team
***
Docu Team

Posts: 246
Joined: May 2010
Reputation: 1
Post: #15
RE: Update Problem
Hallo Maxi

Ist sicherlich nicht die dümmste IdeeWink Irgendwo im Forum gibt es ein Howto. Bin leider noch nicht dazu gekommen, es ins Wiki hinein zu packen.

MlG Fluser
02-10-2011 04:03 PM
Find all posts by this user Quote this message in a reply
tomhb Offline
Member
***

Posts: 336
Joined: Apr 2010
Reputation: 4
Post: #16
RE: Update Problem
Hallo Max,

(02-10-2011 05:33 AM)maxi Wrote:  ich habe mir jetzt mal Gedanken gemacht und habe für mich zumindest die vernünftigste Lösung gefunden. Wäre es sinnvoll alle Webseiten zu sichern und diese auf einen externen Speicher zu speichern. Den Server neu aufzusetzen und danach die Backups(nur reine Webseiten/virtual Ordner) wieder einzuführen und alle configs neu zu schreiben?

ALso praktisch ein Serverwechsel? Und gibt es schon ein How-TO dazu?

Was willste jetzt hoeren/lesen?
Hier geht es um *ispCP* und nicht "wie administriere ich einen Server".
Setz dann halt das Betriebssystem Deiner Wahl auf, zieh dann ispCP-Package
und lies Dir die INSTALL durch. Kann hier nur fuer Debian GNU sprechen, aber
da ist es doch nicht so schwer.
Selbst ein Huhn kann Debian GNU installieren (immer nur auf Enter picken).
Danach die Schritte aus dem INSTALL von ispCP, fertig.

Oder Du gehst halt dem Fehler auf den Grund, warum da oben "using password: NO" stand. Bevor Du das alles sowieso platt machst, kannst Du ja auch dem mysql-root das Passwort entziehen und das Ganze noch einmal probieren. Nicht das ich dies fuer eine gute Idee hielte, aber wenns doch eh plattgehen wuerden, kann man doch durchaus noch ein bisserl rumspielen (und Erfahrungen sammeln).


Gruss Tom
02-10-2011 04:21 PM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #17
RE: Update Problem
(02-09-2011 02:24 AM)maxi Wrote:  Merkwürdig ist nur diese Zeile:
Quote:[ERROR]: Error: Unable to establish connection to the database! SQL returned: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

Da ich zuvor ein anderen User als ISPCPdatenbankusernamen gesetzt habe. In der ISPCP war dieser auch mit den richtigen hasch drinenn. Während des Upgrades wird die ISPCP verändert und wieder mit root als user gefüllt. Im Password Feld ist kein hasch zu sehen.

Die ISPCP.conf wird also neu geschrieben.

P.s. auch das ändern des Passwortes des Root Usernamens ändert nichts.

die lösung:

deine 2te datei woraus die neue beim upgrade greneriert wird war nicht korrekt deswegen wurde die 1.te nach dem upgrade falsch geschrieben und wärend des upgrades war kein zugang zur datenbank möglich....


mfg
02-11-2011 03:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
maxi Offline
Junior Member
*

Posts: 77
Joined: Aug 2009
Reputation: 0
Post: #18
RE: Update Problem
(02-11-2011 03:02 AM)ZooL Wrote:  
(02-09-2011 02:24 AM)maxi Wrote:  Merkwürdig ist nur diese Zeile:
Quote:[ERROR]: Error: Unable to establish connection to the database! SQL returned: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

Da ich zuvor ein anderen User als ISPCPdatenbankusernamen gesetzt habe. In der ISPCP war dieser auch mit den richtigen hasch drinenn. Während des Upgrades wird die ISPCP verändert und wieder mit root als user gefüllt. Im Password Feld ist kein hasch zu sehen.

Die ISPCP.conf wird also neu geschrieben.

P.s. auch das ändern des Passwortes des Root Usernamens ändert nichts.

die lösung:

deine 2te datei woraus die neue beim upgrade greneriert wird war nicht korrekt deswegen wurde die 1.te nach dem upgrade falsch geschrieben und wärend des upgrades war kein zugang zur datenbank möglich....


mfg

Danke ZooL, ich habe die Datei gefunden im TMP Ornder und habe sie angepasst. Danach konnte ich auch endlich den Installer aufrufen. Jedoch kam folgende Meldung:

Quote:Your ispCP configuration file has missing parameters! The Update ......
NOTICE The setting 'PORT_POSTGRAY' can't be handle by the recovery proccess!

Please, set it manualy in your /etc/ispcp/ispcp.old.confand re-run this script.

The programm will end now!

FATAL An Error occured during update process!
....
Screen liegt bei.

Auch das manuelle einsetzen von
Quote:#
# Postgrey data
#

PORT_POSTGREY = 60000
in der /etc/ispcp/ispcp.conf,/tmp/ispcp/etc/ispcp.conf hat leider nichts gebracht. Nachdem Abbruch des Scriptes steht ist der /etc/ispcp/ispcp.conf:

Quote:# Postgrey data
#

PORT_POSTGREY =

Postgray ist drauf und läuft über den Port 60000. Ich kann es stoppen, aber auch starten.

Vielen Dank bis jetzt euch allen. Bin wohl eher der komplizierten fälle?


mfg
Maxi
02-13-2011 09:42 AM
Find all posts by this user Quote this message in a reply
maxi Offline
Junior Member
*

Posts: 77
Joined: Aug 2009
Reputation: 0
Post: #19
RE: Update Problem
Hat jemand eine Lösung?

Warum wird die Variable immer wieder leer gesetzt? Nachdem ich die Installer aufrufe?
02-15-2011 10:13 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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