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

Advice on zLinux for a systems-administrator from the x86 world

2009-02-09 Thread Erling Ringen Elvsrud
Hello list,

I work as a Linux systems administrator. Currently we have about
200 virtual (vmWare) and 40 physical linux servers. Most of these
servers are used
for WAS (Websphere appserver), a few for WPS (Websphere process server),
and a few for other uses.
My employer is condidering zLinux (on a z10 BC mainframe). I have no
experience with mainframe, z/VM or zLinux.

Can you describe how you use zLinux? What kind of software do you run
on zLinux? how many zLinux instances per IFL, how much memory?
What kind of workloads do you think realizes most economic benefits on zLinux?

If you are familiar with other virtualization alternatives, can you
compare zLinux on zVM with them? (for instance cost, performance,
simplicity of administration, etc).

Thanks,

Erling

--
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


Re: BANK OF NEW ZEALAND REDUCES CARBON FOOTPRINT WITH RED HAT ON THE MAINFRAME

2009-02-09 Thread Shawn Wells

Ceruti, Gerard G wrote:

Hi

Anyone from Bank of New Zealand or Red Hat on the list who can share the
experience ?.

http://customers.press.redhat.com/category/geography/apac/

Regards
Gerard Ceruti
may the 'z' be with you


Sure, I'll contact you off list.  I do believe the BNZ guys lurk here,
though.

--
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


Re: Advice on zLinux for a systems-administrator from the x86 world

2009-02-09 Thread CHAPLIN, JAMES (CTR)
What are you doing March 1st - 6th? Start by going to SHARE in Austin
TX. Go to
http://www.share.org/Events/UpcomingConference/tabid/349/Default.aspx
and look at the zVM and zLinux sessions. Tell the Boss that he will get
a get return on his investment of sending you to SHARE. 

Also look at http://www.linuxvm.org at a resource. Good luck, you are
making a good move.

James Chaplin
Systems Programmer, MVS, zVM  zLinux
Base Technologies, Inc
Supporting the zSeries Platform Team
Data Center Operations Branch
Enterprise Data Center Operations Group 
Enterprise Data Management  Engineering Division
Office of Information and Technology
Department of Homeland Security/U.S. Customs  Border Protection
(703) 921-6220
james.chap...@cbp.dhs.gov
-Original Message-
From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of
Erling Ringen Elvsrud
Sent: Monday, February 09, 2009 7:04 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Advice on zLinux for a systems-administrator from the x86 world

Hello list,

I work as a Linux systems administrator. Currently we have about
200 virtual (vmWare) and 40 physical linux servers. Most of these
servers are used
for WAS (Websphere appserver), a few for WPS (Websphere process server),
and a few for other uses.
My employer is condidering zLinux (on a z10 BC mainframe). I have no
experience with mainframe, z/VM or zLinux.

Can you describe how you use zLinux? What kind of software do you run
on zLinux? how many zLinux instances per IFL, how much memory?
What kind of workloads do you think realizes most economic benefits on
zLinux?

If you are familiar with other virtualization alternatives, can you
compare zLinux on zVM with them? (for instance cost, performance,
simplicity of administration, etc).

Thanks,

Erling

--
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

--
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


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


pvmove hangs

2009-02-09 Thread Sebastian Korte
Hello list!

I try to move all logical volumes which reside on a minidisk
(/dev/dasdd1) on DASD MOD9 to a minidisk (/dev/dasde1) on DASD MOD54.
/ and /boot reside on separate minidisks, the rest is LVM managed.

I can reproduce the problem with a test system:
zlinux:~ # df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/dasdc1   879M  113M  767M  13% /
udev  247M  108K  247M   1% /dev
/dev/dasdb145M   13M   30M  31% /boot
/dev/mapper/system-lvhome
  492M   33M  460M   7% /home
/dev/mapper/system-lvopt
  656M   35M  622M   6% /opt
/dev/mapper/system-lvtmp
  368M   33M  336M   9% /tmp
/dev/mapper/system-lvusr
  1.2G  563M  606M  49% /usr
/dev/mapper/system-lvvar
  876M   81M  796M  10% /var
zlinux:~ # pvscan
  PV /dev/dasdd1   VG system   lvm2 [4.57 GB / 1.09 GB free]
  PV /dev/dasde1   VG system   lvm2 [4.80 GB / 4.80 GB free]

