REXEC / RSH
Does anyone have any experience running remote linux commands from MVS batch? I have found that MVS TSO has REXEC and RSH, but I am been unsuccessful executing a remote command on linux. I can use rexec/rsh from one linux system to another, but not from MVS. Any help on using these commands, or other suggestions on how to execute remote commands will be much appreciated. Russell Jones ANPAC -- 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: PHP to DB2 connection
I have downloaded the SUSE 10 source and I see a bunch of src.rpm files but I do not see any .spec files that you mentioned previously. Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Thursday, August 27, 2009 2:45 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: PHP to DB2 connection On 8/27/2009 at 12:56 PM, Jones, Russell russell.jo...@anpac.com wrote: How do I get the Novell RPM source? Web site? Installation CD? I'm not sure I'll know it when I see it. http://www.novell.com/linux/source/ 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 -- 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: PHP to DB2 connection
How do I get the Novell RPM source? Web site? Installation CD? I'm not sure I'll know it when I see it. Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, August 26, 2009 5:03 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: PHP to DB2 connection On 8/26/2009 at 5:00 PM, Jones, Russell russell.jo...@anpac.com wrote: -snip- I am not sure where to start creating my own rpm. Is there somewhere I could download a prepackaged php rmp with DB2 support for ZLinux? How about using the source RPM from Novell, and modifying the php5.spec file to add what you want? After tjat. rpmbuild would be the next step. 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 -- 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: PHP to DB2 connection
I found the source at www.novell.com/linux/scource. It will take a few hours to download the DVD iso. Hopefull I will be able to figure out how to change the php config options and remake the rmp. Thanks for your help. Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Gregg C Levine Sent: Thursday, August 27, 2009 12:40 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: PHP to DB2 connection Hello! Mark Post is probably the best fellow here to properly answer that one, but here goes: When you installed your Linux instance, how many CDs or DVDs were involved in the process? Typically the source code rides on the very last one, and installation notes normally tell the user (or programmer or systems administrator) not to install that one. I believe however that the source RPM files are available for download from an FTP site, or via the company website, but I could definitely be wrong with these assertions. -- Gregg C Levine hansolofal...@worldnet.att.net The Force will be with you always. Obi-Wan Kenobi -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Jones, Russell Sent: Thursday, August 27, 2009 12:56 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] PHP to DB2 connection How do I get the Novell RPM source? Web site? Installation CD? I'm not sure I'll know it when I see it. Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, August 26, 2009 5:03 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: PHP to DB2 connection On 8/26/2009 at 5:00 PM, Jones, Russell russell.jo...@anpac.com wrote: -snip- I am not sure where to start creating my own rpm. Is there somewhere I could download a prepackaged php rmp with DB2 support for ZLinux? How about using the source RPM from Novell, and modifying the php5.spec file to add what you want? After tjat. rpmbuild would be the next step. 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 -- 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
PHP to DB2 connection
Has anyone been successful at connecting to DB2 from PHP? The research I have done indicates that I will need to compile php from source with DB2 support. I have found instructions on how to download the source, run the configure, and makefile, but I am running SUSE 10 which uses rpms. I am thinking that I need to create a new php rpm, and install it that way. I am not sure where to start creating my own rpm. Is there somewhere I could download a prepackaged php rmp with DB2 support for ZLinux? Am I even on the right track? Thanks for your help, Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com -- 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
OSA config on new machine
I am moving one of my SUSE 10 images to a different machine where the OSA has a different hardware address. We do not have VM (very sad, I know). The address will be changing from f840 to b708, the name will change from GIGPORT1 to OSAEGA0 and the IP will go from 10.5.100.31 to 10.50.40.121 I have renamed /etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.f840 to etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.b708 and changed: STARTMODE='auto' MODULE='qeth' MODULE_OPTIONS='' MODULE_UNLOAD='yes' SCRIPTUP='hwup-ccw' SCRIPTUP_ccw='hwup-ccw' SCRIPTUP_ccwgroup='hwup-qeth' SCRIPTDOWN='hwdown-ccw' CCW_CHAN_IDS='0.0.f840 0.0.f841 0.0.f842' CCW_CHAN_NUM='3' CCW_CHAN_MODE='GIGPORT1' QETH_LAYER2_SUPPORT='0' LCS_LANCMD_TIMEOUT='' QETH_IPA_TAKEOVER='0' QETH_OPTIONS='' TO STARTMODE='auto' MODULE='qeth' MODULE_OPTIONS='' MODULE_UNLOAD='yes' SCRIPTUP='hwup-ccw' SCRIPTUP_ccw='hwup-ccw' SCRIPTUP_ccwgroup='hwup-qeth' SCRIPTDOWN='hwdown-ccw' CCW_CHAN_IDS='0.0.b708 0.0.b709 0.0.b70E' CCW_CHAN_NUM='3' CCW_CHAN_MODE='OSAEGA0' QETH_LAYER2_SUPPORT='0' LCS_LANCMD_TIMEOUT='' QETH_IPA_TAKEOVER='0' QETH_OPTIONS='' I also renamed /etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.f840 to /etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.b708 and changed BOOTPROTO='static' UNIQUE='' STARTMODE='auto' IPADDR='10.5.100.31' NETMASK='255.255.0.0' NETWORK='' BROADCAST='' _nm_name='qeth-bus-ccw-0.0.f840' ETHTOOL_OPTIONS='' LLADDR='' MTU='' NAME='' REMOTE_IPADDR='' USERCONTROL='no' TO BOOTPROTO='static' UNIQUE='' STARTMODE='auto' IPADDR='10.50.40.121' NETMASK='255.255.255.224' NETWORK='' BROADCAST='' _nm_name='qeth-bus-ccw-0.0.b708' ETHTOOL_OPTIONS='' LLADDR='' MTU='' NAME='' REMOTE_IPADDR='' USERCONTROL='no' When SuSE comes up on the new box, I get a message saying qeth-bus-ccw-0.0.b708 No interface found Any ideas what the problem might be? Are there more changes that need to be made to Linux, or do I need to look into the IO def for the LPAR? Thank you for your help, Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com -- 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: OSA config on new machine
Can I list a range of address with lscss? It is listing too many devices to see the range that I need. 'lsqeth' reports: ls: /sys/bus/ccwgroup/drivers/qeth: No such file or directory Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Monday, August 03, 2009 4:00 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: OSA config on new machine On 8/3/2009 at 4:51 PM, Jones, Russell russell.jo...@anpac.com wrote: I am moving one of my SUSE 10 images to a different machine where the OSA has a different hardware address. We do not have VM (very sad, I know). The address will be changing from f840 to b708, the name will change from GIGPORT1 to OSAEGA0 and the IP will go from 10.5.100.31 to 10.50.40.121 -snip- When SuSE comes up on the new box, I get a message saying qeth-bus-ccw-0.0.b708 No interface found Any ideas what the problem might be? Are there more changes that need to be made to Linux, or do I need to look into the IO def for the LPAR? What does lscss and lsqeth report? 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 -- 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: OSA config on new machine
Good idea. I get no hits on that address range. Looks like the addresses are not available to the LPAR. Thanks. Now I know who to complain to. Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com (417)887-4990 x2193 -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Steffen Maier Sent: Monday, August 03, 2009 4:21 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: OSA config on new machine On 08/03/2009 11:08 PM, Jones, Russell wrote: Can I list a range of address with lscss? It is listing too many devices to see the range that I need. Just a quick hack which should definitely work to reduce the result set: lscss | fgrep 0.0.b70 Steffen Linux on System z Development 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 -- 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
Datacenter Move
I am running SUSE 10 in an LPAR. We are in the process datacenter consolidation, and we will be moving all of our systems to a new datacenter. After the move, the only changes should be the ip address and he OSA device address. DASD addresses will all be the same. The steps that I am aware of to make the changes are: 1. Rename /etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.oldaddress to /etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.newaddress, and change addresses inside the file. 2. Rename /etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.oldaddress to /etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.newaddress, and change device addresses and the ip address inside the file. I planned to pre-stage the new files in another directory. After IPLing at the new datacenter, I would move the new files to the appropriate directory and delete the old files from the HMC, and re-ipl. (Hopefully with ip connectivity) Is this all that I need to do? I just want to be sure that I am not missing anything. Thanks, Russell Jones ANPAC System Programmer Trainee rjo...@anpac.com -- 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: SUSE on Native LPAR
I copied the install files to my PC and ran an ftp server on my PC to complete the install. I used a freebe ftp server called FileZilla. Russell Jones ANPAC System Programmer -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Martin, Larry D Sent: Wednesday, March 25, 2009 1:53 PM To: LINUX-390@VM.MARIST.EDU Subject: SUSE on Native LPAR I am very new to Linux and am trying to install Linux on an LAPR on a z9BC. I can load the initial Kernel by putting the CD (CD1) into the CD-ROM drive on the HMC and perform a Lad from CD. After setting up the network the Linux kernel wants to read the rest of CD1. If I tell him to use the HMC CD-ROM the response is Unable to load (not an exact quote). I have tried to use NFS on a desktop which has SUSE 10 installed (about a year ago). I get a error saying the request was rejected error = -1. I have also tried using SMB to point to the CD reader on my Windows desktop and get the same response as above (both of these take a few minutes to return). Can someone who has done this give me an idea as to what I am doing wrong? Thanks, .Larry Ps. Small shop - no money - VM not an option. Larry D. Martin Mainframe Systems Support Office of Information Technology and Communications 301.883.7335 .. This E-mail and any of its attachments may contain Prince George's County Government or Prince George's County 7th Judicial Circuit Court proprietary information, which is privileged and confidential. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout. -- 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
SUSE 10 hour offset
Date command on my SUSE 10 system is showing the correct date, time zone, and minute, but the hour is off by 6 hours. How do I change the hour offset? Thanks, Russell Jones ANPAC System Programmer rjo...@anpac.com -- 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: SUSE 10 hour offset
I found the YaST Date screen to set the hardware clock to UTC, but it didn't seem to have any effect. I wonder if an IPL is required? Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Richard Clapper Sent: Friday, January 30, 2009 12:16 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: SUSE 10 hour offset Seems to me that we had to learn to set the UTC or Local parameter in the YaST Timezones screens, depending on how our hardware and/or VM settings were set, like Mark said. Just food for thought! Mark Post mp...@novell.com 1/30/2009 10:39 AM On 1/30/2009 at 12:26 PM, Jones, Russell russell.jo...@anpac.com wrote: Date command on my SUSE 10 system is showing the correct date, time zone, and minute, but the hour is off by 6 hours. How do I change the hour offset? Sounds like a mismatch between what time zone the hardware clock (or z/VM system clock if running on z/VM) is in, and what you told the system about it. Make sure you know what the hardware clock is set to, and then check that /etc/sysconfig/clock reflects that correctly, and that you have /etc/localtime set to the correct time zone. 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 The information contained in this electronic communication and any document attached hereto or transmitted herewith is confidential and intended for the exclusive use of the individual or entity named above. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any examination, use, dissemination, distribution or copying of this communication or any part thereof is strictly prohibited. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this communication. Thank you. -- 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
FW: SUSE 10 hour offset
Yep, changes took effect when I ipl'ed. Thanks guys, Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Jones, Russell Sent: Friday, January 30, 2009 1:00 PM To: 'Linux on 390 Port' Subject: RE: SUSE 10 hour offset I found the YaST Date screen to set the hardware clock to UTC, but it didn't seem to have any effect. I wonder if an IPL is required? Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Richard Clapper Sent: Friday, January 30, 2009 12:16 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: SUSE 10 hour offset Seems to me that we had to learn to set the UTC or Local parameter in the YaST Timezones screens, depending on how our hardware and/or VM settings were set, like Mark said. Just food for thought! Mark Post mp...@novell.com 1/30/2009 10:39 AM On 1/30/2009 at 12:26 PM, Jones, Russell russell.jo...@anpac.com wrote: Date command on my SUSE 10 system is showing the correct date, time zone, and minute, but the hour is off by 6 hours. How do I change the hour offset? Sounds like a mismatch between what time zone the hardware clock (or z/VM system clock if running on z/VM) is in, and what you told the system about it. Make sure you know what the hardware clock is set to, and then check that /etc/sysconfig/clock reflects that correctly, and that you have /etc/localtime set to the correct time zone. 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 The information contained in this electronic communication and any document attached hereto or transmitted herewith is confidential and intended for the exclusive use of the individual or entity named above. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any examination, use, dissemination, distribution or copying of this communication or any part thereof is strictly prohibited. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this communication. Thank you. -- 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: Clone SUSE 10
Should the parameters in /etc/zipl.conf look like: root=/dev/dasda1 ro noinitrd Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Tom Duerbusch Sent: Tuesday, January 27, 2009 5:08 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Clone SUSE 10 When you installed you SLES 10 system, you took the defaults for FSTAB. Change you base system: yast System Partitioner, yes edit each disk fstab options change Device ID to Device Path, ok ok apply quit Then: In one session: cat /etc/fstab In another session joe /etc/zipl.conf modify the parameters = root=~ may be in multiple places save mkinitrd zipl Boot to put in effect Now flashcopy will produce a bootable copy. Now reclone your system. Tom Duerbusch THD Consulting Jones, Russell russell.jo...@anpac.com 1/27/2009 3:54 PM I do mean root file system. Here is my zipl.conf. I don't see any device address in this file. *** # Modified by YaST2. Last modification on Tue Nov 25 11:10:32 CST 2008 [defaultboot] defaultmenu = menu ###Don't change this comment - YaST2 identifier: Original name: linux### [SLES_10_SP1] image = /boot/image-2.6.16.54-0.2.10-default target = /boot/zipl ramdisk = /boot/initrd-2.6.16.54-0.2.10-default,0x100 parameters = root=/dev/disk/by-id/ccw-STK.028176.0022.2a-part1 TERM=dumb :menu default = 1 prompt = 1 target = /boot/zipl timeout = 10 1 = SLES_10_SP1 2 = ipl ###Don't change this comment - YaST2 identifier: Original name: ipl### [ipl] image = /boot/image target = /boot/zipl ramdisk = /boot/initrd,0x100 parameters = root=/dev/disk/by-id/ccw-STK.028176.0022.2a-part1 TERM=dumb *** Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Tuesday, January 27, 2009 3:43 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Clone SUSE 10 On 1/27/2009 at 4:38 PM, Jones, Russell russell.jo...@anpac.com wrote: -snip- I want 322b to be my ipl volume and also bring 322f online at startup. By IPL volume, do you mean root file system? (The two are completely different things.) What do you have in /etc/zipl.conf? 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 -- 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 -- 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: Clone SUSE 10
My zipl.conf now looks like this: * ANPLNX02:/etc# cat zipl.conf # Modified by YaST2. Last modification on Tue Nov 25 11:10:32 CST 2008 [defaultboot] defaultmenu = menu ###Don't change this comment - YaST2 identifier: Original name: linux### [SLES_10_SP1] image = /boot/image-2.6.16.54-0.2.10-default target = /boot/zipl ramdisk = /boot/initrd-2.6.16.54-0.2.10-default,0x100 parameters = root=/dev/disk/by-path/ccw-0.0.322b-part1 dasd=322b,322f TERM=dumb :menu default = 1 prompt = 1 target = /boot/zipl timeout = 10 1 = SLES_10_SP1 2 = ipl ###Don't change this comment - YaST2 identifier: Original name: ipl### [ipl] image = /boot/image target = /boot/zipl ramdisk = /boot/initrd,0x100 parameters = root=/dev/disk/by-path/ccw-0.0.322b-part1 dasd=322b,322f TERM=dumb ** And my myinitrd output looks like this: ** ANPLNX02:/etc# mkinitrd Root device:/dev/disk/by-path/ccw-0.0.322b-part1 (mounted on / as ext3) Module list:jbd ext3 dasd_eckd_mod (xennet xenblk) Kernel image: /boot/image-2.6.16.54-0.2.10-default Initrd image: /boot/initrd-2.6.16.54-0.2.10-default Shared libs:lib64/ld-2.4.so lib64/libacl.so.1.1.0 lib64/libattr.so.1.1.0 lib64/libblkid.so.1.0 li b64/libc-2.4.so lib64/libcom_err.so.2.1 lib64/libdl-2.4.so lib64/libext2fs.so.2.4 lib64/libhistory.so .5.1 lib64/libncurses.so.5.5 lib64/libpthread-2.4.so lib64/libreadline.so.5.1 lib64/librt-2.4.so lib6 4/libuuid.so.1.2 lib64/libnss_files-2.4.so lib64/libnss_files.so.2 lib64/libgcc_s.so.1 Driver modules: dasd_mod dasd_eckd_mod DASDs: 0.0.322a(ECKD) 0.0.322e(ECKD) 0.0.322b(ECKD) Filesystem modules: jbd ext3 Including: initramfs fsck.ext3 16371 blocks initrd updated, zipl needs to update the IPL record before IPL! I changed my dasd fstab setting to use device path, ipl'ed my base system, shut it down, copied the volume using mvs dss copy, ipl'ed the base system and mounted the cloned file system on the base system. I then did a chroot to the new file system. The mkinitrd command looks good except for the DASDs section. It is getting those addresses from what I have mounted on the base system and I want it to use 322b and 322f. Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, January 28, 2009 10:12 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Clone SUSE 10 On 1/28/2009 at 9:58 AM, Jones, Russell russell.jo...@anpac.com wrote: Should the parameters in /etc/zipl.conf look like: root=/dev/dasda1 ro noinitrd No. If you do, your system won't boot. Just add 'dasd=addr1,addr2 to what is there now. 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 -- 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
Clone SUSE 10
I am in the process of cloning an existing SUSE 10 system to run in different LPAR. I have copied the file system and mounted it on a running system. I need to change the device address for eth0 and I am not sure where/how to make the change. Thanks in advance for your help, Russell Jones ANPAC System Programmer rjo...@anpac.com -- 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: Clone SUSE 10
Thanks, that looks like what I need. How about changing the dasd addresses? Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Tuesday, January 27, 2009 12:18 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Clone SUSE 10 On 1/27/2009 at 11:21 AM, Jones, Russell russell.jo...@anpac.com wrote: I am in the process of cloning an existing SUSE 10 system to run in different LPAR. I have copied the file system and mounted it on a running system. I need to change the device address for eth0 and I am not sure where/how to make the change. Read the thread that starts at http://www2.marist.edu/htbin/wlvtype?LINUX-VM.74694 . It's for a z/VM guest, but it applies equally well to an LPAR. 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 -- 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: Clone SUSE 10
This is the output from my mkinitrd command. * ANPLNX02:/# mkinitrd Root device:/dev/disk/by-id/ccw-STK.028176.0022.2a-part1 (mounted on / as ext3) Module list:jbd ext3 dasd_eckd_mod (xennet xenblk) Kernel image: /boot/image-2.6.16.54-0.2.10-default Initrd image: /boot/initrd-2.6.16.54-0.2.10-default Shared libs:lib64/ld-2.4.so lib64/libacl.so.1.1.0 lib64/libattr.so.1.1.0 lib64/libblkid.so.1.0 lib64/libc-2.4.so lib64/libcom_err.s o.2.1 lib64/libdl-2.4.so lib64/libext2fs.so.2.4 lib64/libhistory.so.5.1 lib64/libncurses.so.5.5 lib64/libpthread-2.4.so lib64/libreadli ne.so.5.1 lib64/librt-2.4.so lib64/libuuid.so.1.2 lib64/libnss_files-2.4.so lib64/libnss_files.so.2 lib64/libgcc_s.so.1 Driver modules: dasd_mod dasd_eckd_mod DASDs: 0.0.322a(ECKD) 0.0.322e(ECKD) 0.0.322b(ECKD) Filesystem modules: jbd ext3 Including: initramfs fsck.ext3 16371 blocks initrd updated, zipl needs to update the IPL record before IPL! I want 322b to be my ipl volume and also bring 322f online at startup. I'm not sure how to do that. Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Tuesday, January 27, 2009 1:43 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Clone SUSE 10 On 1/27/2009 at 1:54 PM, Jones, Russell russell.jo...@anpac.com wrote: Thanks, that looks like what I need. How about changing the dasd addresses? Start here: http://www2.marist.edu/htbin/wlvtype?LINUX-VM.71317 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 -- 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: Clone SUSE 10
I do mean root file system. Here is my zipl.conf. I don't see any device address in this file. *** # Modified by YaST2. Last modification on Tue Nov 25 11:10:32 CST 2008 [defaultboot] defaultmenu = menu ###Don't change this comment - YaST2 identifier: Original name: linux### [SLES_10_SP1] image = /boot/image-2.6.16.54-0.2.10-default target = /boot/zipl ramdisk = /boot/initrd-2.6.16.54-0.2.10-default,0x100 parameters = root=/dev/disk/by-id/ccw-STK.028176.0022.2a-part1 TERM=dumb :menu default = 1 prompt = 1 target = /boot/zipl timeout = 10 1 = SLES_10_SP1 2 = ipl ###Don't change this comment - YaST2 identifier: Original name: ipl### [ipl] image = /boot/image target = /boot/zipl ramdisk = /boot/initrd,0x100 parameters = root=/dev/disk/by-id/ccw-STK.028176.0022.2a-part1 TERM=dumb *** Russell Jones ANPAC System Programmer rjo...@anpac.com -Original Message- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Tuesday, January 27, 2009 3:43 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Clone SUSE 10 On 1/27/2009 at 4:38 PM, Jones, Russell russell.jo...@anpac.com wrote: -snip- I want 322b to be my ipl volume and also bring 322f online at startup. By IPL volume, do you mean root file system? (The two are completely different things.) What do you have in /etc/zipl.conf? 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 -- 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
Clone SUSE 10
I am running SUSE 10 in an LPAR. I would like to clone the system on a different volume and run it in a different LPAR. I have been through this process before with a Slackware system. I was wondering if SUSE ships with tools to make the process more automated. Thanks, Russell Jones ANPAC System Programmer -- 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
SUSE 10 LDAP QUESTIONS
I have a couple questions about connecting to ldap from Suse linux. - Does anyone have experience using the MVS ldap server for Z/linux authentication. Suse seems to ship with that functionality included, but I have been unable to get it to work. Are there addicional schema objects that must be installed to support linux authentication? - I am also trying to do ldap authentication in a php page. I have installed the PHP5-ldap package, but my php page is failing to make the ldap connection. I don't see any ldap related error in the apache log, so I am not sure what exactly is happening. Is it possible that the ldap errors are going to a different log file? Are there additional php packages that must be installed to make it work? Thanks a lot for your help, Russell Jones -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: SUSE 10 LDAP QUESTIONS
Thanks to everyone for the responses. I will go through your tests and the suggested documentation and see where that gets me. As for the second part, I am attempting to bind to ldap using php. The same php page works on my Slackware system, but something is not configured correctly on the Suse system. Russell Jones ANPAC System Programmer [EMAIL PROTECTED] -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Spinler Sent: Tuesday, December 02, 2008 3:19 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: SUSE 10 LDAP QUESTIONS -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jones, Russell wrote: I have a couple questions about connecting to ldap from Suse linux. Before we get really into this, I should refer you to your local LDAP administrator, if you are not that person. If you are your own local LDAP admin, well, read on, but also apply heavy does of google fu. LDAP is a, uh, non-intuitive world. - Does anyone have experience using the MVS ldap server for Z/linux authentication. I don't use the MVS LDAP server, but another product. However, from a linux client perspective, LDAP is LDAP, for the most bits. There's a few assumptions in this which you'll need to know, btw *) do you allow anonymous binds *) do you force, allow, or not support SSL and/or TLS *) What bind method do you use Simple, SASL-??? Here's a few sets of tests I use, in roughly ascending order of functionality. This is assuming non-anonymous binds, simple binding, and no SSL/TLS 1) Can you do a manual ldapsearch at all, with fully specified parameters? E.g. something like this: ldapsearch -x -h your_ldap_host -D bindname -W -b ldap_base \ -s one objectclass=* If this fails, examine your assumptions. This should always be able to made work, if your assumptions are correct. 2) Do an ldapsearch leaving default some of the search parameters, to insure you have them configured correctly on your client host. E.g: ldapsearch -x -s one objectclass=* If this fails, use a process of elimination to find and correct the saved search parameters (LDAP server hostnames, ldap base, ldap bind names and passwords, etc). Most of this data is in the file /etc/ldap.conf and the directory /etc/openldap 3) Does the client OS see account / group information? getent passwd ; getent group ; id some_ldap_account There's lots of possible failures here. First check /etc/nsswitch.conf, and insure it's setup for either files ldap or compat for everything you care to get from the LDAP server. If it's compat there also needs to be a compat_passwd ... and other compat_* entries. Next, look for SSL / TLS connection failures, if you're using them. In particular, check the client's certdb is correct. If your server supports non-SSL connections, try testing this non-SSL to positively confirm whether this is an SSL problem or not. Next, check for extra search filters in /etc/ldap.conf specified as part of an nss_base_*' statements. Try commenting these out as a test. Also look in /etc/ldap.conf for attribute mapping statements -- make sure these match what the server actually provides, as seen in the output of a manual ldapsearch. Finally, check the server's schema, and insure it's compatible. The server needs some form of RFC2307 schema, and of course, each account and group used with linux LDAP needs the proper objectclasses and attributes. (E.g. objectclass: posixaccount, uidNumber: 123456, loginShell: /bin/ksh, etc etc) 4) Can you su - to an LDAP served account Check pam settings, existence of shell, home directory 5) Last, can you ssh / telnet to an LDAP served account If not, check your pam settings and sshd config. - I am also trying to do ldap authentication in a php page. I have installed the PHP5-ldap package, but my php page is failing to make the ldap connection. I don't see any ldap related error in the apache log, so I am not sure what exactly is happening. Is it possible that the ldap errors are going to a different log file? Are there additional php packages that must be installed to make it work? Recall here that you can have apache (via mod_auth_ldap) do session authentication, or you can do manual authentication in php via trying to do an ldap_bind in your php code. Which are you trying to do, here? - -- Pat -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkk1pjAACgkQNObCqA8uBsx2zQCcCTFjg2P5bj9uPZ9076atLIIh AFsAn1Xr1J+tRMmIpEYiht5N3CqFNWV/ =+ubc -END PGP SIGNATURE- -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access
SUSE 10 Installation Help
My boss came home from a tech conference with an evaluation copy of SUSE 10. I am trying to install it and I seem to be stuck. I have completed the install and IPLed the new system. There is a message on the console to logon and run the command /usr/lib/YaST2/startup/YaST2.ssh. I can connect via ssh, but I do not know the root password to logon. Apparently it is not the same as the temp ssh password that I setup on the installation system. Is there a default root password? Thanks for your help, Russell Jones ANPAC System Programmer -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Monday, November 24, 2008 1:10 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Some observations regarding admining rhel v. sles on Z On 11/24/2008 at 1:14 PM, David Boyes [EMAIL PROTECTED] wrote: -snip- If you do this, please make sure there is a text-only version. Many people don't install X at all on headless servers. Pretty much by definition, GNOME Control Center is going to be GUI only. That was one of the things I appreciated in YaST when I was a customer. As ugly as it was, the ncurses version worked in any environment where the network was up. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: SUSE 10 Installation Help
I am 99% sure of what I set the password to in the first part of the installation. I was able to logon via ssh for the first part of the install, but the password is not being accepted now. If I can't get the password to work, is my only option to start the install over from the beginning? Russell Jones ANPAC System Programmer -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Monday, November 24, 2008 1:48 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: SUSE 10 Installation Help It will be the temporary password that you entered during the first part of the install. Make sure you have the proper case for the password. Jones, Russell wrote: My boss came home from a tech conference with an evaluation copy of SUSE 10. I am trying to install it and I seem to be stuck. I have completed the install and IPLed the new system. There is a message on the console to logon and run the command /usr/lib/YaST2/startup/YaST2.ssh. I can connect via ssh, but I do not know the root password to logon. Apparently it is not the same as the temp ssh password that I setup on the installation system. Is there a default root password? Thanks for your help, Russell Jones ANPAC System Programmer -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
root crontab
I am running Slack/390 10.1, and I am trying to schedule a cron job to run with root authority. Nothing I put in the root crontab seems to be firing. This is the first cron task that I have attempted to set up as root. Is there more that needs to be done than just add the entry in crontab to set up a new cron user? Thanks, Russell Jones ANPAC -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Connect to DB2 with PHP
All of the documentation that I have found indicates that the DB2 Application Development Client needs to be installed before php can be built with Db2 support. I am struggling to get the development client installed because it is in rpm format and my Slack system does not use rpm's. Can anyone verify if the DB2 Application Development Client is the only way to achieve a php to DB2 connection? Is it required to use the DBI support mentioned below? Thanks, Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of David Boyes Sent: Thursday, October 23, 2008 3:36 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Connect to DB2 with PHP Yes. Use the DBI support for PHP; that makes your code generic to arbitrary databases. -Original Message- From: Linux on 390 Port on behalf of Jones, Russell Sent: Thu 10/23/2008 3:15 PM To: LINUX-390@VM.MARIST.EDU Subject: Connect to DB2 with PHP Does anyone have any experience using php on linux to access DB2 on MVS? Can it be done? Thanks in advance, Russell Jones ANPAC System Programmer -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
I found that I had a nss_ldap package installed from something I was trying to do earlier. I uninstalled it, reinstalled the openldap client, and then rebuilt the php package, and php ldap support started working. I guess there was a conflict between the two packages? I'm just excited that I got it working. Now I am able to password protect my php pages with MVS ldap server authentication, which is tied to RACF. Pretty Cool! Thanks for you help, Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Friday, October 24, 2008 5:13 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/13/2008 at 4:30 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I am back to getting this error at apache startup: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/php_ldap.so' - /usr/lib/php/extensions/php_ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0 The php build does not seem to be creating the php_ldap.so module. I am not sure where to get it or how to create it. I am using the --with-ldap=shared,/usr parameter on the php_configure(). This is happening because you had a problem when you installed the openldap-client package, and then removed it. You can't build LPAP support into PHP unless you have the openldap-client package installed first. If you really, really want to do this, you'll need to work on figuring out what is going wrong with openlpap-client installed so it can be fixed. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Daylight Savings Time adjustment
Over the weekend, my Slack/390 system fell back an hour for daylight savings time. How do I adjust when this happens? I think it's supposed to happen next week. Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Hall, Ken (GTS) Sent: Monday, October 27, 2008 11:23 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Zfcp.conf No, it's not necessary, if everything has been done properly. It has to do with when in the boot process the FCP devices are attached. If you ALLOW mkinitrd to put zfcp.conf in the initrd, those disks will be attached before the root filesystem is mounted. If you're okay with that, then it's fine. But if you want more flexibility, it might make more sense to remove zfcp.conf entirely before running mkinitrd. That way, NO FCP disks are attached before the root filesystem mounts, so it's all handled later in the boot process, and it all still works. There are a couple of gotchas with this. In versions prior to RHEL5.2, zfcpconf.sh was run out of /etc/rc.s/rc.sysinit. This resulted in a chicken-egg situation when multipath and/or LVM were used, and Red Hat went through several iterations trying to fix it, going all the way back to RHEL4.4. 5.2 triggers the script out of udev, which also nicely solves a race condition in rc.sysinit, where udev doesn't build the device nodes fast enough for LVM to catch them. Far as multipath goes, I don't see why changing the WWPN and Bus ID should have changed the identifier that's stored in the bindings file, but it's possible, since I forget how that's calculated. The simplest way to straighten it all out is to run multipath -F, remove all entries from the bindings file, and then run multipath, and let them rebuild. You might have to check to be sure you're mounting filesystems on the right places, though, if you're mounting by node. We're planning to standardize on either using LVM, or mount by label, to avoid this. Two other quick hints: The default location for the bindings file is in /var/lib. If /var is on a separate filesystem from root, the bindings file will be built in the wrong place, or not built at all, and /var will be mounted over it. The latest versions of device-mapper-multipath have a parameter in /etc/multipath.conf that allows you to specify the location of the bindings file. Earlier versions required it to be changed via command line parm, which, of course, required you do surgery on the init script. Finally, the version of mount that comes with RHEL5.2 uses a new scheme to prioritize mounts so that multipath devices and their components don't look like the same disk. This used to cause mount-by-label to fail. If you start getting mount failures, device busy, or duplicate device messages, check file /etc/blkid/blkid.tab. If you've added and removed LUNs, this file can contain residual data that confuses mount. Just delete it, and reboot, it will be rebuilt properly. Good luck! -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Romanowski, John (OFT) Sent: Monday, October 27, 2008 11:31 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: [LINUX-390] Zfcp.conf I don't actually have any Redhats myself but an IBM manual said after changing Redhat's zfcp.conf it's necessary to re-run mkinitrd and zipl to make the zfcp.conf changes survive (take effect) at reboot. Given that and you said After the reboot, the original paths were still being used., I suspect the initrd's got the prior contents of zipl.conf built into it and doesn't know yet about your changes to the zfcp.conf file. This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Spann, Elizebeth (Betsie) Sent: Monday, October 27, 2008 11:21 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Zfcp.conf Duh, no. I'll try it. Is this a guess or have you been successful? Thanks, Betsie -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Romanowski, John (OFT) Sent: Friday, October 24, 2008 7:38 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Zfcp.conf Betsie, After changing zfcp.conf did you run mkinitrd and zipl before rebooting? This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it
Re: Daylight Savings Time adjustment
Found it. I had to upgrade my glibc-zoneinfo package. I couldn't find any source code for the package, but apparently it is not architecture dependent. I installed glibc-zoneinfo-2.7-noarch-10.tgz, and my time was corrected. We'll see what happens when daylight savings changes. Thanks Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Scott Rohling Sent: Monday, October 27, 2008 12:20 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Daylight Savings Time adjustment Have you got the latest 'tzdata' package? You may want to get that and install it .. (I'm assuming Slackware uses it ... not familiar with Slack) Scott Rohling On Mon, Oct 27, 2008 at 11:08 AM, Jones, Russell [EMAIL PROTECTED]wrote: Over the weekend, my Slack/390 system fell back an hour for daylight savings time. How do I adjust when this happens? I think it's supposed to happen next week. Russell Jones ANPAC -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Connect to DB2 with PHP
Thanks, this should put me on the right track. Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Stewart Thomas J Sent: Thursday, October 23, 2008 4:06 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Connect to DB2 with PHP With more recent versions of DB2, a TCP/IP based listener is built right in, if configured by your DB2 admins. I can do a netstat on our z/OS system and all of the DB2 for z/OS subsystems are listening on some ports we defined. I can connect directly to DB2 from say, a WebSphere server on Linux box using a Type 4 JDBC driver. So if it you have the right driver (don't know what exists for PHP on Linux besides what others have mentioned) and right DB2 on z/OS setup, you can go straight into DB2 without needing something like DB2 Connect. Since I brought it up, this link from IBM has a PDF that explains the PHP for z/OS to DB2 interface in one of the chapters: http://www-03.ibm.com/servers/eserver/zseries/zos/unix/ported/php/index. html -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Thursday, October 23, 2008 3:35 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Connect to DB2 with PHP Jones, Russell wrote: Thanks, Is there a listener that has to be set up on the DB2 side? Is DB2 Connect required? Russell Jones ANPAC Traditionally DB2 Connect has been a requirement, I don't know if that requirement has changed in recent releases. If you're going to run PHP right on z/OS (like Thomas mentioned), then it probably just talks directly to the database. -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Connect to DB2 with PHP
Does anyone have any experience using php on linux to access DB2 on MVS? Can it be done? Thanks in advance, Russell Jones ANPAC System Programmer -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Connect to DB2 with PHP
Thanks, Is there a listener that has to be set up on the DB2 side? Is DB2 Connect required? Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Thursday, October 23, 2008 2:44 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Connect to DB2 with PHP Stewart Thomas J wrote: I don't have experience from Linux, but PHP on z/OS has a DB2 driver. Just wanted to make sure you knew that. So you could do your PHP-ing on z/OS (if feasible) or an ugly solution might be to do a PHP to PHP call from Linux to z/OS. Although I'm guessing there is some kind of driver to remotely call into DB2 from Linux directly that someone will point out. __ Tom Stewart Infrastructure Analyst John Deere - z/OS Support Services em: [EMAIL PROTECTED] __ I'm fairly certain PHP as a set of DB2 functions. My guess is that they will require the DB2 client to be installed to function properly. If the client is set up properly and can return data via the command line or control center (whatever they're calling it these days), then PHP should return data. -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com http://www.linkedin.com/in/richsmrcina Catch the WAVV! http://www.wavv.org WAVV 2009 - Orlando, FL - May 15-19, 2009 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
I seem to have messed up my system pretty good. After I built and installed the ldap client package the system quit responding. I ipl'ed and it took forever (about 45 min) for the system to come up. I didn't see any errors on the console, but the system still would not respond when it came up. I cannot get to it by ssh or ftp. The good news is that it is a test system. The bad news is that I have some files on it that I would really like to recover. I tried bringing the dasd of the broken system online to another linux system so I could at least recover my files. I get the following message: [EMAIL PROTECTED]:/mnt/cloneVol# mount /dev/dasdb1 /mnt/cloneVol mount: wrong fs type, bad option, bad superblock on /dev/dasdb1, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so syslog says: dasd: waiting for responses... dasd(eckd): /dev/dasdb ( 94: 4),[EMAIL PROTECTED]: (4kB blks): 7212240kB at 48kB/trk compatible disk layout dasdb:VOL1/ LNXRS3: dasdb1 dasdb2 EXT2-fs: dasd(94,5): couldn't mount because of unsupported optional features (400). VFS: Can't find ext3 filesystem on dev dasd(94,4). Any suggestions on how to recover my files from the broken system are much appreciated, Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Thursday, October 09, 2008 1:47 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/9/2008 at 2:09 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: -snip- Do I need to have some type of ldap package installed to do this build? That would probably be a good idea. See ftp://ftp.slackware.com/pub/slackware/slackware-12.1/source/n/openldap-c lient/ Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
My system is back to normal now. I found that I could enter commands at the HMC even though the response was extremely slow. I did a removepkg on the ldap client and things went back to normal. I am back to my original problem now getting ldap to work with php. I get this error when starting apache: Syntax error on line 6 of /etc/apache/mod_php.conf: Cannot load /usr/libexec/apache/libphp4.so into server: libldap-2.3.so.0: cannot open shared object file: No such file or directory /usr/sbin/apachectl start: httpd could not be started I am not sure where to get the libldap module from. I'll see what I can find out. Thanks, Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Friday, October 10, 2008 12:25 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/10/2008 at 11:59 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I seem to have messed up my system pretty good. After I built and installed the ldap client package the system quit responding. I ipl'ed and it took forever (about 45 min) for the system to come up. I didn't see any errors on the console, but the system still would not respond when it came up. Do you mean you could not logon from the console? If so, did you see a login prompt? Did the system accept the userid and password, and then not finish signing you on? I cannot get to it by ssh or ftp. The good news is that it is a test system. The bad news is that I have some files on it that I would really like to recover. I tried bringing the dasd of the broken system online to another linux system so I could at least recover my files. I get the following message: [EMAIL PROTECTED]:/mnt/cloneVol# mount /dev/dasdb1 /mnt/cloneVol mount: wrong fs type, bad option, bad superblock on /dev/dasdb1, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so syslog says: dasd: waiting for responses... dasd(eckd): /dev/dasdb ( 94: 4),[EMAIL PROTECTED]: (4kB blks): 7212240kB at 48kB/trk compatible disk layout dasdb:VOL1/ LNXRS3: dasdb1 dasdb2 EXT2-fs: dasd(94,5): couldn't mount because of unsupported optional features (400). VFS: Can't find ext3 filesystem on dev dasd(94,4). I would try to IPL the system from the installation kernel and ramdisk. You should be able to get the volume mounted and the network started from there without interference from the openLDAP stuff (if that is what is causing the issue). Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
The build job creates the package, but when I install it, there is no php load module(libphp4.so). I see the following errors in the build output: . . . checking for Apache 1.x module support via DSO through APXS... Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs The output of /usr/sbin/apxs follows loading cache ./config.cache checking host system type... s390-ibm-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 ) works... yes checking whether the C compiler (gcc -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes . . . I don't see apxs on my system and I don't see a package for it. I am not sure what it is, or if this is even the cause of my problem. Thanks, Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, October 07, 2008 3:13 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/7/2008 at 3:32 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: Thanks for the script. I guess I will need a little more help. Will I need to download the php source or is it stored somewhere on my system? If you downloaded the /source part of the tree, it should be on your system. If not, you should download the whole /source/n/php/ directory. Do I need to run the build script from the same directory as the package Yes. Before you do, make sure you bump the build number of the package, and set an environment variable ARCH to s390. source? Will I need to reinstall or upgrade the package after it is built? Yes, upgradepkg will be what you need. Pat and I both try to make sure that SlackBuild scripts don't write anything into your production file system. If that can't be done, a different script name is used. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
I think that I got it. The perl path had to be changed in the apxs script. I think that I got a good php build. Russell Jones -Original Message- From: Jones, Russell Sent: Thursday, October 09, 2008 9:26 AM To: 'Linux on 390 Port' Subject: RE: Add LDAP support to PHP I did find apxs on my system and the path in the script is correct, so I don't think that is the problem. I also see the following in my output: ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No such file or directory configure: error: Aborting make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `distclean'. Stop. chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or directory I wonder if the perl path is wrong. Perl on my system in at /usr/bin/perl, but I don't see anywhere in the build script to set the perl path. Russell Jones ANPAC System Programmer -Original Message- From: Jones, Russell Sent: Thursday, October 09, 2008 9:03 AM To: 'Linux on 390 Port' Subject: RE: Add LDAP support to PHP The build job creates the package, but when I install it, there is no php load module(libphp4.so). I see the following errors in the build output: . . . checking for Apache 1.x module support via DSO through APXS... Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs The output of /usr/sbin/apxs follows loading cache ./config.cache checking host system type... s390-ibm-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 ) works... yes checking whether the C compiler (gcc -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes . . . I don't see apxs on my system and I don't see a package for it. I am not sure what it is, or if this is even the cause of my problem. Thanks, Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, October 07, 2008 3:13 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/7/2008 at 3:32 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: Thanks for the script. I guess I will need a little more help. Will I need to download the php source or is it stored somewhere on my system? If you downloaded the /source part of the tree, it should be on your system. If not, you should download the whole /source/n/php/ directory. Do I need to run the build script from the same directory as the package Yes. Before you do, make sure you bump the build number of the package, and set an environment variable ARCH to s390. source? Will I need to reinstall or upgrade the package after it is built? Yes, upgradepkg will be what you need. Pat and I both try to make sure that SlackBuild scripts don't write anything into your production file system. If that can't be done, a different script name is used. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
I got the new php package installed and it seems to be functioning. Now I am seeing the following error in the apache log when I attempt to bind to ldap: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/php_ldap.dll' - /usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No such file or directory in Unknown on line 0 I don't have the php_ldap.dll, but the phpinfo page shows that ldap is installed. Was I missing something when I build my package? Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Thursday, October 09, 2008 10:03 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/9/2008 at 10:26 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I did find apxs on my system and the path in the script is correct, so I don't think that is the problem. I also see the following in my output: ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No such file or directory configure: error: Aborting make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `distclean'. Stop. chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or directory I wonder if the perl path is wrong. Perl on my system in at /usr/bin/perl, but I don't see anywhere in the build script to set the perl path. I've run into similar problems with packages not being able to figure out where things were. The simplest thing to do is to create a symbolic link: ln -s /usr/bin/perl /usr/local/bin/perl Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
I also found a lot of the following types of messages in the output for the package build: /tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_connect': /tmp/php-4.3.10/ext/ldap/ldap.c:390: warning: assignment makes pointer from integer without a cast /tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_entries': /tmp/php-4.3.10/ext/ldap/ldap.c:914: warning: assignment makes pointer from integer without a cast /tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_attributes': /tmp/php-4.3.10/ext/ldap/ldap.c:1046: warning: assignment makes pointer from integer without a cast /tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_values': /tmp/php-4.3.10/ext/ldap/ldap.c:1096: warning: assignment makes pointer from integer without a cast /tmp/php-4.3.10/ext/standard/url.c: In function `php_url_parse_ex': /tmp/php-4.3.10/ext/standard/url.c:102: warning: assignment discards qualifiers from pointer target type /tmp/php-4.3.10/ext/sysvshm/sysvshm.c: In function `zif_shm_get_var': /tmp/php-4.3.10/ext/sysvshm/sysvshm.c:316: warning: passing arg 2 of `php_var_unserialize' from incompatible pointer type Do I need to have some type of ldap package installed to do this build? Russell Jones ANPAC -Original Message- From: Jones, Russell Sent: Thursday, October 09, 2008 11:37 AM To: 'Linux on 390 Port' Subject: RE: Add LDAP support to PHP I got the new php package installed and it seems to be functioning. Now I am seeing the following error in the apache log when I attempt to bind to ldap: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/php_ldap.dll' - /usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No such file or directory in Unknown on line 0 I don't have the php_ldap.dll, but the phpinfo page shows that ldap is installed. Was I missing something when I build my package? Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Thursday, October 09, 2008 10:03 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/9/2008 at 10:26 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I did find apxs on my system and the path in the script is correct, so I don't think that is the problem. I also see the following in my output: ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No such file or directory configure: error: Aborting make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `distclean'. Stop. chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or directory I wonder if the perl path is wrong. Perl on my system in at /usr/bin/perl, but I don't see anywhere in the build script to set the perl path. I've run into similar problems with packages not being able to figure out where things were. The simplest thing to do is to create a symbolic link: ln -s /usr/bin/perl /usr/local/bin/perl Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
I went ahead and installed the package and I get the following error in the apache log when I attempt to bind to ldap: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/php_ldap.dll' - /usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No such file or directory in Unknown on line 0 I appears that the php_ldap.dll was not created in the build. The phpinfo page shows that ldap is installed, but no dll. That is my mystery. Thanks a lot for your input, Russell Jones ANPAC -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of James Tison Sent: Thursday, October 09, 2008 1:27 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP No, it just looks like your compiler version is a little far ahead of the one the LDAP developers used. As long as they're just warnings (not errors), keep going. Make sure you test the finished product, although these particular warnings appear harmless. --Jim-- From: Jones, Russell [EMAIL PROTECTED] To: LINUX-390@VM.MARIST.EDU Date: 10/09/2008 02:12 PM Subject:Re: Add LDAP support to PHP I also found a lot of the following types of messages in the output for the package build: /tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_connect': /tmp/php-4.3.10/ext/ldap/ldap.c:390: warning: assignment makes pointer from integer without a cast /tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_entries': /tmp/php-4.3.10/ext/ldap/ldap.c:914: warning: assignment makes pointer from integer without a cast /tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_attributes': /tmp/php-4.3.10/ext/ldap/ldap.c:1046: warning: assignment makes pointer from integer without a cast /tmp/php-4.3.10/ext/ldap/ldap.c: In function `zif_ldap_get_values': /tmp/php-4.3.10/ext/ldap/ldap.c:1096: warning: assignment makes pointer from integer without a cast /tmp/php-4.3.10/ext/standard/url.c: In function `php_url_parse_ex': /tmp/php-4.3.10/ext/standard/url.c:102: warning: assignment discards qualifiers from pointer target type /tmp/php-4.3.10/ext/sysvshm/sysvshm.c: In function `zif_shm_get_var': /tmp/php-4.3.10/ext/sysvshm/sysvshm.c:316: warning: passing arg 2 of `php_var_unserialize' from incompatible pointer type Do I need to have some type of ldap package installed to do this build? Russell Jones ANPAC -Original Message- From: Jones, Russell Sent: Thursday, October 09, 2008 11:37 AM To: 'Linux on 390 Port' Subject: RE: Add LDAP support to PHP I got the new php package installed and it seems to be functioning. Now I am seeing the following error in the apache log when I attempt to bind to ldap: PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/php_ldap.dll' - /usr/lib/php/extensions/php_ldap.dll: cannot open shared object file: No such file or directory in Unknown on line 0 I don't have the php_ldap.dll, but the phpinfo page shows that ldap is installed. Was I missing something when I build my package? Russell Jones ANPAC -Original Message- From: Linux on 390 Port [?mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Thursday, October 09, 2008 10:03 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/9/2008 at 10:26 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I did find apxs on my system and the path in the script is correct, so I don't think that is the problem. I also see the following in my output: ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No such file or directory configure: error: Aborting make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `distclean'. Stop. chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or directory I wonder if the perl path is wrong. Perl on my system in at /usr/bin/perl, but I don't see anywhere in the build script to set the perl path. I've run into similar problems with packages not being able to figure out where things were. The simplest thing to do is to create a symbolic link: ln -s /usr/bin/perl /usr/local/bin/perl Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Add LDAP support to PHP
Thanks for the script. I guess I will need a little more help. Will I need to download the php source or is it stored somewhere on my system? Do I need to run the build script from the same directory as the package source? Will I need to reinstall or upgrade the package after it is built? Thanks, Russell Jones ANPAC System Programmer -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Monday, October 06, 2008 4:20 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Add LDAP support to PHP On 10/6/2008 at 4:58 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I am running Slack 390 10.1. I would like to connect to ldap with my php web application. The research that I have done indicates that ldap support is build in to php, but the binaries may have to be recompiled with the --with-ldap parameter. Could someone point me in the right direction on how to recompile the php binary? ftp://distro.ibiblio.org/pub/linux/distributions/slack390/slack390-curre nt/source/n/php/php.SlackBuild.s390 Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Add LDAP support to PHP
I am running Slack 390 10.1. I would like to connect to ldap with my php web application. The research that I have done indicates that ldap support is build in to php, but the binaries may have to be recompiled with the --with-ldap parameter. Could someone point me in the right direction on how to recompile the php binary? I appreciate the help, Russell Jones ANPAC System Programmer -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Adding DASD
I am attempting to add another dasd volume to my Slack 390 system. I have done the steps below. It worked fine, but when I IPL'd it could not mount the new volume/filesystem. How do I bring the volume online at ipl time? 1. Bring new volume online to linux. echo add device range=322e /proc/dasd/devices 2. Figure out what device name was assigned to the volume. grep -i 322e /proc/dasd/devices 3. Format new DASD dasdfmt -b 4096 -p -f /dev/dasdb -l LNXD01 4. Create a partition on the new volume fdasd -a /dev/dasdb -l lnxd01 5. Put a file system on dasdb1 mke2fs -j -b 4096 /dev/dasdb1 6. Turn off forced fschks tune2fs -c0 -i0 /dev/dasdb1 7. Mount new file system mount /dev/dasdb1 /usr/dataVolume 8. Edit /etc/fstab so that file system will be mounted at IPL #vi /etc/fstab /dev/dasdb1 /usr/dataVolume ext3defaults 0 0 Thanks for your help, Russ Jones -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Update mySql on Slack/390
Can you put it on the Slack/390 download ftp server? Russell Jones ANPAC System Programmer -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, September 30, 2008 1:45 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Update mySql on Slack/390 On 9/26/2008 at 9:13 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: Thanks, I can wait. Where would you like it sent? To your email address? It's about 18MB in size, so that probably won't work. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Update mySql on Slack/390
Thanks, I can wait. Russell Jones -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Thursday, September 25, 2008 8:27 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Update mySql on Slack/390 On 9/25/2008 at 12:22 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: -snip- I found a s390 download on the mySql web site. The package is mysql-5.0.67-linux-s390x.tar.gz http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.67-linux-s390x.t ar.gz/from/http:/mirror.trouble-free.net/mysql_mirror/ . Should that package work? Not likely, even if it weren't a 64-bit package. If you can wait a bit, I'll have one built for you. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Update mySql on Slack/390
I would like to upgrade to the latest version on MySql on my Slack/390 10.1 system. It there a prebuilt package out there that I can install. Thanks, Russ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Update mySql on Slack/390
It looks like 5.0 is that latest stable release. I found a s390 download on the mySql web site. The package is mysql-5.0.67-linux-s390x.tar.gz http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.67-linux-s390x.t ar.gz/from/http:/mirror.trouble-free.net/mysql_mirror/ . Should that package work? Russell Jones ANPAC System Programmer -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Thursday, September 25, 2008 11:11 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Update mySql on Slack/390 On 9/25/2008 at 11:25 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I would like to upgrade to the latest version on MySql on my Slack/390 10.1 system. It there a prebuilt package out there that I can install. Not at the moment. What version of MySQL are you interested in? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Secure Z Linux with LDAP
I am trying to set up linux to authenticate using the MVS ldap server. I am running Slack390 10.1. The articles I have read all describe using PAM and NSS together, but I don't believe that PAM can be easily used with Slackware. I have built and installed packages for sasl, openldap, and nss. Can I do ldap authentication with NSS alone? Is there a PAM build for Slackware? If anyone has any experience in this area, any guidance you can give would be appreciated. Thanks, Russ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Linux VServer
I am looking into running linux virtual machines under a linux host on S/390 architecture. According to this list, Linux VServer is available for S/390. http://en.wikipedia.org/wiki/Comparison_of_virtual_machines Has anyone tried it? Are there other virtual machines that will run under a linux host on S/390? Thanks for your input. Russ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Linux VServer
Unfortunately we are not a VM shop. We are running z/Linux in an LPAR. Until we can justify the expense of purchasing VM, I am looking for a free way to run some virtual Linux images. There may not be a good open source solution available, but it never hurts to ask. Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of David Boyes Sent: Thursday, October 25, 2007 2:55 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Linux VServer I am looking into running linux virtual machines under a linux host on S/390 architecture. According to this list, Linux VServer is available for S/390. Has anyone tried it? Are there other virtual machines that will run under a linux host on S/390? Two words: use z/VM. It's far more efficient, and you don't have to modify kernels or user code. The same common code savings can be accomplished with z/VM, and you get a lot of freebies on the management side that none of the options listed provide. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Using ldap for zLinux Security
Does anyone have any experience using the z/OS LDAP server to secure z/Linux? We have profiles for all of our RACF users stored in a TDBM that uses ibm-native authentication. I would like to use this TDBM to secure my ZLinux system. I appreciate any suggestions, Russ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Backup and Restore Strategies For Z/Linux
We are running z/Linux in an LPAR. It is a 1 volume system. We are currently using an MVS batch job to back up the volume while Linux is running. I know that this is not a good idea, and I would like to know how other shops handle backup and restore of their z/Linux systems. So far, our method has worked fine. At our disaster recovery exercises, we simply restore the volume with DFDSS and away we go. We would like the process to be as automated as possible. We could train the operators to shutdown Linux, run the backup, and then bring it back up, but we would like to avoid that if possible. We would also like to avoid bringing a tape drive online to Linux. We don't have the resources to dedicate a drive to Linux fulltime, and switching a drive between MVS and Linux during the batch cycle would difficult. I appreciate any suggestions. Russ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
I am running Windows XP -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, June 05, 2007 5:33 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Tue, Jun 5, 2007 at 4:58 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: Now we're getting somewhere. Unfortunately, no we're not. [2007/06/05 14:49:29, 1] smbd/service.c:close_cnum(836) dt49169 (10.5.8.76) closed connection to service P054 [2007/06/05 15:50:14, 2] auth/auth.c:check_ntlm_password(312) check_ntlm_password: Authentication for user [PA8367] - [PA8367] FAILED with error NT_STATUS_NO_SUCH_USER [2007/06/05 15:50:14, 2] lib/access.c:check_access(324) Allowed connection from (10.5.8.76) It looks like samba is trying to authenticate with my Windows logon(PA8367). Can I map that logon to a Linux ID, or do I need to create an ID with the same name on Linux? That's what it's supposed to do, and it allows the access because you have map to guest = bad user. It's supposed to be what allowing guest access is all about, so you don't have to add userids and passwords every time someone new connects to the network and wants to print. I bumped log level up to 3 on my Slackware Intel print server, then connected from my Slackware Intel file server with a bogus userid and password. (I used the command smbclient //ipaddress/Okidata nosuchpassword -U nosuchuserid) In the /var/log/samba/samba.fileserver log, I saw this: [2007/06/05 18:23:17, 3] auth/auth.c:check_ntlm_password(221) check_ntlm_password: Checking password for unmapped user [EMAIL PROTECTED] with the new password interface [2007/06/05 18:23:17, 3] auth/auth.c:check_ntlm_password(224) check_ntlm_password: mapped user is: [EMAIL PROTECTED] [2007/06/05 18:23:17, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2007/06/05 18:23:17, 3] smbd/uid.c:push_conn_ctx(345) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2007/06/05 18:23:17, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2007/06/05 18:23:17, 3] smbd/sec_ctx.c:pop_sec_ctx(339) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/06/05 18:23:17, 3] auth/auth_sam.c:check_sam_security(281) check_sam_security: Couldn't find user 'nosuchuserid' in passdb. [2007/06/05 18:23:17, 2] auth/auth.c:check_ntlm_password(319) check_ntlm_password: Authentication for user [nosuchuserid] - [nosuchuserid] FAILED with error NT_STATUS_NO_SUCH_USER [2007/06/05 18:23:17, 3] smbd/sesssetup.c:do_map_to_guest(39) No such user nosuchuserid [WORKGROUP] - using guest account The last line containing using guest account is what you want to see. Just out of curiosity, what version of Windows are you running? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
That did the trick. I am now able to use lpr with a CUPS printer. For my next challenge I am trying to share a cups printer. Samba is sharing out my printer, and I can install it on my pc, but Windows shows its status as Access Denied, Unable to Connect. I am not sure if this is a CUPS or a Samba problem. Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Monday, June 04, 2007 11:01 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Mon, Jun 4, 2007 at 10:18 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: It looks like lpr is pointing to lprng on my system. [EMAIL PROTECTED]:~# v /usr/bin/lpr lrwxrwxrwx 1 root root 9 2007-04-02 12:29 /usr/bin/lpr - lpr-lprng* So do I need to uninstall lprng or can I just change the link to point to lpr-cups? The easiest and safest thing to do would be to removepkg lprng and then installpkg cups. Most of the packages have a install/doinst.sh file in them that does things like set up symbolic links, etc., so that really should get run again. The installpkg cups command will make that happen. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
I added public = yes to the printer section of smb.conf, but it didn't seem to have any effect. [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = yes writable = no printable = yes public = yes It this the correct way to make my printer public? Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of John Summerfield Sent: Tuesday, June 05, 2007 8:59 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help Jones, Russell wrote: That did the trick. I am now able to use lpr with a CUPS printer. For my next challenge I am trying to share a cups printer. Samba is sharing out my printer, and I can install it on my pc, but Windows shows its status as Access Denied, Unable to Connect. I am not sure if this is a CUPS or a Samba problem. If you've not configured any security in CUPS, it's not CUPS. In Samba, you need to make it public unless you want security. Try that first. -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Please do not reply off-list -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
No, it is not. One of the topics I planned on researching soon is mapping a windows logon to a linux logon for Samba. It sounds like now might be the time to learn about it. Do tell more. Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, June 05, 2007 10:18 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Tue, Jun 5, 2007 at 10:47 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I added public = yes to the printer section of smb.conf, but it didn't seem to have any effect. [printers] comment = All Printers path = /var/spool/samba browseable = no # Set public = yes to allow user 'guest account' to print guest ok = yes writable = no printable = yes public = yes It this the correct way to make my printer public? Most likely you're running into an interaction between guest account = and map to guest =. Is your Windows account name the same as your Linux account name? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
It did not seem to make a difference. Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, June 05, 2007 10:45 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Tue, Jun 5, 2007 at 11:30 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: No, it is not. One of the topics I planned on researching soon is mapping a windows logon to a linux logon for Samba. It sounds like now might be the time to learn about it. Do tell more. In your case, it's good they're different. To the global section, try adding map to guest = Bad User and see if that helps. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
I rebooted my pc to force a new connection to linux. When I browse the installed printers on my machine it still shows a status of Access Denied, unable to connect, but I was able to print to it. This is what shows up in the samba log. [2007/06/05 14:38:58, 1] smbd/service.c:make_connection_snum(648) dt49169 (10.5.8.76) connect to service P054 initially as user nobody (uid=99, gid=99) (pid 12546) The printer seems to be working, but it shows a status of Access Denied. Is that something I just have to live with? Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, June 05, 2007 2:12 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Tue, Jun 5, 2007 at 2:18 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: It did not seem to make a difference. Time to put a log level =1 (or = 2) statement in smb.conf and see what the failures are in the logs. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
Now we're getting somewhere. [2007/06/05 14:49:29, 1] smbd/service.c:close_cnum(836) dt49169 (10.5.8.76) closed connection to service P054 [2007/06/05 15:50:14, 2] auth/auth.c:check_ntlm_password(312) check_ntlm_password: Authentication for user [PA8367] - [PA8367] FAILED with error NT_STATUS_NO_SUCH_USER [2007/06/05 15:50:14, 2] lib/access.c:check_access(324) Allowed connection from (10.5.8.76) It looks like samba is trying to authenticate with my Windows logon(PA8367). Can I map that logon to a Linux ID, or do I need to create an ID with the same name on Linux? Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, June 05, 2007 2:12 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Tue, Jun 5, 2007 at 2:18 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: It did not seem to make a difference. Time to put a log level =1 (or = 2) statement in smb.conf and see what the failures are in the logs. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
It looks like lpr is pointing to lprng on my system. [EMAIL PROTECTED]:~# v /usr/bin/lpr lrwxrwxrwx 1 root root 9 2007-04-02 12:29 /usr/bin/lpr - lpr-lprng* So do I need to uninstall lprng or can I just change the link to point to lpr-cups? Thanks, Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Friday, June 01, 2007 4:50 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Fri, Jun 1, 2007 at 5:29 PM, in message [EMAIL PROTECTED], David Boyes [EMAIL PROTECTED] wrote: -snip- Looks like you have an older version of the printing utilities installed that is not CUPS-aware. Make sure the cups-lpd package is installed. That will enable support for classic lpr. No such package on Slack/390. There's cups, and lprng, and that's it. If lprng was installed on top of cups, that could cause a similar issue. Only one of the two should be installed, not ever both of them. One way to tell is: # v /usr/bin/lpr lrwxrwxrwx 1 root root 8 2005-01-27 15:49 /usr/bin/lpr - lpr-cups Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Printer help
I have a network printer that I have installed through the cups web/gui interface. I am able to print a test page from the gui but I am not able to print from the command line. This is what I get: [EMAIL PROTECTED]:~# lpr test.print Status Information, attempt 1 of 3: sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol Any suggestions? Thanks, Russ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
[EMAIL PROTECTED]:/etc/cups# lpq Printer '[EMAIL PROTECTED]' - cannot open connection - No such file or directory Make sure the remote host supports the LPD protocol -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of José L. Ramírez Sent: Friday, June 01, 2007 1:30 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help What's the output if you issue the lpq command? -Original Message- From: Adam Thornton [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 1:24 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Jun 1, 2007, at 11:10 AM, Jones, Russell wrote: I have a network printer that I have installed through the cups web/ gui interface. I am able to print a test page from the gui but I am not able to print from the command line. This is what I get: [EMAIL PROTECTED]:~# lpr test.print Status Information, attempt 1 of 3: sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol Any suggestions? Do you have CUPS set up to do lpd emulation on port 515 (I think)? If not, well, you can't print because nothing's listening to the lpd port. Cups by default uses IPP, which is 631, I think. Adam -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 Scanned by McAfee SCM2 Scanned by Triple-S SCM2 - *Attention* This electronic message, including any attachments, contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error and delete it from your system. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
It is connected to a JETDIRECT box. DefaultPrinter Lexmark_Optra_R Info P054 Location Systems Area DeviceURI socket://10.5.3.123 State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 /Printer Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Friday, June 01, 2007 2:16 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Fri, Jun 1, 2007 at 2:34 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:/etc/cups# lpq Printer '[EMAIL PROTECTED]' - cannot open connection - No such file or directory Make sure the remote host supports the LPD protocol So, what kind of printer is this Lexmark Optra? Is it connected to a Windows system, or something else? Show us the contents of /etc/cups/printers.conf (at least for the printer in question). Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Printer help
I think that you are right about not having the lpd emulation set up. I found a How-To for setting up the cups-lpd helper server, but I have not gotten it to work. I tried starting it by /usr/lib/cups/daemon/cups-lpd start, and the process would hang and have to be killed. I also tried putting it in inetd by adding printer stream tcp nowait lp /usr/lib/cup/daemon/cups-lpd to /etc/inetd.conf. inetd seemed to restart okay, but I am still unable to do a lpr print and I am not sure if cups-lpd is actually running. Is there another approach that I should try? Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Adam Thornton Sent: Friday, June 01, 2007 12:24 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Printer help On Jun 1, 2007, at 11:10 AM, Jones, Russell wrote: I have a network printer that I have installed through the cups web/ gui interface. I am able to print a test page from the gui but I am not able to print from the command line. This is what I get: [EMAIL PROTECTED]:~# lpr test.print Status Information, attempt 1 of 3: sending job '[EMAIL PROTECTED]' to [EMAIL PROTECTED] connecting to 'localhost', attempt 1 cannot open connection to localhost - No such file or directory Make sure the remote host supports the LPD protocol Any suggestions? Do you have CUPS set up to do lpd emulation on port 515 (I think)? If not, well, you can't print because nothing's listening to the lpd port. Cups by default uses IPP, which is 631, I think. Adam -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: CUPS printing help
I put the mentioned lines back in the cupsd.conf file and I changed the Allow from 127.0.0.1 line to the ip of my pc. I uncommented the SystemGroup sys line and created a cupsadmin user with sys as his primary group. Then I restarted cups. Now I am prompted to logon when I try to access the cups admin web interface (I was not before.) I can logon with cupsadmin, but the images are still not displayed and I can't access the manage printers page. The /var/log/cups/access_log is full of messages like this: 10.5.8.76 - cupsadmin [23/May/2007:14:11:50 -0500] GET /images/left.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:11:50 -0500] GET /images/right.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:11:50 -0500] GET /images/add-class.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:11:50 -0500] GET /images/manage-classes.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:11:50 -0500] GET /images/manage-jobs.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:11:50 -0500] GET /images/add-printer.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:11:50 -0500] GET /images/manage-printers.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:03 -0500] GET /printers/ HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:06 -0500] GET /cups.css HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:06 -0500] GET /images/navbar.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:06 -0500] GET /images/left.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:07 -0500] GET /images/right.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:07 -0500] GET /images/add-class.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:07 -0500] GET /images/manage-classes.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:07 -0500] GET /images/manage-jobs.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:07 -0500] GET /images/add-printer.gif HTTP/1.1 403 0 10.5.8.76 - cupsadmin [23/May/2007:14:12:07 -0500] GET /images/manage-printers.gif HTTP/1.1 403 0 I changed the permissions on /usr/doc/cups-1.1.23/ to 755, and restarted cups, but it did not seem to make a difference. Do I need to alter the permissions on some other file system? Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Wednesday, May 23, 2007 1:09 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: CUPS printing help On Tue, May 22, 2007 at 1:58 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I am running Slack/390 10.1 in an LPAR. I am trying to use CUPS to set up a network printer. I commented out the following lines in the cupsd.conf file that restrict remote CUPS admin and require authentication. That probably wasn't a good idea. If you don't want to send root's password over the network, then uncomment this in /etc/cups/cupsd.conf SystemGroup sys Then add a user, say cupsadmin, with sys as their primary group. Order deny,allow Deny from all Allow from 127.0.0.1 AuthType Basic AuthClass System Put all these statements back in. Change the Allow from 127.0.0.1 to Allow from xx.xx.xx.xx/24 or whatever subnet you want to accept logins from. Restart cupsd. Login as cupsadmin to do any administration work. I am now able to get to the main admin page at myip:631/admin, but none of the images on the page are being displayed. I can get to the add new printer and add new classes pages, but when I attempt to access the manage printers and manage classes pages, I get an http 403 forbidden error. Look in /var/log/cups/access_log and /var/log/cups/error_log. See what exactly is getting the 403 error. Check the permissions on those directories and files. If they're not 755, they probably should be. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: CUPS printing help
I did a recursive chmod on all files and subdirectories in /usr/doc/cups-1.1.23/ so the content of the images directory is 755 also. Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Wednesday, May 23, 2007 2:44 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: CUPS printing help On Wed, May 23, 2007 at 3:36 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: -snip- I changed the permissions on /usr/doc/cups-1.1.23/ to 755, and restarted cups, but it did not seem to make a difference. Do I need to alter the permissions on some other file system? What about the /usr/doc/cups-1.1.23/images/ directory permissions? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
CUPS printing help
I am running Slack/390 10.1 in an LPAR. I am trying to use CUPS to set up a network printer. I commented out the following lines in the cupsd.conf file that restrict remote CUPS admin and require authentication. Order deny,allow Deny from all Allow from 127.0.0.1 AuthType Basic AuthClass System I am now able to get to the main admin page at myip:631/admin, but none of the images on the page are being displayed. I can get to the add new printer and add new classes pages, but when I attempt to access the manage printers and manage classes pages, I get an http 403 forbidden error. I appreciate any help or suggestions. Russ Jones ANPAC -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: java install question
You need to install the IBM Linux version on the jdk for s/390. You can find it here. http://www-128.ibm.com/developerworks/java/jdk/ You will be required to set up an account on the web site before you can download the jdk. Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of LJ Mace Sent: Tuesday, May 22, 2007 12:47 PM To: LINUX-390@VM.MARIST.EDU Subject: java install question We have run into what some seem to think is a Java problem, so we were asked to upgrade. Currently we are running: rpm -qa |grep sun java-1_4_2-sun-plugin-1.4.2.11-1.1 java-1_4_2-sun-1.4.2.11-1.1 So I went to the download site and downloaded : j2re-1_4_2_14-linux-i586.rpm I followed the directions to install it from: www.java.com/en/download/help/linux_install.xml#install Made a change to my java.conf file,amoung other things, and then tried the app. It still fails, so I do another rpm -qa |grep sun fully expecting to see the java...14 version,but it still shows the old(above) display. I then rebooted but that didn't help. I thought maybe some here could help. thanks Mace Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Problems starting Slackware after new install
This time it died trying to start mysql. I wonder if I didn't get that package installed? I guess that I need to keep it from trying to start at IPL time for now. Can I do that from the starter system without running the setup? -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Thursday, March 29, 2007 5:25 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problems starting Slackware after new install On Thu, Mar 29, 2007 at 5:11 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I got farther this time. I completed the installation and IPLed from my DASD volume. It started to come up, but froze and went into a disabled wait after trying to start gmp. Sigh. One more reason why I suggest people to go with 10.1. I ripped gpm out of that version. It doesn't always cause problems, but when it does, it's ugly. -snip- Is there any way to fix it without reinstalling everything? You should be able to IPL the starter system, but once you SSH in, instead of starting the install process, do an insmod dasd_eckd_mod dasd=xxx where xxx is the device number of the volume where your root file system is. Then, mount /dev/dasda? /mnt and chmod -x /mnt/etc/rc.d/rc.gpm If you then umount /mnt and re-IPL, you should be OK. If not, you'll need to follow the steps above to get the root file system mounted, then chroot /mnt, and then removepkg gpm followed by exit, umount, and a re-IPL. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Problems starting Slackware after new install
That sounds like what my problem is. I did not install the K set. Are there any other sets that must be installed? *** So, is it correct that when I IPL Slack/390 after the install, it will not be accessible from the network, and will have to change the network settings from the HMC? *** I ended up giving up on the CD and IPLing from tape. Thanks, Russ Jones -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Wednesday, March 28, 2007 4:34 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problems starting Slackware after new install On Wed, Mar 28, 2007 at 5:24 PM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I have completed the install of Slackware 10.0 in an LPAR on our mainframe. The install seemed to complete without any problems, but my new Slack/390 will not IPL. The LPAR goes into disabled wait status. Any ideas why my boot information is not being found? This is due to a bug/undocumented requirement in Slack/390 10.0. If you didn't select the s390-tools package (in the K series) to be installed, this is what happens. You can re-run the install and make sure it includes that package. I would recommend, however, that you use what's in Slack390-current on the download server. More up to date, etc. Just be aware that there's another lack in the both installers. The network information you supply during the install doesn't get propagated to the system being installed. You'll need to enter that information manually, later. Getting time to fix that has been what's holding up renaming -current to -10.1. :( I was going to respond to your prior note about the installing seeming to hang after finding the initrd. What happened to get you past that? Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Problems starting Slackware after new install
I got farther this time. I completed the installation and IPLed from my DASD volume. It started to come up, but froze and went into a disabled wait after trying to start gmp. Starting gmp: /usr/sbin/gmp -m /dev/mouse -t ps2 gmp: oops() invoked from gmp.c(955) Failed on virtual console check: No such file or directory Bash-3.00# I don't need any mouse support for Slack/390, but the setup seemed to force me to choose a mouse driver. Do I need to reinstall and exclude the mouse package(s)? Is there any way to fix it without reinstalling everything? Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Thursday, March 29, 2007 11:41 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Problems starting Slackware after new install On Thu, Mar 29, 2007 at 9:32 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: That sounds like what my problem is. I did not install the K set. Are there any other sets that must be installed? Usually, A, part of AP, and N are all that is required. (I moved s390-tools into A). I personally also install L and K. *** So, is it correct that when I IPL Slack/390 after the install, it will not be accessible from the network, and will have to change the network settings from the HMC? *** Essentially, you're looking at two commands: ifconfig ifname ipaddress netmask route add default gw ipaddress Then, you can SSH in from the outside and edit /etc/rc.d/rc.inet1.conf appropriately. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Slackware IPL Tape
I am in the process on installing Slackware 10.0 on an LPAR. I have successfully created an IPL tape, but I would like to know if those IPL tape files can be burned to a CD to load from the HMC CD drive, or written to DASD so I can load from disk. The tape is becoming a little cumbersome. Thanks, Russ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: Slackware IPL Tape
I created an IPL CD and loaded it from the HMC. It got to the message RAMDISK: compressed image found at block 0 and it seems to lock up. Russ -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Wednesday, March 28, 2007 9:54 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Slackware IPL Tape On Wed, Mar 28, 2007 at 10:34 AM, in message [EMAIL PROTECTED] , Jones, Russell [EMAIL PROTECTED] wrote: I am in the process on installing Slackware 10.0 on an LPAR. I have successfully created an IPL tape, but I would like to know if those IPL tape files can be burned to a CD to load from the HMC CD drive, or written to DASD so I can load from disk. The tape is becoming a little cumbersome. Yes, they can. Take a look at the slack390-10.0/kernels/slack390.ins file. When you create the CD, make sure the fully qualified names /path/to/filename, are relative to the location of the slack390.ins file. So, the simplest thing to do is put them all in one directory, just as the sample was created. The other thing you can do, if your network firewalls will allow it, is to IPL from an FTP server, using the slack390.ins file and the three starter files. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Problems starting Slackware after new install
I have completed the install of Slackware 10.0 in an LPAR on our mainframe. The install seemed to complete without any problems, but my new Slack/390 will not IPL. The LPAR goes into disabled wait status. Any ideas why my boot information is not being found? Thanks, Russ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Passport Web To Host from Linux
I am trying to serve Passport Web To Host from Linux using Tomcat. Passport is a Zephyr product that we use for our 3270 emulation. I would be interested to know if anyone else has tried this. Thanks, Russ Jones ANPAC -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR
The df command shows the following: [EMAIL PROTECTED] dev]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 6676408 1430704 4906556 23% / /dev/dasda1 99168 14560 79492 16% /boot none 61260 0 61260 0% /dev/shm The following are present in the /dev directory: brw-rw 1 root disk 94, 0 Jan 16 11:37 dasda brw-rw 1 root disk 94, 1 Jan 16 11:37 dasda1 brw-rw 1 root disk 94, 2 Jan 16 11:37 dasda2 brw-rw 1 root disk 94, 4 Jan 16 11:43 dasdb brw-rw 1 root disk 94, 5 Jan 16 11:43 dasdb1 brw-rw 1 root disk 94, 6 Jan 16 11:43 dasdb2 dasdb1 in the only one that I can get to mount. When I try to mount dasdb2 I get: [EMAIL PROTECTED] dev]# mount /dev/dasdb2 /mnt/322C mount: you must specify the filesystem type When I try to specify type ext3 I get: [EMAIL PROTECTED] dev]# mount /dev/dasdb2 /mnt/322C -t ext3 mount: wrong fs type, bad option, bad superblock on /dev/dasdb2, or too many mounted file systems Does Centos/RedHat Enterprise 4 use a different filesytem type, and if so, how do I find out what it is? Also, I am curious why df shows the root file system at /dev/mapper/VolGroup00-LogVol00. Thanks for your patience with me, Russ Jones -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Post, Mark K Sent: Tuesday, January 16, 2007 6:17 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR Whatever the partition number on the source volume, will be the partition number on the target volume. So, if your root partition is /dev/dasda2 on the source, then in your case the root partition will be /dev/dasdb2 on the system where you are modifying it. If it was /dev/dasda3, then use /dev/dasdb3. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Jones, Russell Sent: Tuesday, January 16, 2007 5:01 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR I have been working through the HowTo on Cloning Red Hat Linux. I copied my Linux dasd volume using MVS. I brought the new volume online, and it showed up as dasdb. When I mount /dev/dasdb1, I seems to be mounting the boot partition and not the root file system. Any suggestions would be appreciated. Thanks, Russ Jones -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR
Results from the scan commands: [EMAIL PROTECTED] dev]# pvscan Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasdb2 not /dev/dasda2 PV /dev/dasdb2 VG VolGroup00 lvm2 [6.75 GB / 32.00 MB free] Total: 1 [6.75 GB] / in use: 1 [6.75 GB] / in no VG: 0 [0 ] [EMAIL PROTECTED] dev]# vgscan Reading all physical volumes. This may take a while... Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasdb2 not /dev/dasda2 Found volume group VolGroup00 using metadata type lvm2 [EMAIL PROTECTED] dev]# lvscan Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasdb2 not /dev/dasda2 ACTIVE'/dev/VolGroup00/LogVol00' [6.47 GB] inherit ACTIVE'/dev/VolGroup00/LogVol01' [256.00 MB] inherit [EMAIL PROTECTED] dev]# pvdisplay /dev/dasdb2 Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasda2 not /dev/dasdb2 Found duplicate PV 16aDZnp0DyR9MAfGCRkPM8RSMBI49PDY: using /dev/dasdb2 not /dev/dasda2 --- Physical volume --- PV Name /dev/dasdb2 VG Name VolGroup00 PV Size 6.75 GB / not usable 0 Allocatable yes PE Size (KByte) 32768 Total PE 216 Free PE 1 Allocated PE 215 PV UUID 16aDZn-p0Dy-R9MA-fGCR-kPM8-RSMB-I49PDY Looks like the volume groups have the same name. Is there any way around that? Russ Jones -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Post, Mark K Sent: Wednesday, January 17, 2007 10:56 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR That's Red Hat putting the root file system on an LVM logical volume. Ugh. I hate when that is done. You might have a shot at getting something to mount if you do this for starters: pvscan vgscan lvscan If LVM finds the logical volume, and there aren't any conflicts, it might create a device node for it. You should then be able to mount the resulting logical volume. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Jones, Russell Sent: Wednesday, January 17, 2007 9:40 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR The df command shows the following: [EMAIL PROTECTED] dev]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 6676408 1430704 4906556 23% / /dev/dasda1 99168 14560 79492 16% /boot none 61260 0 61260 0% /dev/shm The following are present in the /dev directory: brw-rw 1 root disk 94, 0 Jan 16 11:37 dasda brw-rw 1 root disk 94, 1 Jan 16 11:37 dasda1 brw-rw 1 root disk 94, 2 Jan 16 11:37 dasda2 brw-rw 1 root disk 94, 4 Jan 16 11:43 dasdb brw-rw 1 root disk 94, 5 Jan 16 11:43 dasdb1 brw-rw 1 root disk 94, 6 Jan 16 11:43 dasdb2 dasdb1 in the only one that I can get to mount. When I try to mount dasdb2 I get: [EMAIL PROTECTED] dev]# mount /dev/dasdb2 /mnt/322C mount: you must specify the filesystem type When I try to specify type ext3 I get: [EMAIL PROTECTED] dev]# mount /dev/dasdb2 /mnt/322C -t ext3 mount: wrong fs type, bad option, bad superblock on /dev/dasdb2, or too many mounted file systems Does Centos/RedHat Enterprise 4 use a different filesytem type, and if so, how do I find out what it is? Also, I am curious why df shows the root file system at /dev/mapper/VolGroup00-LogVol00. Thanks for your patience with me, Russ Jones -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: New HOWTO: Cloning Red Hat Linux Running in an LPAR
I have been working through the HowTo on Cloning Red Hat Linux. I copied my Linux dasd volume using MVS. I brought the new volume online, and it showed up as dasdb. When I mount /dev/dasdb1, I seems to be mounting the boot partition and not the root file system. Any suggestions would be appreciated. Thanks, Russ Jones -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Post, Mark K Sent: Monday, January 15, 2007 9:21 AM To: LINUX-390@VM.MARIST.EDU Subject: New HOWTO: Cloning Red Hat Linux Running in an LPAR A new HOWTO has been added to the web site: Cloning Red Hat Linux Running in an LPAR. A couple of people had expressed interest in seeing Mike's original document, so I made myself take the time over the weekend to get it formatted. Thanks to Mike Nettles, for documenting his methods for the rest of us. http://linuxvm.org/info/HOWTOs/ Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Migrate Linux to different LPAR
We have recently installed CentOS Linux on our test Linux LPAR. We would like to migrate it to our production LPAR without having to do a new install. CentOS is intalled on a single dasd volume. We would like to simply copy the volume and IPL to the new volume on the new LPAR. The problem is that after we IPL on the new volume, Linux is still pointing to the file system on the old volume. This is the process that we followed to try to change the dasd volume that Linux uses. - change /etc/modprode.conf ochanged options dasd_mod dasd=322B to options dasd_mod dasd=322C - run mkinitrd to pick up the changes to modprobe.conf omkinitrd -v initrd-2.6.9-42.0.2.EL.img 2.6.9-42.0.2.EL othis showed the line Loading module dasd_mod with options dasd=322C so it seemed like changes were picked up. - run zipl command ozipl -V ocontents of zipl.conf looks like this: * [defaultboot] * default=linux * target=/boot/ * [linux] * image=/boot/vmlinuz-2.6.9-42.0.2.EL * ramdisk=/boot/initrd-2.6.9-42.0.2.EL.img * parameters=root=/dev/VolGroup00/LogVol00 Output from zipl contained the following messages: DASD device number..: 322b Preparing boot device: dasda (322b). Those messages lead me to believe that it is still pointing to the old dasd address. The plan was to make the dasd address changes, copy the volume, and then set the dasd address back to the original address on the old system, and IPL the new volume in the new LPAR. Is there something that I am missing? Is there and easier way to clone a linux system in a different LPAR? I appreciate any suggestions. Thanks, Russell Jones ANPAC System Programmer CONFIDENTIALITY/PRIVILEGE NOTICE: This transmission and any attachments are intended solely for the addressee. The information contained in this transmission is confidential in nature and protected from further use or disclosure under U.S. Pub. L. 106-102, 113 U.S. Stat. 1338 (1999), and may be subject to attorney-client or other legal privilege. Your use or disclosure of this information for any purpose other than that intended by its transmittal is strictly prohibited and may subject you to fines and/or penalties under federal and state law. If you are not the intended recipient of this transmission, please destroy all copies received and confirm destruction to the sender via return transmittal. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390