[root@assa root]# ls -l /etc/rc.d/init.d/sshd
-rwxr-xr-x 1 root root 2647 Oct 28 12:13 /etc/rc.d/init.d/sshd
[root@assa root]# chkconfig --del sshd
no error....
[root@assa root]# rm -f /etc/rc.d/init.d/sshd
[root@assa root]# chkconfig --del sshd
error reading information on service sshd: No such file or directory
/etc/rc.d/init.d/sshd 파일이 삭제된 것 같군요...
참고하세요.
: 계속 이런오류가 발생을 하는군요
: 좀 도와주세요
:
:
: [root@kinet ssh2]# rpm -Uvh ssh2-3.2.0-1kr.i686.rpm
: Preparing... ########################################### [100%]
: 1:ssh2 ########################################### [100%]
: Generating 1024 bit host key. This may take a while, go and have a
: coffee ;)
: Generating 1024-bit dsa key pair
: 2 Ooo.oOo.oOo.
: Key generated.
: 1024-bit dsa hostkey
: Private key saved to /etc/ssh2/hostkey
: Public key saved to /etc/ssh2/hostkey.pub
:
: [root@kinet ssh2]# rpm -Uvh ssh2-server-3.2.0-1kr.i686.rpm
: Preparing... ########################################### [100%]
: 1:ssh2-server ########################################### [100%]
: executing: chkconfig --del sshd
: error reading information on service sshd: No such file or directory
:
: [root@kinet ssh2]# rpm -Uvh ssh2-clients-3.2.0-1kr.i686.rpm
: error: failed dependencies:
: libpamc.so.0 is needed by ssh2-clients-3.2.0-1kr
:
: [root@kinet ssh2]# rpm -Uvh ssh2-extras-3.2.0-1kr.i686.rpm
: Preparing... ########################################### [100%]
: 1:ssh2-extras ########################################### [100%]
:
: [root@kinet ssh2]#