zlinux:~ # pvmove -v /dev/dasdd1
Wiping cache of LVM-capable devices
Finding volume group system
Archiving volume group system metadata (seqno 7).
Creating logical volume pvmove0
Executing: /sbin/modprobe dm-mirror
Moving 292 extents of logical volume system/lvusr
Moving 219 extents of logical volume system/lvvar
Moving 164 extents of logical volume system/lvopt
Moving 123 extents of logical volume system/lvhome
Moving 92 extents of logical volume system/lvtmp
Found volume group system
Found volume group system
Found volume group system
Found volume group system
Found volume group system
Updating volume group metadata
Creating volume group backup /etc/lvm/backup/system (seqno 8).
Found volume group system
Found volume group system
Suspending system-lvusr (253:0)
Found volume group system
Found volume group system
Suspending system-lvvar (253:1)
Found volume group system
Found volume group system
Suspending system-lvopt (253:2)
Found volume group system
Found volume group system
Suspending system-lvhome (253:3)
Found volume group system
Found volume group system
Suspending system-lvtmp (253:4)
Found volume group system
Creating system-pvmove0
Loading system-pvmove0 table
Resuming system-pvmove0 (253:5)
  system-pvmove0: device not found
Found volume group system
Loading system-pvmove0 table
Suppressed system-pvmove0 identical table reload.
Loading system-lvusr table
Resuming system-lvusr (253:0)
Found volume group system
Loading system-pvmove0 table
Suppressed system-pvmove0 identical table reload.
Loading system-lvvar table
Resuming system-lvvar (253:1)
Found volume group system
Loading system-pvmove0 table
Suppressed system-pvmove0 identical table reload.
Loading system-lvopt table
Resuming system-lvopt (253:2)
Found volume group system
Loading system-pvmove0 table
Suppressed system-pvmove0 identical table reload.
Loading system-lvhome table
Resuming system-lvhome (253:3)
Found volume group system
Loading system-pvmove0 table
Suppressed system-pvmove0 identical table reload.
Loading system-lvtmp table
Resuming system-lvtmp (253:4)
Checking progress every 15 seconds
  /dev/dasdd1: Moved: 5.5%
  /dev/dasdd1: Moved: 10.8%
  /dev/dasdd1: Moved: 16.1%
  /dev/dasdd1: Moved: 21.3%
  /dev/dasdd1: Moved: 26.5%
  /dev/dasdd1: Moved: 31.9%
  /dev/dasdd1: Moved: 32.8%
Updating volume group metadata
Creating volume group backup /etc/lvm/backup/system (seqno 9).
Found volume group system
Found volume group system
Suspending system-lvusr (253:0)
Suspending system-pvmove0 (253:5)
Found volume group system
Found volume group system
Suspending system-lvvar (253:1)
Found volume group system
Found volume group system
Suspending system-lvopt (253:2)
Found volume group system
Found volume group system
Suspending system-lvhome (253:3)
Found volume group system
Found volume group system
Suspending system-lvtmp (253:4)
Found volume group system
Found volume group system
Found volume group system
Loading system-pvmove0 table
Resuming system-pvmove0 (253:5)
(here the output stops)

Now the system freezes slowly: sshd still gives a login-prompt, but if
I enter the password no login is possible. Other open ssh sessions
freeze are working until I enter a command. After a few minutes sshd
doesn't answer any more. If I reboot the system it doesn't comes up,
because the pvmove is restartet during the boot and the system freezes
again.

I can rescue the system with a few steps: IPL into CMS, detach a LVM
managed minidisk, boot the guest which doesn't comes up (Give root
password to login), edit the fstab with ed and delete all mounts
with LVM volumes, attach the minidisk again and reboot. The system
comes up and pvmove starts to work 

Re: pvmove hangs

2009-02-09 Thread Dan Horák
Sebastian Korte píše v Po 09. 02. 2009 v 15:20 +0100:
 Hello list!
 
 I try to move all logical volumes which reside on a minidisk
 (/dev/dasdd1) on DASD MOD9 to a minidisk (/dev/dasde1) on DASD MOD54.
 / and /boot reside on separate minidisks, the rest is LVM managed.
 

