N
needles
Grünschnabel
Hi Leute!
Ich möchte http über xinetd starten. Dafür habe ich die Datei /etc/xinetd.d/http mit folgenden Eintrag erstellt:
service http
{
disable = no
instances = 20
port = 80
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/httpd
server_args = start
}
Der Server startet, wie ich in /var/logs/messages sehen konnte:
Mar 2 16:57:23 chello212186210152 xinetd[9902]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Mar 2 16:57:23 chello212186210152 xinetd[9902]: Started working: 1 available service
Mar 2 16:57:25 chello212186210152 xinetd[9902]: Starting reconfiguration
Mar 2 16:57:25 chello212186210152 xinetd[9902]: Swapping defaults
Mar 2 16:57:25 chello212186210152 xinetd[9902]: readjusting service http
Mar 2 16:57:25 chello212186210152 xinetd[9902]: Reconfigured: new=0 old=1 dropped=0 (services)
Mar 2 16:57:27 chello212186210152 xinetd[9902]: START: http pid=9910 from=XXX.XXX.XXX.XXX
Mar 2 16:57:27 chello212186210152 xinetd[9902]: EXIT: http status=1 pid=9910 duration=0(sec)
Mar 2 16:57:29 chello212186210152 xinetd[9902]: START: http pid=9911 from=XXX.XXX.XXX.XXX
Mar 2 16:57:29 chello212186210152 xinetd[9902]: EXIT: http status=1 pid=9911 duration=0(sec)
Was nun das genaue Problem ist weiß ich nicht. Sieht so aus als ob der Server die Verbindung sofort wieder kappt und somit kein Zugriff stattfinden kann.
Habt ihr eine Ahnung was ich vergessen haben könnte ?
System ist CentOS 5.2.
danke und lg
Christoph
Ich möchte http über xinetd starten. Dafür habe ich die Datei /etc/xinetd.d/http mit folgenden Eintrag erstellt:
service http
{
disable = no
instances = 20
port = 80
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/httpd
server_args = start
}
Der Server startet, wie ich in /var/logs/messages sehen konnte:
Mar 2 16:57:23 chello212186210152 xinetd[9902]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Mar 2 16:57:23 chello212186210152 xinetd[9902]: Started working: 1 available service
Mar 2 16:57:25 chello212186210152 xinetd[9902]: Starting reconfiguration
Mar 2 16:57:25 chello212186210152 xinetd[9902]: Swapping defaults
Mar 2 16:57:25 chello212186210152 xinetd[9902]: readjusting service http
Mar 2 16:57:25 chello212186210152 xinetd[9902]: Reconfigured: new=0 old=1 dropped=0 (services)
Mar 2 16:57:27 chello212186210152 xinetd[9902]: START: http pid=9910 from=XXX.XXX.XXX.XXX
Mar 2 16:57:27 chello212186210152 xinetd[9902]: EXIT: http status=1 pid=9910 duration=0(sec)
Mar 2 16:57:29 chello212186210152 xinetd[9902]: START: http pid=9911 from=XXX.XXX.XXX.XXX
Mar 2 16:57:29 chello212186210152 xinetd[9902]: EXIT: http status=1 pid=9911 duration=0(sec)
Was nun das genaue Problem ist weiß ich nicht. Sieht so aus als ob der Server die Verbindung sofort wieder kappt und somit kein Zugriff stattfinden kann.
Habt ihr eine Ahnung was ich vergessen haben könnte ?
System ist CentOS 5.2.
danke und lg
Christoph