ich habe mir den apache in der version 2.0.47 auf dem rechner über die original sourcen installiert. nun wollte ich den apache starten. er hört ja standardmäßig auf port 80. naschön wenn ich das tue erhalte ich merkwürdigerweise folgende fehlermeldung:
Code: Alles auswählen
debian:/usr/local/apache2/bin# ./apachectl start
(98)Address 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
Code: Alles auswählen
debian:/usr/local/apache2/conf# netstat --all
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:time *:* LISTEN
tcp 0 0 *:discard *:* LISTEN
tcp 0 0 *:daytime *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:977 *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
udp 0 0 *:discard *:*
udp 0 0 *:32779 *:*
udp 0 0 *:800 *:*
udp 0 0 *:971 *:*
udp 0 0 *:974 *:*
udp 0 0 *:sunrpc *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 981 /tmp/ksocket-tom/kdeinit-:0
unix 6 [ ] DGRAM 207 /dev/log
unix 2 [ ACC ] STREAM LISTENING 987 /tmp/.ICE-unix/dcop500-1063103276
unix 2 [ ACC ] STREAM LISTENING 1011 /tmp/ksocket-tom/klaunchergejDob.slave-socket
unix 2 [ ACC ] STREAM LISTENING 1094 /tmp/.ICE-unix/515
unix 2 [ ACC ] STREAM LISTENING 966 /tmp/ssh-hcrHS437/agent.437
unix 2 [ ACC ] STREAM LISTENING 317 /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 410 /tmp/.X11-unix/X64
unix 2 [ ACC ] STREAM LISTENING 704 /tmp/.X11-unix/X0
unix 5 [ ] STREAM CONNECTED 2774 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 2773
unix 3 [ ] STREAM CONNECTED 1321 /tmp/ksocket-tom/klaunchergejDob.slave-socket
unix 3 [ ] STREAM CONNECTED 1320
unix 3 [ ] STREAM CONNECTED 1291 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1290
unix 3 [ ] STREAM CONNECTED 1286 /tmp/.ICE-unix/515
unix 3 [ ] STREAM CONNECTED 1285
unix 3 [ ] STREAM CONNECTED 1284 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1283
unix 3 [ ] STREAM CONNECTED 1238 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1237
unix 3 [ ] STREAM CONNECTED 1228 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1227
unix 3 [ ] STREAM CONNECTED 1220 /tmp/.ICE-unix/515
unix 3 [ ] STREAM CONNECTED 1219
unix 3 [ ] STREAM CONNECTED 1215 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1214
unix 3 [ ] STREAM CONNECTED 1213 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1212
unix 3 [ ] STREAM CONNECTED 1207 /tmp/.ICE-unix/515
unix 3 [ ] STREAM CONNECTED 1206
unix 3 [ ] STREAM CONNECTED 1203 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1202
unix 3 [ ] STREAM CONNECTED 1201 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1200
unix 3 [ ] STREAM CONNECTED 1192 /tmp/.ICE-unix/515
unix 3 [ ] STREAM CONNECTED 1191
unix 3 [ ] STREAM CONNECTED 1187 /tmp/.ICE-unix/515
unix 3 [ ] STREAM CONNECTED 1186
unix 3 [ ] STREAM CONNECTED 1183 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1182
unix 3 [ ] STREAM CONNECTED 1181 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1180
unix 3 [ ] STREAM CONNECTED 1176 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1175
unix 3 [ ] STREAM CONNECTED 1172 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1171
unix 3 [ ] STREAM CONNECTED 1154 /tmp/.ICE-unix/515
unix 3 [ ] STREAM CONNECTED 1153
unix 3 [ ] STREAM CONNECTED 1144 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1143
unix 3 [ ] STREAM CONNECTED 1142 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1141
unix 3 [ ] STREAM CONNECTED 1120 /tmp/.ICE-unix/515
unix 3 [ ] STREAM CONNECTED 1119
unix 3 [ ] STREAM CONNECTED 1116 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1115
unix 3 [ ] STREAM CONNECTED 1114 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1113
unix 3 [ ] STREAM CONNECTED 1107 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1106
unix 3 [ ] STREAM CONNECTED 1101 /tmp/.ICE-unix/515
unix 3 [ ] STREAM CONNECTED 1100
unix 3 [ ] STREAM CONNECTED 1099 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1098
unix 3 [ ] STREAM CONNECTED 1093 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1092
unix 3 [ ] STREAM CONNECTED 1089 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1088
unix 3 [ ] STREAM CONNECTED 1082 /tmp/ksocket-tom/kdeinit-:0
unix 3 [ ] STREAM CONNECTED 1081
unix 3 [ ] STREAM CONNECTED 1070 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1069
unix 3 [ ] STREAM CONNECTED 1068 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1067
unix 3 [ ] STREAM CONNECTED 1046 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1045
unix 3 [ ] STREAM CONNECTED 1020 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 1019
unix 3 [ ] STREAM CONNECTED 1018 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1017
unix 3 [ ] STREAM CONNECTED 1005 /tmp/.ICE-unix/dcop500-1063103276
unix 3 [ ] STREAM CONNECTED 1004
unix 3 [ ] STREAM CONNECTED 999
unix 3 [ ] STREAM CONNECTED 998
unix 3 [ ] STREAM CONNECTED 722 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 714
unix 2 [ ] DGRAM 505
unix 2 [ ] DGRAM 416
unix 2 [ ] DGRAM 365
unix 2 [ ] DGRAM 252
Nun habe ich mal folgenden netstat befehl ausgeführt:
Code: Alles auswählen
debian:/home/tom# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:time *:* LISTEN
tcp 0 0 *:discard *:* LISTEN
tcp 0 0 *:daytime *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:977 *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
udp 0 0 *:discard *:*
udp 0 0 *:32779 *:*
udp 0 0 *:800 *:*
udp 0 0 *:971 *:*
udp 0 0 *:974 *:*
udp 0 0 *:sunrpc *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 981 /tmp/ksocket-tom/kdeinit-:0
unix 2 [ ACC ] STREAM LISTENING 987 /tmp/.ICE-unix/dcop500-1063103276
unix 2 [ ACC ] STREAM LISTENING 1011 /tmp/ksocket-tom/klaunchergejDob.slave-socket
unix 2 [ ACC ] STREAM LISTENING 1094 /tmp/.ICE-unix/515
unix 2 [ ACC ] STREAM LISTENING 966 /tmp/ssh-hcrHS437/agent.437
unix 2 [ ACC ] STREAM LISTENING 317 /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 410 /tmp/.X11-unix/X64
unix 2 [ ACC ] STREAM LISTENING 704 /tmp/.X11-unix/X0
okay dann hab ich versucht den apache unter einem anderen port zu starten. und siehe da, es funktioiniert ?? hää wie ist denn das möglich? ich habe folgende ports getestet:
500, 1000, 8080 und 10000.
ich habe auch den folgenden parameter in der httpd.conf probiert:
Code: Alles auswählen
BindAddress *
ich frage mich wirklich was das soll ?
über antwort würde ich mich sehr freuen
mfg
tom