ispCP - Board - Support
[ERLEDIGT] Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 49. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+---- Forum: Archiv (/forum-54.html)
+---- Thread: [ERLEDIGT] Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 49. (/thread-2692.html)

Pages: 1 2 3 4


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 49. - joximu - 03-11-2008 07:16 AM

ja im pma den Inhalt des Feldes ändern.

Das muss gehen


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 4 - johreini - 03-11-2008 07:21 AM

Das mit "toadd" hat nicht geklappt. Aber ich habs mit status "ok" versucht. Das hat geklappt. Jetzt stellt sich natürlich die Frage, wenn ich auf toadd gestellt hätte. Dann wären ja sicher noch Scripts ausgeführt worden. Was wird jetzt wohl durch meine vorgehensweise nicht klappen??!!


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 4 - johreini - 03-11-2008 07:24 AM

So kann ich zB keine neuen User mehr anlegen. Die bleiben auf Staus Stop!
In der DB finde ich den Status: "sys_command_rs() | Ending..."

Ich habe auch festgestellt. Das die Ordner im /var/www/virtual nicht angelegt werden!!


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 49. - joximu - 03-11-2008 07:24 AM

du kannst es auch mit "change" versuchen

wichtig: der request manager muss danach noch laufen gelassen werden...


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 4 - johreini - 03-11-2008 08:18 AM

RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 4

So kann ich zB keine neuen User mehr anlegen. Die bleiben auf Staus Stop!
In der DB finde ich den Status: "sys_command_rs() | Ending..."

Ich habe auch festgestellt. Das die Ordner im /var/www/virtual nicht angelegt werden!!


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 49. - joximu - 03-11-2008 08:41 AM

dann schalt mal debug ein und berichte, was in den angelegten Logfiles steht.


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 4 - johreini - 03-11-2008 05:28 PM

In den Log-Files unter /var/log/ispcp steht nicht viel drinnen!!

in ispcp-dmn-mngr.stout:
DEBUG: push_el() sub_name: dmn_del_mta_file_data(), msg: Ending...
DEBUG: push_el() sub_name: dmn_del_mta_data(), msg: Ending...
DEBUG: push_el() sub_name: dmn_del_data(), 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: dmn_mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: dmn_mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: dmn_mngr_shut_down(), msg: Ending...


in ispcp-dmn-mngr.sterr:
Use of uninitialized value in numeric ne (!=) at /var/www/ispcp/engine/ispcp-dmn-mngr line 2540

in ispcp-serv-mngr.stout:
DEBUG: push_el() sub_name: sys_command(), msg: Starting...
DEBUG: push_el() sub_name: sys_command('export COLUMNS=120;/bin/ps aux | /usr/bin/awk '$0 ~/apache2/ {print $0}' | /usr/bin/wc | /usr/bin/awk '{print $1}' 1>/tmp/httpd-run-check.stdout'), msg: Ending...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: check_httpd(), 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: serv_mngr_engine(), msg: Ending...
DEBUG: push_el() sub_name: serv_mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: serv_mngr_shut_down(), msg: Ending...



Das was ich jedoch komisch finde. Das der Ordner für die Domain nicht angelegt wird!


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 49. - joximu - 03-11-2008 08:07 PM

komisch, ja.

bei 2540 wird ja ein Domainverzeichnis gelöscht und das Ergebnis des Löschvorganges scheint ne uninitialisierte Variable zu sein.
Code:
2530         if ( -e "$www_dir/$dmn_name" ) {
2531     
2532             ($rs, $rdata) = del_dir("$www_dir/$dmn_name");
2533     
2534         } elsif ( -e "$www_dir/$dmn_name.disabled" ) {
2535     
2536             ($rs, $rdata) = del_dir("$www_dir/$dmn_name.disabled");
2537     
2538         }
2539     
2540         return $rs if ($rs != 0);

oder steht bei dir was anderes auf dieser Zeile?


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 4 - johreini - 03-11-2008 08:56 PM

Vonm welchen File redest du?


RE: Use of uninitialized value in numeric ne (!=) at /var~/ispcp_common_ode.pl line 49. - joximu - 03-11-2008 09:13 PM

Quote:in ispcp-dmn-mngr.sterr:
Use of uninitialized value in numeric ne (!=) at /var/www/ispcp/engine/ispcp-dmn-mngr line 2540