Ricky Ignatius wrote: > > At 02:30 PM 1/24/2002 +0700, you wrote: > >Kelihatannya salah, lebih mirip command line dari gcc atau make. > > Bagaimana cara membenarkannya? > > >$ ps auxxwww|grep httpd > >root 996 0.0 0.0 6120 64 ? S Jan21 0:37 httpd > >nobody 10972 0.0 1.1 6216 1088 ? S Jan23 0:00 httpd > >nobody 11341 0.0 1.2 6216 1216 ? S Jan23 0:00 httpd > >nobody 31586 0.0 1.9 6216 1840 ? S 13:58 0:00 httpd > ^^^ > >supes 32170 0.0 0.4 1212 456 pts/1 S 14:16 0:00 grep httpd > > Apakah user dan group di httpd.conf diubah menjadi nobody? > Sekarang ini user dan groupnya apache.
Yang penting bukan root, kecuali yang process awal (1 process), dan pastikan user & group apache ada di /etc/passwd & /etc/group. > # lsof -i :80 > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME > httpd 1123 root 17u IPv4 1392 TCP *:http (LISTEN) > httpd 1126 root 17u IPv4 1392 TCP *:http (LISTEN) > httpd 1127 root 17u IPv4 1392 TCP *:http (LISTEN) > httpd 1128 root 17u IPv4 1392 TCP *:http (LISTEN) > httpd 1129 root 17u IPv4 1392 TCP *:http (LISTEN) > httpd 1130 root 17u IPv4 1392 TCP *:http (LISTEN) > httpd 1131 root 17u IPv4 1392 TCP *:http (LISTEN) > httpd 1132 root 17u IPv4 1392 TCP *:http (LISTEN) > httpd 1133 root 17u IPv4 1392 TCP *:http (LISTEN) Kelihatannya process sudah ada, tapi user & group yang anda taruh dalam httpd.conf belum ada/dibuat. > Tapi apakah artinya argument auxwww? Ada dijelaskan secara rinci dalam manual ps. a = ... w = ... > Maksud saya apa listen@* atau @192.168.1.10 di tambahkan di httpd.conf? Tidak. Dari output lsof di atas, listennya sudah di semua network interface (*) at port 80 (http). -- +-R-| Netscape Communicator 4.x |-H-| Powered by Linux 2.4.x |-7-+ |/v\ Agus Budy Wuysang MIS Department | | | Phone: +62-21-344-1316 ext 317 GSM: +62-816-1972-051 | +--------| http://www.rad.net.id/users/personal/s/supes |--------+ -- Utk berhenti langganan, kirim email ke [EMAIL PROTECTED] Dapatkan FAQ milis dg mengirim email kosong ke [EMAIL PROTECTED] Informasi arsip di http://www.linux.or.id/milis.php3
