Re: PHP5 problem

2011-01-18 Thread Damian Gallagher
That looks like the Oracle Call Interface library - it comes with the Database 
or the Instant Client, and there's a bunch of configuration and path stuff to 
do to make sure it gets picked up. 

Searching for oci8.so or PHP+Oracle in a well known search engine provides a 
number of references that you can use to validate your current environment and 
check the configuration

Cheers
Damian
-Original Message-
From: leandro bianco [mailto:leandro.bia...@gmail.com] 
Sent: 17 January 2011 18:54
To: LINUX-390@vm.marist.edu
Subject: PHP5 problem

Unfortunately I inherited this environment from the previous sysadmin
and do not know much about the origin of the OCI module that I guess
it was compiled.
I wanted to know if it was possible to avoid compiling in order to
better preserve the environment for future updates or at least what
could be the way to make the environment easier to manage as much as
possible

Thank you for your attention
Leandro



Re: PHP5 problem

Mark Post
Fri, 14 Jan 2011 11:58:50 -0800

 On 1/14/2011 at 11:40 AM, leandro bianco leandro.bia...@gmail.com wrote:
 Hi all i have a problem with php5 on oci8 on
 zSeries  SUSE SLES10 SP3   kernel   2.6.16.60-0.74.7 .
 I need to use php with oci8.so.
 Upgading php at level 5.2.14 oci8 are not more loaded.
 Looking at apache error log i can see this error:
 PHP Warning:  PHP Startup: Unable to load dynamic library
 '/usr/lib64/php5/extensions/oci8.so' - /usr/lib64/php
 5/extensions/oci8.so: undefined symbol: OnUpdateInt in Unknown on line 0

 Since we don't ship anything named oci8.so with SLES (or the SDK), I have to
assume that you got the library from somewhere else, or built it yourself.  V
Have you tried rebuilding it, or getting an updated copy?


Mark Post



--
Keep in mind that we didn't develop GNU for the sake of having it be
used by businesses. We welcome businesses to use it, and everybody,
every user of computers should be free to study and change and
redistribute software, all the software they use, and that includes
businesses, if they're using computers. But we don't give any
particular priority to businesses.
- Richard Stallman

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Advice on setting up minidisks

2011-01-18 Thread Ron Foster at Baldor-IS

Everyone,

Thanks for all the advice.

Ron

On 1/13/2011 2:23 PM, Mauro Souza wrote:

On the new projects I work with, we try to allocate mod-3s and mod-9s to zVM
and to Linux filesystem (var, home, usr, etc and so...), and use FCP disks
to everything else, like Oracle databases, webserver logs, NFS area, and
everything it's supposed to grow a lot in the future.

Troubleshooting zVM and Linux installed on 3390 is way easier for me (and
for almost every zVM guy) than on FCP. And creating 600GB of storage area in
3390-3 disks is not a pleasant task... So we mix them.

Mauro
http://mauro.limeiratem.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


On Thu, Jan 13, 2011 at 5:41 PM, Ron Foster at Baldor-ISrfos...@baldor.com

wrote:
Hello list,

This may have been discussed before...

Way back in deep dark ancient history, we used the Redbook to get
started with Linux under z/VM.  As a result, we carved up our storage
subsystem in to a bunch of mod3 drives.  We put a few mod 9 drives in
the mix.

We added drives to a guest in standard chunks.  That is when storage was
needed by a Linux system, we added a mod9 or mod3 to it.

When that Shark went off lease and we moved to a DS8000, we pretty well
kept the same philosophy.  Only we added a bunch more mod3 and mod 9
drives.

We are a SAP shop and any large databases reside in DB2 on z/OS.  There
are a few large file systems on 3 or 4 of our Linux systems, but for the
most part the drives attached to a Linux system go something like this.
A boot drive.  One to several mod3 drives for swapping (the appropriate
ones have vdisks).  One to several mod3 or mod9 drives for the SAP code
and local files.

We are moving our production drives.  We finally have gotten our
production Linux systems where about half or do very little swapping.

We do not have dirmaint, so we keep up with disk allocations with
dirmaint and a spreadsheet.

Now time has come to migrate to another storage system.  I was wondering
what other folks do.

1. Do they have a whole bunch of mod9 and mod3 drives that they allocate
to their guests?

2. Do they take mod27 drives (someone at SHARE warned me about taking
mod54 drives) and use mdisk to carve them up into something smaller.

Any input would be appreciated.

