View Single Post

   
  #5 (permalink)  
Old 01-05-2008, 03:25 AM
Lothar Krauss
 
Posts: n/a
Default Re: /bin get deleted

ColdMan wrote:

> One of mu users accidently deleted the /bin directory and now nobody can
> telnet to it. Pls advise how can I recover it as there is no mksysb backup
> on this server.


maybe you can connect to this server with ftp. Than you can create a
directory /bin, get /usr/bin/ksh, put it to /bin/ksh and set execute rights
for /bin/ksh. Than you should be able to connect with telnet, remove the
newly created directory /bin and recreate the symbolic link /bin
-> /usr/bin

Next you have to check if the symbolic links /lib -> /usr/lib, /u -> /home
and /unix -> /usr/lib/boot/unix_mp (or unix_up if you have a single
processor machine) exists. If not you have to create them also (maybe the
user entered a "rm *").

Lothar

Reply With Quote