IMHO it is not arch or distro specific. It looks exactly like as
https://bugzilla.redhat.com/show_bug.cgi?id=193330 and the LVM
developers are keen for somebody with a reproducer.

 I can reproduce the problem with a test system:
 zlinux:~ # df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/dasdc1   879M  113M  767M  13% /
 udev  247M  108K  247M   1% /dev
 /dev/dasdb145M   13M   30M  31% /boot
 /dev/mapper/system-lvhome
   492M   33M  460M   7% /home
 /dev/mapper/system-lvopt
   656M   35M  622M   6% /opt
 /dev/mapper/system-lvtmp
   368M   33M  336M   9% /tmp
 /dev/mapper/system-lvusr
   1.2G  563M  606M  49% /usr
 /dev/mapper/system-lvvar
   876M   81M  796M  10% /var
 zlinux:~ # pvscan
   PV /dev/dasdd1   VG system   lvm2 [4.57 GB / 1.09 GB free]
   PV /dev/dasde1   VG system   lvm2 [4.80 GB / 4.80 GB free]
 
 zlinux:~ # pvmove -v /dev/dasdd1
 Wiping cache of LVM-capable devices
 Finding volume group system
 Archiving volume group system metadata (seqno 7).
 Creating logical volume pvmove0
 Executing: /sbin/modprobe dm-mirror
 Moving 292 extents of logical volume system/lvusr
 Moving 219 extents of logical volume system/lvvar
 Moving 164 extents of logical volume system/lvopt
 Moving 123 extents of logical volume system/lvhome
 Moving 92 extents of logical volume system/lvtmp
 Found volume group system
 Found volume group system
 Found volume group system
 Found volume group system
 Found volume group system
 Updating volume group metadata
 Creating volume group backup /etc/lvm/backup/system (seqno 8).
 Found volume group system
 Found volume group system
 Suspending system-lvusr (253:0)
 Found volume group system
 Found volume group system
 Suspending system-lvvar (253:1)
 Found volume group system
 Found volume group system
 Suspending system-lvopt (253:2)
 Found volume group system
 Found volume group system
 Suspending system-lvhome (253:3)
 Found volume group system
 Found volume group system
 Suspending system-lvtmp (253:4)
 Found volume group system
 Creating system-pvmove0
 Loading system-pvmove0 table
 Resuming system-pvmove0 (253:5)
   system-pvmove0: device not found
 Found volume group system
 Loading system-pvmove0 table
 Suppressed system-pvmove0 identical table reload.
 Loading system-lvusr table
 Resuming system-lvusr (253:0)
 Found volume group system
 Loading system-pvmove0 table
 Suppressed system-pvmove0 identical table reload.
 Loading system-lvvar table
 Resuming system-lvvar (253:1)
 Found volume group system
 Loading system-pvmove0 table
 Suppressed system-pvmove0 identical table reload.
 Loading system-lvopt table
 Resuming system-lvopt (253:2)
 Found volume group system
 Loading system-pvmove0 table
 Suppressed system-pvmove0 identical table reload.
 Loading system-lvhome table
 Resuming system-lvhome (253:3)
 Found volume group system
 Loading system-pvmove0 table
 Suppressed system-pvmove0 identical table reload.
 Loading system-lvtmp table
 Resuming system-lvtmp (253:4)
 Checking progress every 15 seconds
   /dev/dasdd1: Moved: 5.5%
   /dev/dasdd1: Moved: 10.8%
   /dev/dasdd1: Moved: 16.1%
   /dev/dasdd1: Moved: 21.3%
   /dev/dasdd1: Moved: 26.5%
   /dev/dasdd1: Moved: 31.9%
   /dev/dasdd1: Moved: 32.8%
 Updating volume group metadata
 Creating volume group backup /etc/lvm/backup/system (seqno 9).
 Found volume group system
 Found volume group system
 Suspending system-lvusr (253:0)
 Suspending system-pvmove0 (253:5)
 Found volume group system
 Found volume group system
 Suspending system-lvvar (253:1)
 Found volume group system
 Found volume group system
 Suspending system-lvopt (253:2)
 Found volume group system
 Found volume group system
 Suspending system-lvhome (253:3)
 Found volume group system
 Found volume group system
 Suspending system-lvtmp (253:4)
 Found volume group system
 Found volume group system
 Found volume group system
 Loading system-pvmove0 table
 Resuming system-pvmove0 (253:5)
 (here the output stops)
 
 Now the system freezes slowly: sshd still gives a login-prompt, but if
 I enter the password no login is possible. Other open ssh sessions
 freeze are working until I enter a command. After a few minutes sshd
 doesn't answer any more. If I reboot the system it doesn't comes up,
 because the pvmove 

