From: Abdullah Karim >> [Sun Mar 14 20:09:00 2004] [crit] (98)Address already in use: make_sock: >> could not bind to port 80
>coba # netstat -pln |grep LISTEN >liat siapa yg sudah pake port 80 Kalo melihat dari hasil netstat (dapet ilmu baru hehehe...) tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN 301/ tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 289/inetd tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 309/ tcp 0 0 0.0.0.0:79 0.0.0.0:* LISTEN 289/inetd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 278/ tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 289/inetd tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 289/inetd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 292/sshd tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 309/ unix 2 [ ACC ] STREAM LISTENING 308 301/ /var/run/lprng unix 2 [ ACC ] STREAM LISTENING 335 318/gpm /dev/gpmctl Kayanya nggak ada yang pakai port 80 ini kan.... >> root 289 0.0 0.2 1396 524 ? S 06:05 0:00 >> /usr/sbin/inetd >coba di matiin si inetd nya :) Siap .... bos.... kalo ngeliat dari inetd.conf caranya sih kill -HUP <pid> saya lihat pidnya dengan cara ps -aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.6 0.0 480 228 ? S 06:05 0:04 init root 2 0.0 0.0 0 0 ? SW 06:05 0:00 [keventd] root 3 0.0 0.0 0 0 ? SWN 06:05 0:00 [ksoftirqd_CPU0] root 4 0.0 0.0 0 0 ? SW 06:05 0:00 [kswapd] root 5 0.0 0.0 0 0 ? SW 06:05 0:00 [bdflush] root 6 0.0 0.0 0 0 ? SW 06:05 0:00 [kupdated] root 10 0.0 0.0 0 0 ? SW< 06:05 0:00 [mdrecoveryd] root 11 0.0 0.0 0 0 ? SW 06:05 0:00 [kreiserfsd] rpc 278 0.0 0.2 1504 564 ? S 06:05 0:00 [rpc.portmap] root 284 0.0 0.2 1424 612 ? S 06:05 0:00 /usr/sbin/syslogd root 287 0.0 0.1 1360 460 ? S 06:05 0:00 /usr/sbin/klogd -c 3 -x root 289 0.0 0.2 1396 524 ? S 06:05 0:00 /usr/sbin/inetd root 292 0.0 0.5 3044 1384 ? S 06:05 0:00 /usr/sbin/sshd lp 301 0.0 0.4 3348 1240 ? S 06:05 0:00 [lpd] root 304 0.0 0.2 1480 552 ? S 06:05 0:00 /usr/sbin/crond -l10 daemon 306 0.0 0.2 1488 652 ? S 06:05 0:00 [atd] root 309 0.0 0.5 3288 1448 ? S 06:05 0:00 [sendmail] smmsp 312 0.0 0.5 3284 1428 ? S 06:05 0:00 [sendmail] root 318 0.0 0.1 1404 472 ? S 06:05 0:00 /usr/sbin/gpm -m /dev/mouse -t ps2 root 320 0.0 0.5 2260 1292 tty1 S 06:05 0:00 -bash root 321 0.0 0.4 2256 1276 tty2 S 06:05 0:00 -bash root 322 0.0 0.1 1356 488 tty3 S 06:05 0:00 /sbin/agetty 38400 tty3 linux root 323 0.0 0.1 1356 488 tty4 S 06:05 0:00 /sbin/agetty 38400 tty4 linux root 324 0.0 0.1 1356 488 tty5 S 06:05 0:00 /sbin/agetty 38400 tty5 linux root 325 0.0 0.1 1356 488 tty6 S 06:05 0:00 /sbin/agetty 38400 tty6 linux root 376 0.0 0.3 2656 812 tty2 R 06:18 0:00 ps -aux saya coba jalankan kill -HUP 289 sepertinya tidak berpengaruh... habis masih ada sih kalau di ps -aux lagi Lalu saya coba menjadi pembunuh berdarah dingin : kill -9 289 hasilnya adalah: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 1.4 0.0 480 228 ? S 01:05 0:04 init root 2 0.0 0.0 0 0 ? SW 01:05 0:00 [keventd] root 3 0.0 0.0 0 0 ? SWN 01:05 0:00 [ksoftirqd_CPU0] root 4 0.0 0.0 0 0 ? SW 01:05 0:00 [kswapd] root 5 0.0 0.0 0 0 ? SW 01:05 0:00 [bdflush] root 6 0.0 0.0 0 0 ? SW 01:05 0:00 [kupdated] root 10 0.0 0.0 0 0 ? SW< 01:05 0:00 [mdrecoveryd] root 11 0.0 0.0 0 0 ? SW 01:05 0:00 [kreiserfsd] rpc 278 0.0 0.2 1504 564 ? S 01:05 0:00 [rpc.portmap] root 284 0.0 0.2 1424 612 ? S 01:05 0:00 /usr/sbin/syslogd root 287 0.0 0.1 1360 460 ? S 01:05 0:00 /usr/sbin/klogd -c 3 -x lp 298 0.0 0.4 3348 1240 ? S 01:05 0:00 [lpd] root 301 0.0 0.2 1480 552 ? S 01:06 0:00 /usr/sbin/crond -l10 daemon 303 0.0 0.2 1488 652 ? S 01:06 0:00 [atd] root 309 0.0 0.1 1404 472 ? S 01:06 0:00 /usr/sbin/gpm -m /dev/mouse -t ps2 root 311 0.0 0.5 2260 1316 tty1 S 01:06 0:00 -bash root 312 0.0 0.1 1356 488 tty2 S 01:06 0:00 /sbin/agetty 38400 tty2 linux root 313 0.0 0.1 1356 488 tty3 S 01:06 0:00 /sbin/agetty 38400 tty3 linux root 314 0.0 0.1 1356 488 tty4 S 01:06 0:00 /sbin/agetty 38400 tty4 linux root 315 0.0 0.1 1356 488 tty5 S 01:06 0:00 /sbin/agetty 38400 tty5 linux root 316 0.0 0.1 1356 488 tty6 S 01:06 0:00 /sbin/agetty 38400 tty6 linux root 360 0.0 0.3 2656 812 tty1 R 01:11 0:00 ps -aux Udah hilang khan ya... inetdnya. lalu saya coba # netstat -pln |grep LISTEN dah nggak ada yang berbau-bau inetdnya.... sayangnya ketika saya coba jalankan httpd start tetap saja di refused. saya coba nmap localhost lagi : Starting nmap V. 3.00 ( www.insecure.org/nmap/ ) Interesting ports on localhost (127.0.0.1): (The 1599 ports scanned but not shown below are in state: closed) Port State Service 111/tcp open sunrpc 515/tcp open printer Nmap run completed -- 1 IP address (1 host up) scanned in 2 seconds padahal sudah tinggal 2 port yang kebuka tetapi ketika dijalankan httpd start tetap saja tinggal 2 (untung tidak trek... dung.... trek.... dung tralala.... :) harusnya nambah satu lagi khan ya.... port 80 gitu... Belum berhasil Oom...... ada pencerahan lainnya? Wassalam, Newbie -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip dan info di http://linux.or.id/milis.php FAQ milis http://linux.or.id/faq.php