Thanks,
Ron Foster

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/
.



--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Multicast use on a Linux server

2011-01-18 Thread Marcy Cortes
Hello, 

General Linux question here...

Is there a way to tell all the multicast addresses are particular server might 
be using?



Marcy 

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Multicast use on a Linux server

2011-01-18 Thread Alan Altmark
On Tuesday, 01/18/2011 at 04:52 EST, Marcy Cortes
marcy.d.cor...@wellsfargo.com wrote:

 Is there a way to tell all the multicast addresses are particular server
might
 be using?

If the server is using a virtual NIC on z/VM, you can query the NIC (or
QUERY VSWITCH DETAILS) and and see the registered MAC (layer 2) and IP
addrs (layer 3).

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training
ibm.com/systems/services/labservices
office: 607.429.3323
alan_altm...@us.ibm.com
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
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Multicast use on a Linux server

2011-01-18 Thread Scott Rohling
Just poking around /proc/net I see /proc/net/dev_mcast ..   it seems to
correspond to the multicast addresses I see in Q VSWITCH DETAILS..

Scott Rohling

On Tue, Jan 18, 2011 at 2:49 PM, Marcy Cortes marcy.d.cor...@wellsfargo.com
 wrote:

 Hello,

 General Linux question here...

 Is there a way to tell all the multicast addresses are particular server
 might be using?



 Marcy

 --
 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 more information on Linux on System z, visit
 http://wiki.linuxvm.org/


--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Multicast use on a Linux server

2011-01-18 Thread Philip Rowlands

On 18/01/2011 21:49, Marcy Cortes wrote:

Hello,

General Linux question here...

Is there a way to tell all the multicast addresses are particular server might 
be using?


# netstat --groups

or

# ip maddress show

will show which addresses a host is using.


Cheers,
Phil

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Multicast use on a Linux server

2011-01-18 Thread Marcy Cortes
Thanks Scott, Philip, and Alan,

That gives me enough info.
Curious though how to map the mac addr to the IP from Linux itself?  They don't 
show up in arp -n  .  Would one check at the router?


cdztv17142:~ # netstat -gn(-n being more needed 
to avoid the dummy dns names it seems to use).
IPv6/IPv4 Group Memberships
Interface   RefCnt Group
--- -- -
lo  6  224.0.75.75
lo  1  224.0.0.1
eth03  231.12.10.100
eth02  232.133.104.73
eth06  224.0.75.75
eth03  231.12.10.120
eth01  224.0.0.1
lo  1  ff02::1
eth01  ff02::1:ff00:1d
eth01  ff02::1
cdztv17142:~ # ip maddress show
1:  lo
inet  224.0.75.75 users 6
inet  224.0.0.1
inet6 ff02::1
3:  eth0
link  01:00:5e:0c:0a:64
link  01:00:5e:05:68:49
link  01:00:5e:00:4b:4b
link  01:00:5e:0c:0a:78
link  01:00:5e:00:00:01
link  33:33:ff:00:00:1d
link  33:33:00:00:00:01
inet  231.12.10.100 users 3
inet  232.133.104.73 users 2
inet  224.0.75.75 users 6
inet  231.12.10.120 users 3
inet  224.0.0.1
inet6 ff02::1:ff00:1d
inet6 ff02::1

cdztv17142:~ # vmcp q nic details
Adapter 3000.P00 Type: QDIO  Name: UNASSIGNED  Devices: 3
  MAC: 02-00-0E-00-00-1D VSWITCH: SYSTEM TEEVSW2
  RX Packets: 16796364   Discarded: 0  Errors: 0
  TX Packets: 16719487   Discarded: 0  Errors: 0
  RX Bytes: 3939902212   TX Bytes: 3213555193
  Connection Name: HALLOLE   State: Session Established
  Device: 3000  Unit: 000   Role: CTL-READ
  Device: 3001  Unit: 001   Role: CTL-WRITE
  Device: 3002  Unit: 002   Role: DATA   vPort: 0089  Index: 0089
  VLAN: 0770
  Options: Ethernet Broadcast
Unicast MAC Addresses:
  02-00-0E-00-00-1D
Multicast MAC Addresses:
  01-00-5E-00-00-01
  01-00-5E-00-4B-4B
  01-00-5E-05-68-49
  01-00-5E-0C-0A-64
  01-00-5E-0C-0A-78
  33-33-00-00-00-01
  33-33-FF-00-00-1D


Marcy

--
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/