삼바와 swat를 설치했는데 swat 실행이 안됩니다.
글쓴이: moonrepeat / 작성시간: 토, 2004/08/14 - 2:12오후
현재 데비안 우디 3.0r2를 설치했고 커널은 2.4.27입니다.
설치된 삼바와 swat는 아래와 같고
cucucu1:~# dpkg -l samba swat Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===========================================-===========================================-====================================================================================================== ii samba 2.2.3a-13 A LanManager like file and printer server for Unix. ii swat 2.2.3a-13 Samba Web Administration Tool
설치하자 마자 아래와 같이 포트를 활성화 하기 위해 주석처리도 제거했습니다.
cucucu1:/etc# cat inetd.conf | grep swat swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat cucucu1:/etc# cat services | grep swat swat 901/tcp # swat
제일 처음에는 swat가 잘 작동 했습니다. 그런데 갑자기 작동이 안됩니다.
참고로 아래는 저의 ps aux 한 정보입니다.
cucucu1:/etc# ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.6 0.1 1272 484 ? S 22:52 0:04 init [2] root 2 0.0 0.0 0 0 ? SW 22:52 0:00 [keventd] root 3 0.0 0.0 0 0 ? SWN 22:52 0:00 [ksoftirqd_CPU0] root 4 0.0 0.0 0 0 ? SWN 22:52 0:00 [ksoftirqd_CPU1] root 5 0.0 0.0 0 0 ? SW 22:52 0:00 [kswapd] root 6 0.0 0.0 0 0 ? SW 22:52 0:00 [bdflush] root 7 0.0 0.0 0 0 ? SW 22:52 0:00 [kupdated] root 10 0.0 0.0 0 0 ? SW 22:52 0:00 [ahc_dv_0] root 11 0.0 0.0 0 0 ? SW 22:52 0:00 [scsi_eh_0] root 12 0.0 0.0 0 0 ? SW 22:53 0:00 [i2oevtd] root 13 0.0 0.0 0 0 ? SW 22:53 0:00 [kjournald] root 84 0.0 0.0 0 0 ? SW 22:53 0:00 [kjournald] root 85 0.0 0.0 0 0 ? SW 22:53 0:00 [kjournald] root 86 0.0 0.0 0 0 ? SW 22:53 0:00 [kjournald] root 87 0.0 0.0 0 0 ? SW 22:53 0:00 [kjournald] root 88 0.0 0.0 0 0 ? SW 22:53 0:00 [kjournald] root 89 0.0 0.0 0 0 ? SW 22:53 0:00 [kjournald] root 129 0.0 0.3 2164 852 ? S 22:53 0:00 /sbin/dhclient-2.2.x -q eth0 daemon 320 0.0 0.1 1384 428 ? S 22:53 0:00 /sbin/portmap root 384 0.0 0.3 2036 780 ? S 22:53 0:00 /sbin/syslogd root 387 0.0 0.5 2096 1308 ? S 22:53 0:00 /sbin/klogd root 392 0.0 0.2 1444 692 ? S 22:53 0:00 /sbin/rpc.statd root 399 0.0 0.2 1992 708 ? S 22:53 0:00 /usr/sbin/inetd root 403 0.0 0.2 2044 744 ? S 22:53 0:00 /usr/sbin/lpd root 410 0.0 0.4 2180 1084 ? S 22:53 0:00 /bin/sh /usr/bin/safe_mysqld mysql 445 0.0 1.7 36444 4472 ? S 22:53 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 447 0.0 1.7 36444 4472 ? S 22:53 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 448 0.0 1.7 36444 4472 ? S 22:53 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 449 0.0 1.7 36444 4472 ? S 22:53 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking root 460 0.0 0.4 2712 1232 ? S 22:53 0:00 /usr/sbin/nmbd -D root 462 0.0 0.4 3560 1220 ? S 22:53 0:00 /usr/sbin/smbd -D root 468 0.0 0.4 2784 1208 ? S 22:53 0:00 /usr/sbin/sshd nobody 472 0.0 0.5 3628 1420 ? S 22:53 0:00 proftpd (accepting connections) daemon 475 0.0 0.2 1384 580 ? S 22:53 0:00 /usr/sbin/atd root 478 0.0 0.2 1652 684 ? S 22:53 0:00 /usr/sbin/cron root 482 0.0 1.1 73244 3016 ? S 22:53 0:00 /usr/sbin/apache root 485 0.0 0.1 1252 468 tty1 S 22:53 0:00 /sbin/getty 38400 tty1 root 486 0.0 0.1 1252 468 tty2 S 22:53 0:00 /sbin/getty 38400 tty2 root 487 0.0 0.1 1252 468 tty3 S 22:53 0:00 /sbin/getty 38400 tty3 root 488 0.0 0.1 1252 468 tty4 S 22:53 0:00 /sbin/getty 38400 tty4 root 489 0.0 0.1 1252 468 tty5 S 22:53 0:00 /sbin/getty 38400 tty5 root 490 0.0 0.1 1252 468 tty6 S 22:53 0:00 /sbin/getty 38400 tty6 www-data 491 0.0 1.2 73420 3204 ? S 22:53 0:00 /usr/sbin/apache www-data 492 0.0 1.2 73292 3104 ? S 22:53 0:00 /usr/sbin/apache www-data 493 0.0 1.2 73292 3104 ? S 22:53 0:00 /usr/sbin/apache www-data 494 0.0 1.1 73256 3032 ? S 22:53 0:00 /usr/sbin/apache www-data 495 0.0 1.1 73256 3032 ? S 22:53 0:00 /usr/sbin/apache www-data 497 0.0 1.1 73256 3032 ? S 22:54 0:00 /usr/sbin/apache telnetd 509 0.0 0.2 1460 696 ? S 22:56 0:00 in.telnetd: 192.168.0.2 repeat 510 0.0 0.4 2192 1200 pts/0 S 22:56 0:00 -bash root 514 0.0 0.4 2220 1248 pts/0 S 22:57 0:00 -su root 570 0.0 0.6 3740 1756 pts/0 R 23:04 0:00 ps aux
혹시 /usr/sbin/swat 파일을 실행시키면 될까 싶어서 해 봤는데 안됩니다.
제발 방법좀 알려주세요... 옛날 redhat 쓸때도 이런 경험을 한적 있습니다.... :(
Forums:
댓글 달기