PHP Problem. Local connecten geht nicht.

2004-08-25 Thread hans-joachim kliemeck
Ich habe folgendes Problem: Mein Rooti kann von jedem Pc ereicht werden , blos nur 
wenn ich versuche mit der php Funktion fsockopen() local auf ihn zu connecten , 
funktioniert es nicht. Das Problem tritt bei einer frischen Debianinstallation auf mit 
und ohne Iptables. Und ich habe keine Firewall installiert.

Fehler:

Warning: fsockopen(): unable to connect to 127.0.0.1:80 in /var/www/test.php on line 2

meine php.ini:

[PHP]

;;;
; WARNING ;
;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *NOT* for production purposes.
; For several security-oriented considerations that should be taken
; before going online with your site, please consult php.ini-recommended
; and http://php.net/manual/en/security.php.


;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL  ~E_NOTICE), or a quoted string (foo).
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; |bitwise OR
; bitwise AND
; ~bitwise NOT
; !boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;  foo = ; sets foo to an empty string
;  foo = none; sets foo to an empty string
;  foo = none  ; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).



; Language Options ;


; Enable the PHP scripting language engine under Apache.
engine = On

; Allow the ? tag.  Otherwise, only ?php and script tags are recognized.
short_open_tag = On

; Allow ASP-style % % tags.
asp_tags = Off

; The number of significant digits displayed in floating point numbers.
precision=  14

; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
y2k_compliance = Off

; Output buffering allows you to send header lines (including cookies) even
; after you send body content, at the price of slowing PHP's output layer a
; bit.  You can enable output buffering during runtime by calling the output
; buffering functions.  You can also enable output buffering for all files by
; setting this directive to On.  If you wish to limit the size of the buffer
; to a certain size - you can use a maximum number of bytes instead of 'On', as
; a value for this directive (e.g., output_buffering=4096).
output_buffering = Off

; You can redirect all of the output of your scripts to a function.  For
; example, if you set output_handler to ob_gzhandler, output will be
; transparently compressed for browsers that support gzip or deflate encoding.
; Setting an output handler automatically turns on output buffering.
output_handler =

; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific buffer size
; to be used for compression (default is 4KB)
zlib.output_compression = Off

; Implicit flush tells PHP to tell the output layer to flush itself
; automatically after every output block.  This is equivalent to calling the
; PHP function flush() after each and every call to print() or echo() and each
; and every HTML block.  Turning this option on has serious performance
; implications and is generally recommended for debugging purposes only.
implicit_flush = Off

; Whether to enable the ability to force arguments to be passed by reference
; 

PHP Problem. Local connecten geht nicht.

2004-08-25 Thread hans-joachim kliemeck
Ich habe folgendes Problem: Mein Rooti kann von jedem Pc ereicht werden , blos nur 
wenn ich versuche mit der php Funktion fsockopen() local auf ihn zu connecten , 
funktioniert es nicht. Das Problem tritt bei einer frischen Debianinstallation auf mit 
und ohne Iptables. Und ich habe keine Firewall installiert.

Fehler:

Warning: fsockopen(): unable to connect to 127.0.0.1:80 in /var/www/test.php on line 2

meine php.ini:

[PHP]

;;;
; WARNING ;
;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *NOT* for production purposes.
; For several security-oriented considerations that should be taken
; before going online with your site, please consult php.ini-recommended
; and http://php.net/manual/en/security.php.


;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL  ~E_NOTICE), or a quoted string (foo).
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; |bitwise OR
; bitwise AND
; ~bitwise NOT
; !boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;  foo = ; sets foo to an empty string
;  foo = none; sets foo to an empty string
;  foo = none  ; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).



; Language Options ;


; Enable the PHP scripting language engine under Apache.
engine = On

; Allow the ? tag.  Otherwise, only ?php and script tags are recognized.
short_open_tag = On

; Allow ASP-style % % tags.
asp_tags = Off

; The number of significant digits displayed in floating point numbers.
precision=  14

; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
y2k_compliance = Off