2009-02-09 Linux on System z Documentation update on developerWorks

2009-02-09 Thread Gerhard Hiller
Please refer to:
http://www.ibm.com/developerworks/linux/linux390/whatsnew.html
... for the 2009-02-09 change summary:

-   New Web 2.0 papers for:
   Novell SUSE SLES10 SP2
   Red Hat RHEL5.2

* end of message



Mit freundlichen Grüßen / Kind regards








Gerhard Hiller








Systems Software Management


IBM Systems Technology Group, Systems Software Development








Phone:
 +49-7031-16-4388
 IBM Deutschland



Fax:
 +49-7031-16-3545
 Schoenaicher Str. 220


E-Mail:
 ghil...@de.ibm.com
 71032 Boeblingen




 Germany





IBM Deutschland Research  Development GmbH / Vorsitzender des 
Aufsichtsrats: Martin Jetter 
Geschäftsführung: Erich Baier 
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, 
HRB 243294 
 

image/gifimage/gifimage/gifimage/gifimage/gifimage/gifimage/gif

Re: LINUX-390 Digest - 6 Feb 2009 to 7 Feb 2009 (#2009-37)

2009-02-09 Thread Mike Walter
For years, in the era of PROFS, I said of typical CMS users: If it's not
on a PFkey, it doesn't exist!

So this is an obvious analogy... if it doesn't connect to MVS, OS/ESA,
OS/390, z/OS it doesn't exist.

FBA... change you could have believed in.   But change is hard... and
expensive.  Yet in hindsight...

Mike Walter
Hewitt Associates
Any opinions expressed herein are mine alone and do not necessarily
represent
the opinions or policies of Hewitt Associates.

In reply to:
--

Date:Sat, 7 Feb 2009 12:23:42 -0500
From:Rick Troth r...@casita.net
Subject: Re: Formatting 60 mod9s

Of course ... if IBM still sold FBA channel attached storage,
there would be no formatting required (in the low level sense).


I had to.  I had to say it.  Blame Poughkeepsie.


-- R;   



The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail.

--
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


Re: pvmove hangs

2009-02-09 Thread Mark Post
 On 2/9/2009 at  9:20 AM, Sebastian Korte zlinu...@gmail.com wrote: 
 Hello list!
 
 I try to move all logical volumes which reside on a minidisk
 (/dev/dasdd1) on DASD MOD9 to a minidisk (/dev/dasde1) on DASD MOD54.
 / and /boot reside on separate minidisks, the rest is LVM managed.
-snip-
 Now the system freezes slowly
-snip-
 The system
 comes up and pvmove starts to work again: (lvm2copyd)-a y After
 pvmove is ready I replace the fstab with its original and reboot.
 Voila, here we go again.

Try using pvmove --abort to kill the move in progress.

This looks very similar to https://bugzilla.novell.com/show_bug.cgi?id=473309 
pvmove freezes system that was just opened recently.  I would suggest opening 
up a service request with your service provider.


Mark Post

--
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


Re: LINUX-390 Digest - 6 Feb 2009 to 7 Feb 2009 (#2009-37)

2009-02-09 Thread Harder, Pieter
Well, the battle is over, and guess what, FBA won. SCSI/SAS/SATA is 
basically all FBA. Wonder what would have happened if IBM hat shut up 
Poughkeepsie. Would the world have moved off mainframes in the way it has?

Best regards,
Pieter Harder

pieter.har...@brabantwater.nl
tel  +31-73-6837133 / +31-6-47272537

-Oorspronkelijk bericht-
Van: Linux on 390 Port [mailto:linux-...@vm.marist.edu] Namens Mike Walter
Verzonden: maandag 9 februari 2009 18:05
Aan: LINUX-390@VM.MARIST.EDU
Onderwerp: Re: LINUX-390 Digest - 6 Feb 2009 to 7 Feb 2009 (#2009-37)

For years, in the era of PROFS, I said of typical CMS users: If it's not
on a PFkey, it doesn't exist!

So this is an obvious analogy... if it doesn't connect to MVS, OS/ESA,
OS/390, z/OS it doesn't exist.

FBA... change you could have believed in.   But change is hard... and
expensive.  Yet in hindsight...

Mike Walter
Hewitt Associates
Any opinions expressed herein are mine alone and do not necessarily
represent
the opinions or policies of Hewitt Associates.

In reply to:
--

Date:Sat, 7 Feb 2009 12:23:42 -0500
From:Rick Troth r...@casita.net
Subject: Re: Formatting 60 mod9s

Of course ... if IBM still sold FBA channel attached storage,
there would be no formatting required (in the low level sense).


I had to.  I had to say it.  Blame Poughkeepsie.


-- R;   



The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail.

--
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

Brabant Water N.V.
Postbus 1068
5200 BC  's-Hertogenbosch
http://www.brabantwater.nl
Handelsregister: 16005077

--
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


question on TCPIP|RHEL|JAVA|TOMCAT

2009-02-09 Thread John McKown
We had a problem today with a Tomcat application on RHEL (admittedly on
Intel). This application asks for a person's userid and password. It then
validates these via LDAP. The LDAP server is our Windows AD. The URL used
actually has 5 IP addresses returned. The application always uses the same
IP address and only that IP address. It ignores the other 4 entirely as
best as we can tell. I have been told that the IP which it uses is the
closest one. I can tell from the IP address, that it is on a different
subnet from the others, so I guess that is closest. Today, that AD
server simply did not respond correctly. netstat showed a status of
SYN_SENT and the application eventually timed out with an error message
to that effect. It never tried any of the alternatives. We eventually had
to point the application to a single, specific, Windows AD box. It then
began to work.

Now my question: Is it normal for a Java application running under Tomcat6
to always use the closest IP address? Is this caused by: (1) the code in
the application (which is close sourced, so I can't look at it); (2) the
way that Java (JDNI?) works?; (3) The way that the TCPIP stack on Linux
works?

If there is a better forum for this type of question, please tell me. I
know Linux fairly well in my home LAN environment, which is Linux only.
I know how to gen kernels and other things. But Enterprise Level LAN only
confuse me. And I can't touch ours anyway (thanks be to God!).

--
Q: What do theoretical physicists drink beer from?
A: Ein Stein.

Maranatha!
John McKown

--
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


RHEL 5.2 Native LPAR install problem: Anaconda reports rpm 'corruption' error when attempting to install first package

2009-02-09 Thread bruce woodley
I am a newbie to Linux on z, but I have been given the go-ahead to install a
linux on z system subject to the constraints:
1) I keep it quiet to avoid offending our Solaris admins
2) do not invite fee-charging external consultants
3) not not install z/VM
4) do not compromise the integrity of existing Mainframe-based systems

