Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenloses um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereiche, welche für Gäste verwehrt bleiben

IPC update nun Warnings

havanarulez

Ist gelegentlich hier
Registriert
9. Dezember 2010
Beiträge
75
Reaktionspunkte
2
Punkte
8
Hallo
nach dem update bekomme ich diese warnings.. bin mir nicht ganz sicher ob das mit ipc oder debian zu tun hat

Kann mir da jemand weiterhelfen...

für mehr infos einfach sagen was man noch braucht..

ein Danke schon mal im vorraus

Warning: gethostbyaddr() [
Du musst dich Anmelden oder Registrieren um diesen link zusehen!
]: Address is not a valid IPv4 or IPv6 address in /var/www/ipc/phpsysinfo/includes/os/class.Linux.inc.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ipc/phpsysinfo/includes/os/class.Linux.inc.php:86) in /var/www/ipc/phpsysinfo/includes/system_header.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /var/www/ipc/phpsysinfo/includes/os/class.Linux.inc.php:86) in /var/www/ipc/phpsysinfo/includes/system_header.php on line 35
 
AW: IPC update nun Warnings

sehe gerade ipc update welches war den vorher drauf das von seg oder von uns ?

ich würde configs sicher

und dann neu ipc draufmachen das alte removen fertig darin rumzupfuschen bringt nichts da is es schneller mit remove getan
 
Zuletzt bearbeitet:
AW: IPC update nun Warnings

@mr wong

das alte von seg...

Ok ich habe den remove befehl genommen.. in dan eures installiert.. jedoch stehen dort immer noch diese einträge....
version habe ich
Paketversion : 11.2 (2011-02-28)
ich möchte eben nicht unbedingt den debian von grund auf neu installieren.. wen es geht... evt noch ein tip
danke
 
Zuletzt bearbeitet:
AW: IPC update nun Warnings

Ist das ein Vserver?....Welche Distrib.... hast du drauf und poste mal bitte die Ausgabe von "cat /etc/hostname" (ohne " " eingeben)

p.s Es ist eine Warnung.....eigentlich kannste dies ignorieren
 
AW: IPC update nun Warnings

@ramazotti

Nein es ist kein Vserver sondern ne kleine kiste ;-)
distrib ist
[SIZE=-1]Debian GNU/Linux 5.0.8 (lenny)
die ausgabe ist IPC

warm möchtest du den hostnamen wissen

verstehe ich auch die warnung jeodch bin ich da ein wenig peniebel grins... ich finde es einfach cool wen alles so richtig läuft.. weisst was ich meine

gruss

[/SIZE]
 
AW: IPC update nun Warnings

Du musst dich Anmelden oder Registrieren um den Inhalt der Angebote zu sehen!

hast du irgend wann mal in /var/www/ipc/phpsysinfo/includes/system_header.php was geändert , geh mal mit WinSCP oder mit putty mit putty in die Datei und schau mal ob es so aussieht:
<?php
/***************************************************************************
* Copyright (C) 2006 by phpSysInfo - A PHP System Information Script *
*
Du musst dich Anmelden oder Registrieren um diesen link zusehen!
*
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/

// $Id: system_header.php,v 1.30 2007/02/11 15:57:17 bigmichi1 Exp $

if( ! defined( 'IN_PHPSYSINFO' ) ) {
die( "No Hacking" );
}

setlocale( LC_ALL, $text['locale'] );
global $XPath;

header( "Cache-Control: no-cache, must-revalidate" );
if( ! isset( $charset ) ) {
$charset = "iso-8859-1";
}
header( "Content-Type: text/html; charset=" . $charset );

echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html>\n";
echo created_by();

echo "<head>\n";
echo "\t<title>" . $text['title'], " -- ", $XPath->getData('/phpsysinfo/Vitals/Hostname'), " --</title>\n";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" . $charset . "\">";
if( file_exists( APP_ROOT . "/templates/" . $template . "/" . $template . ".css" ) ) {
echo "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"" . $webpath . "templates/" . $template . "/" . $template . ".css\">\n";
}
echo "</head>\n";

if( file_exists( APP_ROOT . "/templates/" . $template . "/images/" . $template . "_background.gif" ) ) {
echo "<body background=\"" . $webpath . "templates/" . $template . "/images/" . $template . "_background.gif\">";
} else {
echo "<body>\n";
}

?>

Viele Grüsse
 
AW: IPC update nun Warnings

hi
bewusst habe ich nichts geändert...
die sieht so aus.. finde da kein fehler


/************************************************** *************************
* Copyright (C) 2006 by phpSysInfo - A PHP System Information Script *
* phpSysInfo *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
************************************************** *************************/

// $Id: system_header.php,v 1.30 2007/02/11 15:57:17 bigmichi1 Exp $

if( ! defined( 'IN_PHPSYSINFO' ) ) {
die( "No Hacking" );
}

setlocale( LC_ALL, $text['locale'] );
global $XPath;

header( "Cache-Control: no-cache, must-revalidate" );
if( ! isset( $charset ) ) {
$charset = "iso-8859-1";
}
header( "Content-Type: text/html; charset=" . $charset );

echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html>\n";
echo created_by();

echo "<head>\n";
echo "\t<title>" . $text['title'], " -- ", $XPath->getData('/phpsysinfo/Vitals/Hostname'), " --</title>\n";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=" . $charset . "\">";
if( file_exists( APP_ROOT . "/templates/" . $template . "/" . $template . ".css" ) ) {
echo "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"" . $webpath . "templates/" . $template . "/" . $template . ".css\">\n";
}
echo "</head>\n";

if( file_exists( APP_ROOT . "/templates/" . $template . "/images/" . $template . "_background.gif" ) ) {
echo "<body background=\"" . $webpath . "templates/" . $template . "/images/" . $template . "_background.gif\">";
} else {
echo "<body>\n";
}

?>
 
AW: IPC update nun Warnings

Das warnung kommt von dieser datei:
Warning: gethostbyaddr() [
Du musst dich Anmelden oder Registrieren um diesen link zusehen!
]: Address is not a valid IPv4 or IPv6 address in /var/www/ipc/phpsysinfo/includes/os/class.Linux.inc.php on line 86

Das problem liegt an der IP.
gib mal in Google:
warning gethostbyaddr
dann wirst du fündig.

Viele Grüsse
 
AW: IPC update nun Warnings

hallo
ich finde zwar xxx einträge bei google aber welcher passt nun.. hmmmm...
und im source cod...

// get our apache SERVER_NAME or vhost
function vhostname () {
if (! ($result = getenv('SERVER_NAME'))) {
$result = 'N.A.';
}
return $result;
}
// get the IP address of our vhost name
function vip_addr () {
return gethostbyname($this->vhostname());
}
// get our canonical hostname
function chostname () {
$result = rfts( '/proc/sys/kernel/hostname', 1 );
if ( $result == "ERROR" ) {
$result = "N.A.";
} else {
$result = gethostbyaddr( gethostbyname( trim( $result ) ) );
}
return $result;
}
// get the IP address of our canonical hostname
function ip_addr () {
if (!($result = getenv('SERVER_ADDR'))) {
$result = gethostbyname($this->chostname());
}
return $result;

wüsste ich auch nicht welcher passt.. na ja... muss ich wohl oder überl damit leben...
 
Zurück
Oben