; Output buffering allows you to send header lines (including cookies) even
; after you send body content, at the price of slowing PHP's output layer a
; bit.  You can enable output buffering during runtime by calling the output
; buffering functions.  You can also enable output buffering for all files by
; setting this directive to On.  If you wish to limit the size of the buffer
; to a certain size - you can use a maximum number of bytes instead of 'On', as
; a value for this directive (e.g., output_buffering=4096).
output_buffering = Off

; You can redirect all of the output of your scripts to a function.  For
; example, if you set output_handler to ob_gzhandler, output will be
; transparently compressed for browsers that support gzip or deflate encoding.
; Setting an output handler automatically turns on output buffering.
output_handler =

; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific buffer size
; to be used for compression (default is 4KB)
zlib.output_compression = Off

; Implicit flush tells PHP to tell the output layer to flush itself
; automatically after every output block.  This is equivalent to calling the
; PHP function flush() after each and every call to print() or echo() and each
; and every HTML block.  Turning this option on has serious performance
; implications and is generally recommended for debugging purposes only.
implicit_flush = Off

; Whether to enable the ability to force arguments to be passed by reference
; 

Re: Debian installiert , aber SSHD will nicht starten.

2004-08-12 Thread hans-joachim kliemeck
hans-joachim kliemeck [EMAIL PROTECTED] schrieb am 12.08.04 03:16:32:

Ja das komische ist ja ALLE Logs sind leer . Und natürlich hab ich die Software 
installiert ;)

mfg Hajo Kliemeck

Aufnehmen, abschicken, nah sein - So einfach ist 
WEB.DE Video-Mail: http://freemail.web.de/?mc=021200



Re: Debian installiert , aber SSHD will nicht starten.

2004-08-12 Thread hans-joachim kliemeck
Habe warscheinlich den Fehler gefunden bzw könnte es an der Netzwerk Config hängen? 
Anpingbar ist er aber keine Ports sind offen. Habe einen Server bei Server4you. Hier 
meine Config:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address   217.172.178.241
netmask   255.255.255.0
network   217.172.178.0
broadcast 217.172.178.255
gateway   217.172.178.1


mfg Hajo Kliemeck




___
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: http://freemail.web.de/?mc=021199



Debian installiert , will aber nicht booten.

2004-08-11 Thread hans-joachim kliemeck
Habe auf meinem root Debian installiert , aber der will einfach nicht booten. Liegt an 
Lilo. Ich komm einfach mit Lilo nicht klar.. Hoffe auf eure Hilfe.

Lilo.conf:

boot=/dev/hda
root=/dev/hda3
install=/boot/boot-menu.b
delay=20
lba32
image=/vmlinuz
initrd=/initrd.img
label=Debian

Partitionen:

/dev/hda1 = (ext2) 30 MB BOOT
/dev/hda2 = (ext3) 38166 MB ROOT
/dev/hda3 = 1024 SWAP

Kernel: Standard Debian Installationskernel

kurzes ls aus /boot:

System.map-2.4.26-1-586tsc
boot-text.b
lost+found
boot-bmp.b
boot.b  
os2_d.b
boot-compat.b   
chain.b 
vmlinuz-2.4.26-1-586tsc
boot-menu.b 
config-2.4.26-1-586tsc

mfg Hajo Kliemeck

Aufnehmen, abschicken, nah sein - So einfach ist 
WEB.DE Video-Mail: http://freemail.web.de/?mc=021200


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Debian installiert , aber SSHD will nicht starten.

2004-08-11 Thread hans-joachim kliemeck
Habe auf meinem 2ten Rechner nun Debian installiert , blos nur wie kann man es sich 
erklären das er Bootet , blos nichts startet?
Letzens ging es auf der Maschine (hatte da versucht , ging dann muste blos nur wieder 
neuinstallieren) auf einmal nach 1 Tag. Ich kann mir das nicht erklären. 
Logs sind leer da denke ich das es das es auch nicht gestartet wird. 
Runlevel Error? Anders könnte mich es mir nicht erklären das es nicht startet.

Wäre erfreut über eine Antwort
mfg Hajo Kliemeck

Aufnehmen, abschicken, nah sein - So einfach ist 
WEB.DE Video-Mail: http://freemail.web.de/?mc=021200