I work for a retail company in England, and I have proposed making use of
our normally idle Disaster Recovery mainframe (a z990 3-x model) to install
either Suse or Red Hat Linux distributions.


I/we elected to use the Native LPAR install method, using the tape loader
and install DVD inserted into the HMC.
Native LPAR because we do not (currently!) have z/VM, and
tape loader (tapeipl.ikr, parmfile, etc on a cart), followed by installing
packages on the DVD within the HMC, because our D/R network is isolated so
that I can't access a suitable server.

(The Suse SLES10 SP1/SP2 install failed because of mismatch between the
TAPEIPL modules and the memory resident INITRD file system. I guess no one
at Suse/Novell thought anyone would install via a TAPEIPL in an native LPAR,
so did not test it... :-( )

So I tried RHEL 5.2 which looked much more promising...

RHEL 5.2 booted off the tape, and I specified the configuration paramteer
values, and then Anaconda install intialised itself.

However during the very first rpm package install of
system-config-services-0.9.4-1.e15.noarch.rpm, the following error message
dialog box is displayed:
Package Installation
 Error
The file system-config-services-0.9.4-1.e15.noarch.rpm cannot be opened.
This is due to a missing file, a corrupt package, or a missing header
Please verify your installation source..
etc.
REBOOT   RETRY

Now, I regestered myself on  the Red Hat site, and downloaded a trial copy
of their distro.
I have noted the Installation Number, and I believe I have entered it in
correctly when I tried the install.

I have also been meticulous in checking the accurary of the DVD image when I
downloaded it (to a Windows Vista PC)

MD5 Verification:Run md5sum *.iso

I used Windows-Vista  Roxio CD/DVD burner to burn the ISO image to a DVD..


I have tried running through the RHEL 5.1 install several times, specifying
different install packages, but rpm validity checking always fails when
attempting to install system-config-services (which I guess is always the
1st package to install).


I am at a loss to work out what the most likely cause of this error is:

1) invalid entering of Instalation Number (does rpm use this unique key?),

