Aracon
Routinier
Ich hab apache2 per apt-get installiert. Lief alles gut durch. Dann hab ich den eintrag in inetd gemacht:
###################################################
server:~# cat /etc/inetd.conf
# /etc/inetd.conf: see inetd( for further informations.
#
# Internet server configuration database
#
#
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
discard stream tcp nowait root internal
discard dgram udp wait root internal
daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
time stream tcp nowait root internal
#time dgram udp wait root internal
#:STANDARD: These are standard services.
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd
http stream tcp nowait root /usr/sbin/tcpd /usr/sbin/apache2
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
#smtp stream tcp nowait mail /usr/sbin/exim exim -bs
#:INFO: Info services
#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#THER: Other services
6667 stream tcp nowait bitlbee /usr/sbin/tcpd /usr/sbin/bitlbee
#############################################
Jetzt wolle ich den apache2 per /etc/init.d/apache2 start starten und bekomme folgendes:
Could not determine the server's fully qualified domain name, using 192.168.0.4 for ServerName
httpd not running, trying to start
(9Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Das mit dem name ist ja egal, ich hab noch net an den configs geschraubt.
Es soll irgendein Programm auf Port 80 laufen, aber ich weiss nicht was. Wenn ich 192.168.0.4 in Mozilla eintippe kommt genau die obrige meldung nur eben als website (nur text kein html)
Bitte um hilfe
###################################################
server:~# cat /etc/inetd.conf
# /etc/inetd.conf: see inetd( for further informations.
#
# Internet server configuration database
#
#
# Lines starting with "#:LABEL:" or "#<off>#" should not
# be changed unless you know what you are doing!
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# Packages should modify this file by using update-inetd(
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
discard stream tcp nowait root internal
discard dgram udp wait root internal
daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
time stream tcp nowait root internal
#time dgram udp wait root internal
#:STANDARD: These are standard services.
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/proftpd
http stream tcp nowait root /usr/sbin/tcpd /usr/sbin/apache2
#:BSD: Shell, login, exec and talk are BSD protocols.
#:MAIL: Mail, news and uucp services.
#smtp stream tcp nowait mail /usr/sbin/exim exim -bs
#:INFO: Info services
#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#THER: Other services
6667 stream tcp nowait bitlbee /usr/sbin/tcpd /usr/sbin/bitlbee
#############################################
Jetzt wolle ich den apache2 per /etc/init.d/apache2 start starten und bekomme folgendes:
Could not determine the server's fully qualified domain name, using 192.168.0.4 for ServerName
httpd not running, trying to start
(9Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Das mit dem name ist ja egal, ich hab noch net an den configs geschraubt.
Es soll irgendein Programm auf Port 80 laufen, aber ich weiss nicht was. Wenn ich 192.168.0.4 in Mozilla eintippe kommt genau die obrige meldung nur eben als website (nur text kein html)
Bitte um hilfe