Can't start system after rename a lib64 file by mistake

2009-02-09 Thread wangfeng
Dear all,

We have a zlinux machine, I rename a file under /lib64 by mistake like this:
=
#mv /lib64/tls/libc.so.6 /lib64/tls/libc.so.6.bak
=
And the system can not start after it, I'm a newbie to zlinux,anyone can give 
some solutions?
Thanks a lot!

The start log is below:

=
LOGON ***   
00: z/VM Version 5 Release 2.0, Service Level 0801 (64-bit),
00: built on IBM Virtualization Technology  
00: There is no logmsg data 
00: FILES:   NO RDR, 0001 PRT,   NO PUN 
00: RECONNECTED AT 16:29:47 ZST MONDAY 02/09/09 
00: IPL 200 CLEAR   
00: Booting default (ipl)...
Linux version 2.6.5-7.276-s390x (ge...@buildhost) (gcc version 3.3.3 (SuSE Linux
)) #1 SMP Mon Jul 24 10:45:31 UTC 2006  
We are running under VM (64 bit mode)   
On node 0 totalpages: 917504
  DMA zone: 524288 pages, LIFO batch:31 
  Normal zone: 393216 pages, LIFO batch:31  
  HighMem zone: 0 pages, LIFO batch:1   
Built 1 zonelists   
Kernel command line: root=/dev/rootvg/root selinux=0 TERM=dumb elevator=cfq BOOT
_IMAGE=0
PID hash table entries: 4096 (order 12: 65536 bytes)
CKRM Initialization 
.. Initializing ClassTypetaskclass    
.. Initializing ClassTypesocketclass  

CKRM Initialization done
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)  
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Memory: 3596032k/3670016k available (3461k kernel code, 0k reserved, 1075k data,
 116k init) 
Security Scaffold v1.0.0 initialized
SELinux:  Disabled at boot. 
Mount-cache hash table entries: 256 (order: 0, 4096 bytes)  
Detected 2 CPU's
Boot cpu address  0 
cpu 0 phys_idx=0 vers=FF ident=08530F machine=2064 unused=  
cpu 1 phys_idx=1 vers=FF ident=08530F machine=2064 unused=  
Brought up 2 CPUs   
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd 
Freeing initrd memory: 1915k freed  
khelper: max 64 concurrent processes
debug: Initialization complete  
resid is -1 name is io NULL   
CKRM .. create res clsobj for resouce ioclass taskclass par=

NET: Registered protocol family 16  
NET: Registered protocol family 2   

IP: routing cache hash table of 16384 buckets, 256Kbytes
TCP established hash table entries: 131072 (order: 9, 3145728 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536) 
VFS: Disk quotas dquot_6.5.1
Initializing Cryptographic API  
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize  
loop: loaded (max 8 devices)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Channel measurement facility using basic format (autodetected)  
NET: Registered protocol family 1   
resid is -1 name is cpu NULL  
CKRM .. create res clsobj for resouce cpuclass taskclass par=000
0

Re: Can't start system after rename a lib64 file by mistake

2009-02-09 Thread John Summerfield

wangfeng wrote:

Dear all,

We have a zlinux machine, I rename a file under /lib64 by mistake like this:
=
#mv /lib64/tls/libc.so.6 /lib64/tls/libc.so.6.bak
=
And the system can not start after it, I'm a newbie to zlinux,anyone can give 
some solutions?
Thanks a lot!


If under VM, attach the device to another virtual penguin and fix it there.

I assume you can do same sort of thing with an LPAR.

Else boot from install media and fix from there.




--

Cheers
John

-- spambait
1...@coco.merseine.nu  z1...@coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390