2) invalid or corrupt DVD (I would have thought unlikely, given that I
successfully extracted tapeipl.ikr and Initrd etc off it).

3) newbie ingnorance (a most likely cause?!)

I have *not* contacted Red Hat support directly, because I may get billed,
or an enterprising salesman may come knocking on my Department Managers
door.


In order to generate some interest in Linux on a Mainframe, I have to
demonstrate what is possible without resorting to:

additional software (z/VM), or

additional costs (experienced consultants).

Both software and consultants can come later - once I have generated
sufficient interest by demonstrating a real system.


I am submitting this post in the hope that a more experienced individual may
provide me with some pointers that will help me make a success of Linux on
Mainframe!


Regards

Rapp

--
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


Re: RHEL 5.2 Native LPAR install problem: Anaconda reports rpm 'corruption' error when attempting to install first package

2009-02-09 Thread Jack Woehr

bruce woodley wrote:

Package Installation
 Error
The file system-config-services-0.9.4-1.e15.noarch.rpm cannot be opened.
This is due to a missing file, a corrupt package, or a missing header
Please verify your installation source..
etc.
REBOOT   RETRY





One think you could check is whether or not the file
system-config-services-0.9.4-1.e15.noarch.rpm
is or is not present anywhere on the DVD. If it is not you can probably
find it somewhere and compose
yourself a new ISO with the missing file present.

--
Jack J. Woehr# I run for public office from time to time. It's like
http://www.well.com/~jax # working out at the gym, you sweat a lot, don't get
http://www.softwoehr.com # anywhere, and you fall asleep easily afterwards.

--
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


Re: RHEL 5.2 Native LPAR install problem: Anaconda reports rpm 'corruption' error when attempting to install first package

2009-02-09 Thread rapp0...@googlemail.com
Hi Jax!
That was quick - I was anticipating a turn-around time of 24 hours or so!

I believe that we did find this rpm directory on the DVD, (along with many
others), but we were not able to rpm -V it because we do not have any linux
(of any distro on any platform) at work.

However, I have been given a Solaris Live CD (by the Solaris admins!),but I
do not think Sun use rpm packaging method, so I do not think that this would
help me.

On my Fedora system at home, I do not have a DVD drive, so I cant rpm -V
there.


I will pass on your response to some mainframers within my team at work, and
see if we can see a way forward.

regards
rapp01




On Tue, Feb 10, 2009 at 6:16 AM, Jack Woehr j...@well.com wrote:

 bruce woodley wrote:

 Package Installation
 Error
 The file system-config-services-0.9.4-1.e15.noarch.rpm cannot be opened.
 This is due to a missing file, a corrupt package, or a missing header
 Please verify your installation source..
 etc.
 REBOOT   RETRY




  One think you could check is whether or not the file
 system-config-services-0.9.4-1.e15.noarch.rpm
 is or is not present anywhere on the DVD. If it is not you can probably
 find it somewhere and compose
 yourself a new ISO with the missing file present.

 --
 Jack J. Woehr# I run for public office from time to time. It's
 like
 http://www.well.com/~jax http://www.well.com/%7Ejax # working out at the
 gym, you sweat a lot, don't get
 http://www.softwoehr.com # anywhere, and you fall asleep easily
 afterwards.

 --
 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


--
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


Re: RHEL 5.2 Native LPAR install problem: Anaconda reports rpm 'corruption' error when attempting to install first package

2009-02-09 Thread Alan Altmark
On Tuesday, 02/10/2009 at 01:10 EST, bruce woodley
rapp0...@googlemail.com wrote:

 I have also been meticulous in checking the accurary of the DVD image
when I
 downloaded it (to a Windows Vista PC)

 MD5 Verification:Run md5sum *.iso

 I used Windows-Vista  Roxio CD/DVD burner to burn the ISO image to a
DVD.

 I have tried running through the RHEL 5.1 install several times,
specifying
 different install packages, but rpm validity checking always fails when
 attempting to install system-config-services (which I guess is always
the
 1st package to install).

IIRC, Windows doesn't support some of the DVD extensions used by Linux,
particularly if the filesystem has symbolic links in it.  Try putting the
DVD in a Linux or other Unix FTP server.

Alan Altmark
z/VM Development
IBM Endicott

--
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