Re: Timezone change.

2007-03-22 Thread Evans, Kevin R
On the z/OS side, we had some issues that we raised to IBM via an ETR. We ended 
up adding a line to CEECOPT (LE Options) that specified the month, week and 
time to change the clocks (US East Coast time was a default that we used 
(probably without even realizing it). Certainly, the C localtime calls that we 
do worked correctly with the added line to CEECOPT. An IBM APAR gave us some 
issues as we currently have some of our systems at different PTF levels. Is 
there a similar file to change under z/VM?

Kevin

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Jose Raul Baron
Sent: Wednesday, March 21, 2007 5:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Timezone change.

Yes, I have also date related problems: 

In Madrid it's now 10'30 local time. But: 

 date
mié mar 21 11:30:45 CET 2007 

The DOW is correct and so is the date but the time is one hour in advance. 
Don't know how to handle this. 

-Mensaje original-
De: Linux on 390 Port [mailto:[EMAIL PROTECTED] En nombre de Goodwin,
Derric
Enviado el: martes, 20 de marzo de 2007 22:56
Para: LINUX-390@VM.MARIST.EDU
Asunto: Re: Timezone change.

We patched all of our z/systems and when we rebooted some of them defaulted
back to UTC and the time was showing off. I reset them via yast to reflect
localtime and everything went well after IPL.

 

The following (DST weekend) I patched all my systems, made sure they were
reflecting localtime and now after IPL they are showing up on UTC time, but
in yast their are showing up as localtime.

 

Any ideas why some of my guests (across different lpars) boot in UTC even
though they show localtime and why some of my guests never had a problem
with this and always ipl into the correct hardware clock mode?

 

Anyone else experience this problem? Could it have something to do with VM
and how the guest is picking up its time on ipl?

 

Thanks.

 

 

 

 


--
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: Graphing program?

2007-03-22 Thread Andy Robertson
If you want to run on z/OS there is a freeware program (GDDM freeform batch
interface) I wrote available here


http://home.clara.net/andywrobertson/mvsbatchart.html


It's a clunky old thing but it works



  Andy Robertson   telephone 01273-488272 mobile 0777 214 9545






  dave
  [EMAIL PROTECTED] To:  
LINUX-390@VM.MARIST.EDU
  ware.comcc:  (bcc: Andy 
Robertson/MANSERV/JLP)
  Sent by: Linux   Subject: Re: Graphing program?
  on 390 Port
  [EMAIL PROTECTED]
  RIST.EDU


  21/03/2007 21:24
  Please respond
  to dave






John,
take a look at GDDM.it can create a GIF graphics
fileand you might already have it installed on your Z/OS
system.g,d,r :-)

DJ

- Original Message Follows -
From: McKown, John [EMAIL PROTECTED]
To: LINUX-390@VM.MARIST.EDU
Subject: Graphing program?
Date: Wed, 21 Mar 2007 11:45:17 -0500

 What is a good program which can take a file of input data
 in some format such as CSV or tab-separated and create a
 GIF or PNG file with a graph of the data? Either a line
 graph or a column bar graph would be nice. Nothing super
 fancy. This needs to be something that I can automate
 because I'm too lazy to do this myself every week. grin

 --
 John McKown
 Senior Systems Programmer
 HealthMarkets
 Keeping the Promise of Affordable Coverage
 Administrative Services Group
 Information Technology

 The information contained in this e-mail message may be
 privileged and/or confidential.  It is for intended
 addressee(s) only.  If you are not the intended recipient,
 you are hereby notified that any disclosure, reproduction,
 distribution or other use of this communication is
 strictly prohibited and could, in certain circumstances,
 be a criminal offense.  If you have received this e-mail
 in error, please notify the sender by reply and delete
 this message without copying or disclosing it.

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




**
This email is confidential and may contain copyright material of the John Lewis 
Partnership. If you are not the intended recipient, please notify us 
immediately and delete all copies of this message. (Please note that it is your 
responsibility to scan this message for viruses). Email to and from the John 
Lewis Partnership is automatically monitored for operational and lawful 
business reasons.
**
John Lewis plc
Registered in England 233462
Registered office  171 Victoria Street London SW1E 5NN

Websites: http://www.johnlewis.com
http://www.waitrose.com
http://www.greenbee.com
http://www.johnlewispartnership.co.uk

**

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


can a max file size be set when using lvm

2007-03-22 Thread Ayer, Paul W
Good day,

Back ground;

   Today on non z/Linux systems our install sets a max file
size for / ,  /opt,  /tmp,   /var,/usr  
   this is done at install time by setting the partition
size and then the mount point to that partition.
   The minimum size real hard drive is 36g.


The problem;

  On our z/Linux systems we have decided to go with only
ECKD disks and all mod3's
  This gives us many 2.3g drives.

   If in the install I set say 10  2.3g disks into one lvm
(giving me a 23g drive).
   Setting the Mount point to /
 
   Is there a way to set a limit size for say /var to only
be able to grow as big as 4.0g
   or /tmp to a max of 2.0g ?


 other: 

  If the best answer would be to set our ECKD disk to bigger
than mod3 ( say mod27 or 54 )
  so that the disk could be the right size and not do lvm
any feedback that would support
  that would help 

  But if it can be done using lvm that is the way we would
like to go ..


Thanks,
 
Paul

--
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: can a max file size be set when using lvm

2007-03-22 Thread Rich Smrcina

Allocate logical volumes of the required size for those file systems.

Ayer, Paul W wrote:

Good day,

Back ground;

   Today on non z/Linux systems our install sets a max file
size for / ,  /opt,  /tmp,   /var,/usr
   this is done at install time by setting the partition
size and then the mount point to that partition.
   The minimum size real hard drive is 36g.


The problem;

  On our z/Linux systems we have decided to go with only
ECKD disks and all mod3's
  This gives us many 2.3g drives.

   If in the install I set say 10  2.3g disks into one lvm
(giving me a 23g drive).
   Setting the Mount point to /

   Is there a way to set a limit size for say /var to only
be able to grow as big as 4.0g
   or /tmp to a max of 2.0g ?


 other:

  If the best answer would be to set our ECKD disk to bigger
than mod3 ( say mod27 or 54 )
  so that the disk could be the right size and not do lvm
any feedback that would support
  that would help

  But if it can be done using lvm that is the way we would
like to go ..


Thanks,

Paul

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



--
Rich Smrcina
VM Assist, Inc.
Phone: 414-491-6001
Ans Service:  360-715-2467
rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007

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


NIS on Linux

2007-03-22 Thread Stahr, Lea
I am trying to startup NIS usage on both SuSE and Red Hat. They are
connecting to an HP-UX Unix master server. I have followed the
instructions and can do a YPWHICH, but the HP-UX system does not allow
me to authenticate because we (by default) use PAM. Can someone point me
to a source of info to either turn off PAM on these systems or configure
PAM to allow HP-UX connection? I appreciate any help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 


CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

--
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: NIS on Linux

2007-03-22 Thread Jeremy Warren
The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:04 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
[LINUX-390] NIS on Linux






I am trying to startup NIS usage on both SuSE and Red Hat. They are
connecting to an HP-UX Unix master server. I have followed the
instructions and can do a YPWHICH, but the HP-UX system does not allow
me to authenticate because we (by default) use PAM. Can someone point me
to a source of info to either turn off PAM on these systems or configure
PAM to allow HP-UX connection? I appreciate any help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]



CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

--
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: NIS on Linux

2007-03-22 Thread Stahr, Lea
I have NSSWITCH.CONF set to FILES then NIS for both password and group.
I have HOSTS set to FILES the NIS then DNS. I can see the passwd entries
and YPWHICH shows the server. I cannot logon using either the NIS
password or the local password.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you
might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:04 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
[LINUX-390] NIS on Linux






I am trying to startup NIS usage on both SuSE and Red Hat. They are
connecting to an HP-UX Unix master server. I have followed the
instructions and can do a YPWHICH, but the HP-UX system does not allow
me to authenticate because we (by default) use PAM. Can someone point me
to a source of info to either turn off PAM on these systems or configure
PAM to allow HP-UX connection? I appreciate any help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]



CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

--
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: NIS on Linux

2007-03-22 Thread Jeremy Warren
Try compat for your nsswitch.conf

example:

passwd: compat
group:  compat
shadow: compat

password_compat: nis
group_compat:nis
shadow_compat:   nis


And just double checking you do have the + entries in passwd, shadow(if
applicable), and group..

jrw







Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:40 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I have NSSWITCH.CONF set to FILES then NIS for both password and group.
I have HOSTS set to FILES the NIS then DNS. I can see the passwd entries
and YPWHICH shows the server. I cannot logon using either the NIS
password or the local password.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you
might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:04 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
[LINUX-390] NIS on Linux






I am trying to startup NIS usage on both SuSE and Red Hat. They are
connecting to an HP-UX Unix master server. I have followed the
instructions and can do a YPWHICH, but the HP-UX system does not allow
me to authenticate because we (by default) use PAM. Can someone point me
to a source of info to either turn off PAM on these systems or configure
PAM to allow HP-UX connection? I appreciate any help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]



CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

--
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: NIS on Linux

2007-03-22 Thread Stahr, Lea
I have the + entries, do not use shadow, I tried compat and it did not
work. I will add the 3 entries you have for nis and try that. Thanks!

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:47 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

Try compat for your nsswitch.conf

example:

passwd: compat
group:  compat
shadow: compat

password_compat: nis
group_compat:nis
shadow_compat:   nis


And just double checking you do have the + entries in passwd, shadow(if
applicable), and group..

jrw







Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:40 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I have NSSWITCH.CONF set to FILES then NIS for both password and group.
I have HOSTS set to FILES the NIS then DNS. I can see the passwd entries
and YPWHICH shows the server. I cannot logon using either the NIS
password or the local password.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you
might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:04 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
[LINUX-390] NIS on Linux






I am trying to startup NIS usage on both SuSE and Red Hat. They are
connecting to an HP-UX Unix master server. I have followed the
instructions and can do a YPWHICH, but the HP-UX system does not allow
me to authenticate because we (by default) use PAM. Can someone point me
to a source of info to either turn off PAM on these systems or configure
PAM to allow HP-UX connection? I appreciate any help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]



CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the

Re: NIS on Linux

2007-03-22 Thread Jeremy Warren
I would also turn off nscd if it's running until you were sure things were
working right.

jrw




Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:52 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I have the + entries, do not use shadow, I tried compat and it did not
work. I will add the 3 entries you have for nis and try that. Thanks!

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:47 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

Try compat for your nsswitch.conf

example:

passwd: compat
group:  compat
shadow: compat

password_compat: nis
group_compat:nis
shadow_compat:   nis


And just double checking you do have the + entries in passwd, shadow(if
applicable), and group..

jrw







Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:40 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I have NSSWITCH.CONF set to FILES then NIS for both password and group.
I have HOSTS set to FILES the NIS then DNS. I can see the passwd entries
and YPWHICH shows the server. I cannot logon using either the NIS
password or the local password.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you
might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:04 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
[LINUX-390] NIS on Linux






I am trying to startup NIS usage on both SuSE and Red Hat. They are
connecting to an HP-UX Unix master server. I have followed the
instructions and can do a YPWHICH, but the HP-UX system does not allow
me to authenticate because we (by default) use PAM. Can someone point me
to a source of info to either turn off PAM on these systems or configure
PAM to allow HP-UX connection? I appreciate any help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]



CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain 

Re: NIS on Linux

2007-03-22 Thread David Boyes
Also keep in mind there are two major NIS variants. Modern HPUX defaults to 
secure NIS, which has some extra setup steps to authenticate to NIS before 
it'll tell you anything.

-Original Message-
From: Jeremy Warren [EMAIL PROTECTED]
To: LINUX-390@VM.MARIST.EDU LINUX-390@VM.MARIST.EDU
Sent: 3/22/07 10:45 AM
Subject: Re: NIS on Linux

The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22

--
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: NIS on Linux

2007-03-22 Thread Stahr, Lea
I do not think we are secure NIS as we are on 11.11 (11i or 11 V1). I
can do a ypcat and see the server OK.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
David Boyes
Sent: Thursday, March 22, 2007 10:08 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

Also keep in mind there are two major NIS variants. Modern HPUX defaults
to secure NIS, which has some extra setup steps to authenticate to NIS
before it'll tell you anything.

-Original Message-
From: Jeremy Warren [EMAIL PROTECTED]
To: LINUX-390@VM.MARIST.EDU LINUX-390@VM.MARIST.EDU
Sent: 3/22/07 10:45 AM
Subject: Re: NIS on Linux

The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you
might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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


Tomcat DataSource to DB2.

2007-03-22 Thread Fargusson.Alan
Has anyone been able to access DB2 on z/OS using a DataSource on Tomcat?

I have been able to access DB2 on z/OS without a DataSource, but I keep getting 
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class 
'' for connect URL 'null' when I use a DataSource.

I have not found any examples for DB2 with Tomcat.  My configuration is based 
on various examples for other databases, but I probably missed something.

I have DB2 Connect V8.1 on Linux (actually I think it is 8.2).  Tomcat is 
5.0.18.

--
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: can a max file size be set when using lvm

2007-03-22 Thread Michael MacIsaac
 If in the install I set say 10  2.3g disks into one lvm
 Setting the Mount point to /

Others have described issues when using a logical volume for the root file
system. If LVM gets confused, which happens from time to time, then your
system doesn't boot. I would recommend keeping the root file system on a
conventional mindisk/DASD.

-Maybe- you only want to use LVM when you have to.  Suppose the base
system is three 3390-3s - one for /, one for /usr and one for /opt let's
say (or put / on a single 3390-9).  If a minimal system is about 1GB (see
below), then your base system / is perhaps 17% used, /usr is 28% used and
/opt is pretty much empty. There's a fair amount of room for growth:

s390x system - minimal install:
# du -sm /* /
8   /bin
12  /boot
1   /dev
9   /etc
1   /home
33  /lib
11  /lib64
1   /lost+found
1   /media
1   /mnt
5   /opt
257 /proc
1   /root
12  /sbin
1   /srv
0   /sys
1   /tmp
624 /usr
47  /var
993 /

Then if you need to put a large chuck of data somewhere, you create an LVM
and mount it where it is needed.

I feel the whole possible issue of the root file system will fill up is
overblown.  logrotate does its job. Just my two cents - I sure others will
have different suggestions.

Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

--
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: NIS on Linux

2007-03-22 Thread Stahr, Lea
Do I need to reboot after turning off nscd? Or kill the pids?

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 10:05 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

I would also turn off nscd if it's running until you were sure things
were
working right.

jrw




Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:52 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I have the + entries, do not use shadow, I tried compat and it did not
work. I will add the 3 entries you have for nis and try that. Thanks!

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:47 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

Try compat for your nsswitch.conf

example:

passwd: compat
group:  compat
shadow: compat

password_compat: nis
group_compat:nis
shadow_compat:   nis


And just double checking you do have the + entries in passwd, shadow(if
applicable), and group..

jrw







Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:40 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I have NSSWITCH.CONF set to FILES then NIS for both password and group.
I have HOSTS set to FILES the NIS then DNS. I can see the passwd entries
and YPWHICH shows the server. I cannot logon using either the NIS
password or the local password.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you
might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:04 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
[LINUX-390] NIS on Linux






I am trying to startup NIS usage on both SuSE and Red Hat. They are
connecting to an HP-UX Unix master server. I have followed the
instructions and can do a YPWHICH, but the HP-UX system does not allow
me to authenticate because we (by default) use PAM. Can someone point me
to a source of info to either turn off PAM on these systems or configure
PAM to allow HP-UX connection? I appreciate any help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]



CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

Re: Timezone change.

2007-03-22 Thread Hodge, Robert L
Kevin,
The corresponding LE change on VM is in the EDCLOCI ASSEMBLE file. 
From the MAINT userid enter:
VMFSETUP ZVM LESFS
CUSTLE ZVM LESFS
select option 3, 'C Locale Time Info'
 
I'm using the following for Eastern time in EDCLOCI ASSEMBLE, right or wrong.

EDCLOCI  EDCLOCTZ TZDIFF=300,TNAME='EST',  *
   DSTSTM=3,DSTSTW=2,DSTSTD=0,STARTTM=7200,SHIFT=3600, *
   DSTENM=11,DSTENW=1,DSTEND=0,ENDTM=7200,DSTNAME='EDT',   *
   UCTNAME='UTC'

After filing the changes, CUSTLE will assemble the file and build the new 
modules.
VMFCOPY the new modules to the MAINT 19E, and save CMS. The LE shared segments
SCEE and SCEEX will have to be rebuild for the new modules.

Also, Language Environment APAR VM64117 / PTF UM31924 provides needed changes 
to several C/C++ library functions.

Reference http://www.vm.ibm.com/service/DST2007.html for z/VM DST changes.
Interestingly, EDCLOCI ASSEMBLE is not mentioned on that web page.

Robert Hodge 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Evans, Kevin R
Sent: Thursday, March 22, 2007 3:33 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Timezone change.

On the z/OS side, we had some issues that we raised to IBM via an ETR. We ended 
up adding a line to CEECOPT (LE Options) that specified the month, week and 
time to change the clocks (US East Coast time was a default that we used 
(probably without even realizing it). Certainly, the C localtime calls that we 
do worked correctly with the added line to CEECOPT. An IBM APAR gave us some 
issues as we currently have some of our systems at different PTF levels. Is 
there a similar file to change under z/VM?

Kevin

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Jose Raul Baron
Sent: Wednesday, March 21, 2007 5:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Timezone change.

Yes, I have also date related problems: 

In Madrid it's now 10'30 local time. But: 

 date
mié mar 21 11:30:45 CET 2007 

The DOW is correct and so is the date but the time is one hour in advance. 
Don't know how to handle this. 

-Mensaje original-
De: Linux on 390 Port [mailto:[EMAIL PROTECTED] En nombre de Goodwin, Derric 
Enviado el: martes, 20 de marzo de 2007 22:56
Para: LINUX-390@VM.MARIST.EDU
Asunto: Re: Timezone change.

We patched all of our z/systems and when we rebooted some of them defaulted 
back to UTC and the time was showing off. I reset them via yast to reflect 
localtime and everything went well after IPL.

 

The following (DST weekend) I patched all my systems, made sure they were 
reflecting localtime and now after IPL they are showing up on UTC time, but in 
yast their are showing up as localtime.

 

Any ideas why some of my guests (across different lpars) boot in UTC even 
though they show localtime and why some of my guests never had a problem with 
this and always ipl into the correct hardware clock mode?

 

Anyone else experience this problem? Could it have something to do with VM and 
how the guest is picking up its time on ipl?

 

Thanks.

 

 

 

 


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

--
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: NIS on Linux

2007-03-22 Thread Jeremy Warren
No reboot needed, if using SuSE it's just /etc/init.d/nscd stop






Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 11:15 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






Do I need to reboot after turning off nscd? Or kill the pids?

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 10:05 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

I would also turn off nscd if it's running until you were sure things
were
working right.

jrw




Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:52 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I have the + entries, do not use shadow, I tried compat and it did not
work. I will add the 3 entries you have for nis and try that. Thanks!

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:47 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

Try compat for your nsswitch.conf

example:

passwd: compat
group:  compat
shadow: compat

password_compat: nis
group_compat:nis
shadow_compat:   nis


And just double checking you do have the + entries in passwd, shadow(if
applicable), and group..

jrw







Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:40 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I have NSSWITCH.CONF set to FILES then NIS for both password and group.
I have HOSTS set to FILES the NIS then DNS. I can see the passwd entries
and YPWHICH shows the server. I cannot logon using either the NIS
password or the local password.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 9:32 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

The real trick with PAM is to make sure that nsswitch is configured to
allow the userid's to appear.

If you issue:
getent passwd

do you see your NIS users too?

If not then your nsswitch.conf and/or nscd may need to be reconfigured.

once getent is working, pam should not have any issues, although you
might
need to tweak the pam stack to handle if the NIS server is unavailable.





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 10:04 AM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
[LINUX-390] NIS on Linux






I am trying to startup NIS usage on both SuSE and Red Hat. They are
connecting to an HP-UX Unix master server. I have followed the
instructions and can do a YPWHICH, but the HP-UX system does not allow
me to authenticate because we (by default) use PAM. Can someone point me
to a source of info to either turn off PAM on these systems or configure
PAM to allow HP-UX connection? I appreciate any help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]



CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.


Re: NIS on Linux

2007-03-22 Thread Michael MacIsaac
 Do I need to reboot after turning off nscd? Or kill the pids?
No. service nscd stop

Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

--
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: NIS on Linux

2007-03-22 Thread Michael MacIsaac
 service nscd stop
Whoops - or rcnscd stop on SLES 9 or earlier (SLES 10 and RHEL x have
the service command, SLES 9 does not)

Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

--
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: NIS on Linux

2007-03-22 Thread Adam Thornton

On Mar 22, 2007, at 10:04 AM, Jeremy Warren wrote:


I would also turn off nscd if it's running until you were sure
things were
working right.


nscd has never caused me anything but heartbreak.

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


Re: can a max file size be set when using lvm

2007-03-22 Thread RPN01
The problem with a layout like this is the granularity. With the root being
one large filesystem, and containing lots of other directories, you leave
yourself open to possible failures that can be avoided if you use LVM and
break up this filesystem.

The /var and /tmp directories can consume space very quickly, leaving you
with a root filesystem that is completely full without much notice. If these
are broken off into their own filesystems, they're much more controlled, and
can be more easily watched and problems diagnosed quicker.

The /home filesystem has the same problem as the other two; A runaway task
owned by some user can fill the filesystem quickly, leaving you...
Surprised.

Another problem comes if the guest needs to be re-imaged. Having /home in
with the root filesystem means that you can't just scratch that filesystem
and start over. You have to spend time moving data out, and then later back
in.

While you can allocate several smaller minidisks via zVM, you have to be
able to maintain the structure. It's somewhat of a problem to expand a
minidisk, while LVM allocations can be expanded and contracted very quickly,
and additional minidisks can be added to the volume group to address future
needs.

Our current standard is to allocate two 3390 mod 9 equivalent minidisks to a
new guest. The first becomes volume group vg_system, and is broken down into
/tmp (500 mb), /var (2.5 gb), swap (1 gb) and the root directory (whatever's
left). The second mod 9 becomes vg_local, and has /home (2 gb) and /opt (5.4
gb). We have most of our non-distribution software installed in the /opt
path.

If we need to move the users to another guest, we can move the second mod 9
to the other system, and they'd still have all their data and applications.
If the users run out of room, it's fairly simple to add another volume to
the volume group and expand the directory needing space. It's also fairly
easy to create another logical volume in the group and add another path and
filesystem when needed.

We haven't really seen any crashes due to root being in LVM. Where we have
had trouble, we'd have had the same problem with a flat filesystem as well.
Logging in twice comes to mind...

Note too that we set up our Intel-based Linux boxes in much the same way. In
this way, we can walk up to any box and have some reasonable expectations.

On logrotate: This tool does a great job... For what it works with. An
example where if fails to fit is sar data and reports, which already have a
timestamp in the name. logrotate doesn't handle files in that format, so you
end up having to come up with another way to control them. The rmf collector
is another one that has this problem, except in the /opt path. Printing and
e-mail can fill /var if there is some problem with a task creating files in
these spaces. /var can still fill up, despite your best efforts to control
it.

This layout has worked very well for us... Your mileage may vary.


--
   .~.Robert P. Nix Mayo Foundation
   /V\RO-OC-1-13200 First Street SW
  /( )\   507-284-0844  Rochester, MN 55905
  ^^-^^   -
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 3/22/07 10:16 AM, Michael MacIsaac [EMAIL PROTECTED] wrote:

 If in the install I set say 10  2.3g disks into one lvm
 Setting the Mount point to /

 Others have described issues when using a logical volume for the root file
 system. If LVM gets confused, which happens from time to time, then your
 system doesn't boot. I would recommend keeping the root file system on a
 conventional mindisk/DASD.

 -Maybe- you only want to use LVM when you have to.  Suppose the base
 system is three 3390-3s - one for /, one for /usr and one for /opt let's
 say (or put / on a single 3390-9).  If a minimal system is about 1GB (see
 below), then your base system / is perhaps 17% used, /usr is 28% used and
 /opt is pretty much empty. There's a fair amount of room for growth:

snip

 Then if you need to put a large chuck of data somewhere, you create an LVM
 and mount it where it is needed.

 I feel the whole possible issue of the root file system will fill up is
 overblown.  logrotate does its job. Just my two cents - I sure others will
 have different suggestions.

 Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

 --
 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: NIS on Linux

2007-03-22 Thread RPN01
Don't forget to go back and start it again once you have things stablized.
Without nscd, every request will cause a trip back to the server for data.
Nscd's purpose is to shortcut these requests, speading up your system and
cutting down on your network traffic. It is surprising just how much traffic
is generated by shutting down nscd.


--
   .~.Robert P. Nix Mayo Foundation
   /V\RO-OC-1-13200 First Street SW
  /( )\   507-284-0844  Rochester, MN 55905
  ^^-^^   -
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 3/22/07 10:45 AM, Jeremy Warren [EMAIL PROTECTED] wrote:

 No reboot needed, if using SuSE it's just /etc/init.d/nscd stop






 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 11:15 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 Do I need to reboot after turning off nscd? Or kill the pids?

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 10:05 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 I would also turn off nscd if it's running until you were sure things
 were
 working right.

 jrw




 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:52 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 I have the + entries, do not use shadow, I tried compat and it did not
 work. I will add the 3 entries you have for nis and try that. Thanks!

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 9:47 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 Try compat for your nsswitch.conf

 example:

 passwd: compat
 group:  compat
 shadow: compat

 password_compat: nis
 group_compat:nis
 shadow_compat:   nis


 And just double checking you do have the + entries in passwd, shadow(if
 applicable), and group..

 jrw







 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:40 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 I have NSSWITCH.CONF set to FILES then NIS for both password and group.
 I have HOSTS set to FILES the NIS then DNS. I can see the passwd entries
 and YPWHICH shows the server. I cannot logon using either the NIS
 password or the local password.

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 9:32 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 The real trick with PAM is to make sure that nsswitch is configured to
 allow the userid's to appear.

 If you issue:
 getent passwd

 do you see your NIS users too?

 If not then your nsswitch.conf and/or nscd may need to be reconfigured.

 once getent is working, pam should not have any issues, although you
 might
 need to tweak the pam stack to handle if the NIS server is unavailable.





 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:04 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 [LINUX-390] NIS on Linux






 I am trying to startup NIS usage on both SuSE and Red Hat. They are
 connecting to an HP-UX Unix master server. I have followed the
 instructions and can do a YPWHICH, but the HP-UX system does not allow
 me to authenticate because we (by default) use PAM. Can someone point me
 to a source of info to either turn off PAM on these systems or configure
 PAM to allow HP-UX connection? I appreciate any help.

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]



 CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
 and/or documents linked to this email, are intended for the
 addressee and may contain information that is privileged,
 confidential, proprietary, or otherwise protected by law.  Any
 dissemination, distribution, or copying is prohibited.  This
 notice serves as a confidentiality marking for the purpose of
 any confidentiality or nondisclosure agreement.  If you have
 received this communication in error, please contact the
 original sender.

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
 visit
 

Re: NIS on Linux

2007-03-22 Thread Jeremy Warren
Entirely agree.  It also offers some level of stability if the NIS server
is momentarily unavailable.






RPN01 [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 12:03 PM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






Don't forget to go back and start it again once you have things stablized.
Without nscd, every request will cause a trip back to the server for data.
Nscd's purpose is to shortcut these requests, speading up your system and
cutting down on your network traffic. It is surprising just how much
traffic
is generated by shutting down nscd.


--
   .~.Robert P. Nix Mayo Foundation
   /V\RO-OC-1-13200 First Street SW
  /( )\   507-284-0844  Rochester, MN 55905
  ^^-^^   -
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 3/22/07 10:45 AM, Jeremy Warren [EMAIL PROTECTED] wrote:

 No reboot needed, if using SuSE it's just /etc/init.d/nscd stop






 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 11:15 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 Do I need to reboot after turning off nscd? Or kill the pids?

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 10:05 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 I would also turn off nscd if it's running until you were sure things
 were
 working right.

 jrw




 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:52 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 I have the + entries, do not use shadow, I tried compat and it did not
 work. I will add the 3 entries you have for nis and try that. Thanks!

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 9:47 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 Try compat for your nsswitch.conf

 example:

 passwd: compat
 group:  compat
 shadow: compat

 password_compat: nis
 group_compat:nis
 shadow_compat:   nis


 And just double checking you do have the + entries in passwd, shadow(if
 applicable), and group..

 jrw







 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:40 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 I have NSSWITCH.CONF set to FILES then NIS for both password and group.
 I have HOSTS set to FILES the NIS then DNS. I can see the passwd entries
 and YPWHICH shows the server. I cannot logon using either the NIS
 password or the local password.

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 9:32 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 The real trick with PAM is to make sure that nsswitch is configured to
 allow the userid's to appear.

 If you issue:
 getent passwd

 do you see your NIS users too?

 If not then your nsswitch.conf and/or nscd may need to be reconfigured.

 once getent is working, pam should not have any issues, although you
 might
 need to tweak the pam stack to handle if the NIS server is unavailable.





 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:04 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 [LINUX-390] NIS on Linux






 I am trying to startup NIS usage on both SuSE and Red Hat. They are
 connecting to an HP-UX Unix master server. I have followed the
 instructions and can do a YPWHICH, but the HP-UX system does not allow
 me to authenticate because we (by default) use PAM. Can someone point me
 to a source of info to either turn off PAM on these systems or configure
 PAM to allow HP-UX connection? I appreciate any help.

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]



 CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
 and/or documents linked to this email, are intended for the
 addressee and may contain information that is privileged,
 confidential, proprietary, or otherwise protected by law.  Any
 dissemination, distribution, or copying is prohibited.  This
 notice serves as a confidentiality marking for the purpose of
 any confidentiality or 

Re: NIS on Linux

2007-03-22 Thread Stahr, Lea
I stopped the NSCD. Logon failed on Authentication Failure. This is SLES
8. Userid is not in the local passwd file.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Michael MacIsaac
Sent: Thursday, March 22, 2007 10:51 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

 service nscd stop
Whoops - or rcnscd stop on SLES 9 or earlier (SLES 10 and RHEL x have
the service command, SLES 9 does not)

Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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


Rappel : NIS on Linux

2007-03-22 Thread EXT / DUBOIS Laurent
L'expéditeur souhaite rappeler le message «NIS on Linux».

--
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 : NIS on Linux

2007-03-22 Thread EXT / DUBOIS Laurent
Hi,

I've just installed a RedHat under my z/VM.

I installed the system trough a nfs server and it ran ok.

Right now I want to add some packages, using KDE.

When I use the Add/Remove application tool, the system asks me to insert
a CD  But I don't have any CD under my system ... 

Does any one knows where I must change some parameters in order it
searchs the package trough the nfs server ?
( I kow how to do it with Yast under Suse, by changing source of
installlation menu ... But here I use RedHat)

I can do the rpm commands one by one, but I have severals packages to
install, and it will take some time to do it manually.

Thanks for any help

:-)  Laurent Dubois -

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


Installing package with NFS under RedHat

2007-03-22 Thread EXT / DUBOIS Laurent
Hi,

I've just installed a RedHat under my z/VM. (I used Suse before)

I installed the system trough a NFS server and it ran ok.

Right now I want to add some packages, using KDE.

When I use the Add/Remove application tool, the system asks me to insert
a CD  But I don't have any CD under my system ... 

Does any one knows where I must change some parameters in order it
searchs the package trough the nfs server ? ( I kow how to do it with
Yast under Suse, by changing source of installlation menu ... But here I
use RedHat)

I can do the rpm commands one by one, but I have severals packages to
install, and it will take some time to do it manually.

Thanks for any help.

:-)  Laurent Dubois -

--
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: Installing package with NFS under RedHat

2007-03-22 Thread Kyle Smith

You need to mount the NFS share with the packages on it and then
specify the --tree=/path/to/packages option to system-config-packages.
The tool assumes you're running it on something other than s390
(which is true of most of the system-config-* tools).

My memories of this tool are getting fuzzy because in RHEL 5 it uses
yum under the covers.  I can't recall if it was possible to tweak the
up2date/RHN sources (/etc/sysconfig/rhn/sources) with RHEL 4 and have
system-config-packages work...

ks

(Blatently copied from my post last week about this)


On 3/22/07, EXT / DUBOIS Laurent [EMAIL PROTECTED] wrote:

Hi,

I've just installed a RedHat under my z/VM. (I used Suse before)

I installed the system trough a NFS server and it ran ok.

Right now I want to add some packages, using KDE.

When I use the Add/Remove application tool, the system asks me to insert
a CD  But I don't have any CD under my system ...

Does any one knows where I must change some parameters in order it
searchs the package trough the nfs server ? ( I kow how to do it with
Yast under Suse, by changing source of installlation menu ... But here I
use RedHat)

I can do the rpm commands one by one, but I have severals packages to
install, and it will take some time to do it manually.

Thanks for any help.

:-)  Laurent Dubois -

--
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: Installing package with NFS under RedHat

2007-03-22 Thread Peter Webb, Toronto Transit Commission
I think you want to go to /etc/yum.repos.d and have a look for a file
something like RedHat-Media.repo (I don't know the exact name, since I
am using CentOS). Back up the file, then change the 'baseurl=' to point
to your NFS server.

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
EXT / DUBOIS Laurent
Sent: March 22, 2007 12:46
To: LINUX-390@VM.MARIST.EDU
Subject: Installing package with NFS under RedHat

Hi,

I've just installed a RedHat under my z/VM. (I used Suse before)

I installed the system trough a NFS server and it ran ok.

Right now I want to add some packages, using KDE.

When I use the Add/Remove application tool, the system asks me to insert
a CD  But I don't have any CD under my system ... 

Does any one knows where I must change some parameters in order it
searchs the package trough the nfs server ? ( I kow how to do it with
Yast under Suse, by changing source of installlation menu ... But here I
use RedHat)

I can do the rpm commands one by one, but I have severals packages to
install, and it will take some time to do it manually.

Thanks for any help.

:-)  Laurent Dubois -

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


The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  Any 
review retransmission dissemination or other use of or taking of any action in 
reliance upon this information by persons or entities other than the intended 
recipient or delegate is strictly prohibited.  If you received this in error 
please contact the sender and delete the material from any computer.  The 
integrity and security of this message cannot by guaranteed on the Internet.  
The Sender accepts no liability for the content of this e-mail or for the 
consequences of any actions taken on basis of the information provided.  The 
recipient should check this e-mail and any attachments for the presence of 
viruses.  The sender accepts no liability for any damage caused by any virus 
transmitted by this e-mail.  This disclaimer is the property of the TTC and 
must not be altered or circumvented in any manner.

--
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 : Installing package with NFS under RedHat

2007-03-22 Thread EXT / DUBOIS Laurent
Thanks a lot, it is exactely what I was searching for

Regards

:-)  Laurent Dubois - Equipe VM 




  _  

Laurent Dubois
*  [EMAIL PROTECTED]
*  03 28 55 63 88 - 22 53 88
*  03 28 55 63 22 - 22 63 22
SNCF - DSIV XS MM Systeme VM
Centre Informatique de Lille
Pont de Tournai - 59041 LILLE CEDEX 
  _  



-Message d'origine-
De : Linux on 390 Port [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 22 mars 2007 17:58
À : LINUX-390@VM.MARIST.EDU
Objet : Re: Installing package with NFS under RedHat


You need to mount the NFS share with the packages on it and then specify the 
--tree=/path/to/packages option to system-config-packages.  The tool assumes 
you're running it on something other than s390 (which is true of most of the 
system-config-* tools).

My memories of this tool are getting fuzzy because in RHEL 5 it uses yum under 
the covers.  I can't recall if it was possible to tweak the up2date/RHN sources 
(/etc/sysconfig/rhn/sources) with RHEL 4 and have system-config-packages work...

ks

(Blatently copied from my post last week about this)


On 3/22/07, EXT / DUBOIS Laurent [EMAIL PROTECTED] wrote:
 Hi,

 I've just installed a RedHat under my z/VM. (I used Suse before)

 I installed the system trough a NFS server and it ran ok.

 Right now I want to add some packages, using KDE.

 When I use the Add/Remove application tool, the system asks me to 
 insert a CD  But I don't have any CD under my system ...

 Does any one knows where I must change some parameters in order it 
 searchs the package trough the nfs server ? ( I kow how to do it with 
 Yast under Suse, by changing source of installlation menu ... But here 
 I use RedHat)

 I can do the rpm commands one by one, but I have severals packages to 
 install, and it will take some time to do it manually.

 Thanks for any help.

 :-)  Laurent Dubois -

 --
 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: NIS on Linux

2007-03-22 Thread Stahr, Lea
Turned off nscd and cannot authenticate to NIS. Userid is noot in local
passwd file. If I add him back, then I can logon using the local
password but not the NIS password.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 11:13 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

Entirely agree.  It also offers some level of stability if the NIS
server
is momentarily unavailable.






RPN01 [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 12:03 PM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






Don't forget to go back and start it again once you have things
stablized.
Without nscd, every request will cause a trip back to the server for
data.
Nscd's purpose is to shortcut these requests, speading up your system
and
cutting down on your network traffic. It is surprising just how much
traffic
is generated by shutting down nscd.


--
   .~.Robert P. Nix Mayo Foundation
   /V\RO-OC-1-13200 First Street SW
  /( )\   507-284-0844  Rochester, MN 55905
  ^^-^^   -
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 3/22/07 10:45 AM, Jeremy Warren [EMAIL PROTECTED] wrote:

 No reboot needed, if using SuSE it's just /etc/init.d/nscd stop






 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 11:15 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 Do I need to reboot after turning off nscd? Or kill the pids?

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 10:05 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 I would also turn off nscd if it's running until you were sure things
 were
 working right.

 jrw




 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:52 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 I have the + entries, do not use shadow, I tried compat and it did not
 work. I will add the 3 entries you have for nis and try that. Thanks!

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 9:47 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 Try compat for your nsswitch.conf

 example:

 passwd: compat
 group:  compat
 shadow: compat

 password_compat: nis
 group_compat:nis
 shadow_compat:   nis


 And just double checking you do have the + entries in passwd,
shadow(if
 applicable), and group..

 jrw







 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:40 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 Re: [LINUX-390] NIS on Linux






 I have NSSWITCH.CONF set to FILES then NIS for both password and
group.
 I have HOSTS set to FILES the NIS then DNS. I can see the passwd
entries
 and YPWHICH shows the server. I cannot logon using either the NIS
 password or the local password.

 Lea Stahr
 Linux/Unix Team
 630-753-5445
 [EMAIL PROTECTED]


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 Jeremy Warren
 Sent: Thursday, March 22, 2007 9:32 AM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: NIS on Linux

 The real trick with PAM is to make sure that nsswitch is configured to
 allow the userid's to appear.

 If you issue:
 getent passwd

 do you see your NIS users too?

 If not then your nsswitch.conf and/or nscd may need to be
reconfigured.

 once getent is working, pam should not have any issues, although you
 might
 need to tweak the pam stack to handle if the NIS server is
unavailable.





 Stahr, Lea [EMAIL PROTECTED]
 Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
 03/22/2007 10:04 AM
 Please respond to
 Linux on 390 Port LINUX-390@VM.MARIST.EDU


 To
 LINUX-390@VM.MARIST.EDU
 cc

 Subject
 [LINUX-390] NIS on Linux






 I am trying to startup NIS usage on both SuSE and Red Hat. They are
 connecting to an HP-UX Unix master server. I have followed the
 instructions and can do a YPWHICH, but the HP-UX system does not allow
 me to authenticate because we (by default) use PAM. Can someone point
me
 to a source of info to either turn off PAM on these systems or
configure
 PAM to allow HP-UX connection? I appreciate any help.

 Lea Stahr
 Linux/Unix Team
 

Re: NIS on Linux

2007-03-22 Thread Jeremy Warren
HmmI am running out of tricks..

what do you get when you do:

ypmatch [userid] passwd

Do you see the encrypted password in the second field?

What does this show?

id [userid]

From the double check tree...
are you sure there are enough colons in the various + entries?
are you doing anything with netgroups that might be getting in the way?
are you using the default pam_unix2.conf or has it been modified at all?
are you logging into the console (/etc/pam.d/login) or via ssh
(/etc/pam.d/sshd)?

jrw





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 12:06 PM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I stopped the NSCD. Logon failed on Authentication Failure. This is SLES
8. Userid is not in the local passwd file.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Michael MacIsaac
Sent: Thursday, March 22, 2007 10:51 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

 service nscd stop
Whoops - or rcnscd stop on SLES 9 or earlier (SLES 10 and RHEL x have
the service command, SLES 9 does not)

Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

--
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: can a max file size be set when using lvm

2007-03-22 Thread Ayer, Paul W
Well I have done some work and now have something that is getting closer

to what we would need here. This looks just like our non z systems. So
our
service areas would be happy-er 

lvm lvscan
  ACTIVE'/dev/VolGroup00/LogVol00' [1.00 GB] inherit
  ACTIVE'/dev/VolGroup00/opt' [2.00 GB] inherit
  ACTIVE'/dev/VolGroup00/tmp' [2.00 GB] inherit
  ACTIVE'/dev/VolGroup00/usr' [6.00 GB] inherit
  ACTIVE'/dev/VolGroup00/usr_local' [512.00 MB] inherit
  ACTIVE'/dev/VolGroup00/var' [3.00 GB] inherit
  ACTIVE'/dev/VolGroup00/LogVol01' [1.44 GB] inherit

The mount point for each is /usr or /opt ... / is on LogVol00

* With /var now set to 3.00 GB does this allow /var to ONLY get as big
as
  3.00 GB and stop?  OR would should each mount point be in it's own vol

  Group to achieve that?


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
RPN01
Sent: Thursday, March 22, 2007 12:01 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: can a max file size be set when using lvm

The problem with a layout like this is the granularity. With the root
being
one large filesystem, and containing lots of other directories, you
leave
yourself open to possible failures that can be avoided if you use LVM
and
break up this filesystem.

The /var and /tmp directories can consume space very quickly, leaving
you
with a root filesystem that is completely full without much notice. If
these
are broken off into their own filesystems, they're much more controlled,
and
can be more easily watched and problems diagnosed quicker.

The /home filesystem has the same problem as the other two; A runaway
task
owned by some user can fill the filesystem quickly, leaving you...
Surprised.

Another problem comes if the guest needs to be re-imaged. Having /home
in
with the root filesystem means that you can't just scratch that
filesystem
and start over. You have to spend time moving data out, and then later
back
in.

While you can allocate several smaller minidisks via zVM, you have to be
able to maintain the structure. It's somewhat of a problem to expand a
minidisk, while LVM allocations can be expanded and contracted very
quickly,
and additional minidisks can be added to the volume group to address
future
needs.

Our current standard is to allocate two 3390 mod 9 equivalent minidisks
to a
new guest. The first becomes volume group vg_system, and is broken down
into
/tmp (500 mb), /var (2.5 gb), swap (1 gb) and the root directory
(whatever's
left). The second mod 9 becomes vg_local, and has /home (2 gb) and /opt
(5.4
gb). We have most of our non-distribution software installed in the /opt
path.

If we need to move the users to another guest, we can move the second
mod 9
to the other system, and they'd still have all their data and
applications.
If the users run out of room, it's fairly simple to add another volume
to
the volume group and expand the directory needing space. It's also
fairly
easy to create another logical volume in the group and add another path
and
filesystem when needed.

We haven't really seen any crashes due to root being in LVM. Where we
have
had trouble, we'd have had the same problem with a flat filesystem as
well.
Logging in twice comes to mind...

Note too that we set up our Intel-based Linux boxes in much the same
way. In
this way, we can walk up to any box and have some reasonable
expectations.

On logrotate: This tool does a great job... For what it works with. An
example where if fails to fit is sar data and reports, which already
have a
timestamp in the name. logrotate doesn't handle files in that format, so
you
end up having to come up with another way to control them. The rmf
collector
is another one that has this problem, except in the /opt path. Printing
and
e-mail can fill /var if there is some problem with a task creating files
in
these spaces. /var can still fill up, despite your best efforts to
control
it.

This layout has worked very well for us... Your mileage may vary.


--
   .~.Robert P. Nix Mayo Foundation
   /V\RO-OC-1-13200 First Street SW
  /( )\   507-284-0844  Rochester, MN 55905
  ^^-^^   -
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 3/22/07 10:16 AM, Michael MacIsaac [EMAIL PROTECTED] wrote:

 If in the install I set say 10  2.3g disks into one lvm
 Setting the Mount point to /

 Others have described issues when using a logical volume for the root
file
 system. If LVM gets confused, which happens from time to time, then
your
 system doesn't boot. I would recommend keeping the root file system on
a
 conventional mindisk/DASD.

 -Maybe- you only want to use LVM when you have to.  Suppose the base
 system is three 3390-3s - one for /, one for /usr and one for /opt
let's
 say (or put / on a single 3390-9).  If a minimal system is about 1GB
(see
 below), then your base 

Re: NIS on Linux

2007-03-22 Thread Stahr, Lea
I see the NIS entry and password as expected. Our entries have only a +
sign and no colons per the manual. I have tried both ssh and non-ssh and
cannot login. I get Access Denied if I ssh and I get Login Incorrect if
I use non-ssh. I do not have a pam_unix2.conf in /etc. Thanks for your
help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]
 

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 12:23 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

HmmI am running out of tricks..

what do you get when you do:

ypmatch [userid] passwd

Do you see the encrypted password in the second field?

What does this show?

id [userid]

From the double check tree...
are you sure there are enough colons in the various + entries?
are you doing anything with netgroups that might be getting in the way?
are you using the default pam_unix2.conf or has it been modified at all?
are you logging into the console (/etc/pam.d/login) or via ssh
(/etc/pam.d/sshd)?

jrw





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 12:06 PM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I stopped the NSCD. Logon failed on Authentication Failure. This is SLES
8. Userid is not in the local passwd file.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Michael MacIsaac
Sent: Thursday, March 22, 2007 10:51 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

 service nscd stop
Whoops - or rcnscd stop on SLES 9 or earlier (SLES 10 and RHEL x have
the service command, SLES 9 does not)

Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

--
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: can a max file size be set when using lvm

2007-03-22 Thread Michael MacIsaac
 The problem with a layout like this is the granularity.
OK, what Robert said.

I am not in a position of having to maintain any real production servers.
So I often just clone a new one when I need one.

For the /home/ issue, I agree, if you have a set of users. In the latest
two cookbooks we describe a traveling /home/ that uses NFS and automount.
But again, I don't have it in production, so it's just a starting point.

It's good to hear that you are finding LVM with a root file system stable.
 In the past, others on the list have reconsidered such an approach.

 If we need to move the users to another guest, we can move the second
mod 9
 to the other system, and they'd still have all their data and
applications.
That's pretty cool too - separating the system from the data.

Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

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


FW: can a max file size be set when using lvm

2007-03-22 Thread Ayer, Paul W
Well I have done some work and now have something that is getting closer

to what we would need here. This looks just like our non z systems. So
our
service areas would be happy-er 

lvm lvscan
  ACTIVE'/dev/VolGroup00/LogVol00' [1.00 GB] inherit
  ACTIVE'/dev/VolGroup00/opt' [2.00 GB] inherit
  ACTIVE'/dev/VolGroup00/tmp' [2.00 GB] inherit
  ACTIVE'/dev/VolGroup00/usr' [6.00 GB] inherit
  ACTIVE'/dev/VolGroup00/usr_local' [512.00 MB] inherit
  ACTIVE'/dev/VolGroup00/var' [3.00 GB] inherit
  ACTIVE'/dev/VolGroup00/LogVol01' [1.44 GB] inherit

The mount point for each is /usr or /opt ... / is on LogVol00

* With /var now set to 3.00 GB does this allow /var to ONLY get as big
as
  3.00 GB and stop?  OR would should each mount point be in it's own vol

  Group to achieve that?

--
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: can a max file size be set when using lvm

2007-03-22 Thread RPN01
A logical volume will not extend beyond its allocated size, even if there is
free space in the volume group. You can choose to expand it, but it will
take a specific set of actions; it won't be automatic.


--
   .~.Robert P. Nix Mayo Foundation
   /V\RO-OC-1-13200 First Street SW
  /( )\   507-284-0844  Rochester, MN 55905
  ^^-^^   -
In theory, theory and practice are the same, but
 in practice, theory and practice are different.




On 3/22/07 12:53 PM, Ayer, Paul W [EMAIL PROTECTED] wrote:

 * With /var now set to 3.00 GB does this allow /var to ONLY get as big
 as
   3.00 GB and stop?  OR would should each mount point be in it's own vol

   Group to achieve that?


 -Original Message-
 From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
 RPN01
 Sent: Thursday, March 22, 2007 12:01 PM
 To: LINUX-390@VM.MARIST.EDU
 Subject: Re: can a max file size be set when using lvm

 The problem with a layout like this is the granularity. With the root
 being
 one large filesystem, and containing lots of other directories, you
 leave
 yourself open to possible failures that can be avoided if you use LVM
 and
 break up this filesystem.

 The /var and /tmp directories can consume space very quickly, leaving
 you
 with a root filesystem that is completely full without much notice. If
 these
 are broken off into their own filesystems, they're much more controlled,
 and
 can be more easily watched and problems diagnosed quicker.

 The /home filesystem has the same problem as the other two; A runaway
 task
 owned by some user can fill the filesystem quickly, leaving you...
 Surprised.

 Another problem comes if the guest needs to be re-imaged. Having /home
 in
 with the root filesystem means that you can't just scratch that
 filesystem
 and start over. You have to spend time moving data out, and then later
 back
 in.

 While you can allocate several smaller minidisks via zVM, you have to be
 able to maintain the structure. It's somewhat of a problem to expand a
 minidisk, while LVM allocations can be expanded and contracted very
 quickly,
 and additional minidisks can be added to the volume group to address
 future
 needs.

 Our current standard is to allocate two 3390 mod 9 equivalent minidisks
 to a
 new guest. The first becomes volume group vg_system, and is broken down
 into
 /tmp (500 mb), /var (2.5 gb), swap (1 gb) and the root directory
 (whatever's
 left). The second mod 9 becomes vg_local, and has /home (2 gb) and /opt
 (5.4
 gb). We have most of our non-distribution software installed in the /opt
 path.

 If we need to move the users to another guest, we can move the second
 mod 9
 to the other system, and they'd still have all their data and
 applications.
 If the users run out of room, it's fairly simple to add another volume
 to
 the volume group and expand the directory needing space. It's also
 fairly
 easy to create another logical volume in the group and add another path
 and
 filesystem when needed.

 We haven't really seen any crashes due to root being in LVM. Where we
 have
 had trouble, we'd have had the same problem with a flat filesystem as
 well.
 Logging in twice comes to mind...

 Note too that we set up our Intel-based Linux boxes in much the same
 way. In
 this way, we can walk up to any box and have some reasonable
 expectations.

 On logrotate: This tool does a great job... For what it works with. An
 example where if fails to fit is sar data and reports, which already
 have a
 timestamp in the name. logrotate doesn't handle files in that format, so
 you
 end up having to come up with another way to control them. The rmf
 collector
 is another one that has this problem, except in the /opt path. Printing
 and
 e-mail can fill /var if there is some problem with a task creating files
 in
 these spaces. /var can still fill up, despite your best efforts to
 control
 it.

 This layout has worked very well for us... Your mileage may vary.


 --
.~.Robert P. Nix Mayo Foundation
/V\RO-OC-1-13200 First Street SW
   /( )\   507-284-0844  Rochester, MN 55905
   ^^-^^   -
 In theory, theory and practice are the same, but
  in practice, theory and practice are different.




 On 3/22/07 10:16 AM, Michael MacIsaac [EMAIL PROTECTED] wrote:

 If in the install I set say 10  2.3g disks into one lvm
 Setting the Mount point to /

 Others have described issues when using a logical volume for the root
 file
 system. If LVM gets confused, which happens from time to time, then
 your
 system doesn't boot. I would recommend keeping the root file system on
 a
 conventional mindisk/DASD.

 -Maybe- you only want to use LVM when you have to.  Suppose the base
 system is three 3390-3s - one for /, one for /usr and one for /opt
 let's
 say (or put / on a single 3390-9).  If a minimal system is about 1GB
 (see
 below), then your base system / is perhaps 17% used, 

Re: NIS on Linux

2007-03-22 Thread Jeremy Warren
In Linux I have only ever seen it with the colons in the passwd/group
files

so

passwd would be:
+::
and group
+:::


jrw






Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 02:40 PM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I see the NIS entry and password as expected. Our entries have only a +
sign and no colons per the manual. I have tried both ssh and non-ssh and
cannot login. I get Access Denied if I ssh and I get Login Incorrect if
I use non-ssh. I do not have a pam_unix2.conf in /etc. Thanks for your
help.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jeremy Warren
Sent: Thursday, March 22, 2007 12:23 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

HmmI am running out of tricks..

what do you get when you do:

ypmatch [userid] passwd

Do you see the encrypted password in the second field?

What does this show?

id [userid]

From the double check tree...
are you sure there are enough colons in the various + entries?
are you doing anything with netgroups that might be getting in the way?
are you using the default pam_unix2.conf or has it been modified at all?
are you logging into the console (/etc/pam.d/login) or via ssh
(/etc/pam.d/sshd)?

jrw





Stahr, Lea [EMAIL PROTECTED]
Sent by: Linux on 390 Port LINUX-390@VM.MARIST.EDU
03/22/2007 12:06 PM
Please respond to
Linux on 390 Port LINUX-390@VM.MARIST.EDU


To
LINUX-390@VM.MARIST.EDU
cc

Subject
Re: [LINUX-390] NIS on Linux






I stopped the NSCD. Logon failed on Authentication Failure. This is SLES
8. Userid is not in the local passwd file.

Lea Stahr
Linux/Unix Team
630-753-5445
[EMAIL PROTECTED]


-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Michael MacIsaac
Sent: Thursday, March 22, 2007 10:51 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: NIS on Linux

 service nscd stop
Whoops - or rcnscd stop on SLES 9 or earlier (SLES 10 and RHEL x have
the service command, SLES 9 does not)

Mike MacIsaac [EMAIL PROTECTED]   (845) 433-7061

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

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

CONFIDENTIALITY NOTICE:  This e-mail, and any attachments
and/or documents linked to this email, are intended for the
addressee and may contain information that is privileged,
confidential, proprietary, or otherwise protected by law.  Any
dissemination, distribution, or copying is prohibited.  This
notice serves as a confidentiality marking for the purpose of
any confidentiality or nondisclosure agreement.  If you have
received this communication in error, please contact the
original sender.

--
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: can a max file size be set when using lvm

2007-03-22 Thread John Summerfield

RPN01 wrote:

The problem with a layout like this is the granularity. With the root being
one large filesystem, and containing lots of other directories, you leave
yourself open to possible failures that can be avoided if you use LVM and
break up this filesystem.

The /var and /tmp directories can consume space very quickly, leaving you


If you break out /tmp, why not /var/tmp too?

You could consider /var/mail, especially for a mail server, and also
whether logs should go to another box altogether.


with a root filesystem that is completely full without much notice. If these
are broken off into their own filesystems, they're much more controlled, and
can be more easily watched and problems diagnosed quicker.

The /home filesystem has the same problem as the other two; A runaway task
owned by some user can fill the filesystem quickly, leaving you...
Surprised.


/home can be controlled with quotas. Then, it's the user who's...
distressed.





--

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


vmcp commands Virtualization Cookbook

2007-03-22 Thread KEETON Dave * OR SDC
I am trying to work through the new revision of the Virtualization
Cookbook and SLES 10 and have found that I'm having trouble with a
couple of commands when invoking vmcp.  On page 224 of the cookbook, it
talks about four commands that are sent to z/VM; two of which don't
appear to work correctly for me. Namely they are:

vmcp query proc
vmcp query nss all map

All of which return:

HCPCFC003E Invalid option - PROC
Error: non-zero CP response for command 'Q PROC': #3

And:

HCPCFC003E Invalid option - NSS
Error: non-zero CP response for command 'QUERY NSS ALL MAP': #3

A third command, which doesn't return an error, vmcp query files,
returns no data to speak of. It simply returns the headings of the
output:

FILES:   NO RDR,   NO PRT,   NO PUN 

Does anyone know why this might be? It's odd that the command vmcp q
cplevel returns exactly what I expected it to.

Thanks in advance,

Dave Keeton
Linux Systems Administrator
Enterprise Systems Group
Oregon State Data Center
(503) 373-0832

--
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: vmcp commands Virtualization Cookbook

2007-03-22 Thread Mark Post
 On Thu, Mar 22, 2007 at  6:42 PM, in message
[EMAIL PROTECTED], KEETON
Dave * OR SDC [EMAIL PROTECTED] wrote: 
 I am trying to work through the new revision of the Virtualization
 Cookbook and SLES 10 and have found that I'm having trouble with a
 couple of commands when invoking vmcp.  On page 224 of the cookbook, it
 talks about four commands that are sent to z/VM; two of which don't
 appear to work correctly for me. Namely they are:
 
 vmcp query proc
 vmcp query nss all map
 
 All of which return:
 
 HCPCFC003E Invalid option -  PROC
 Error: non- zero CP response for command 'Q PROC': #3
 
 And:
 
 HCPCFC003E Invalid option -  NSS
 Error: non- zero CP response for command 'QUERY NSS ALL MAP': #3

This sounds like the z/VM guest doesn't have the proper CP priv. classes to 
issue those commands with those options.


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: vmcp commands Virtualization Cookbook

2007-03-22 Thread KEETON Dave * OR SDC
Yes, you're absolutely right. I discovered that it was only using CLASS
G after I sent the message. My apologies for not doing a more thorough
Google search before posting.

Thanks again,
Dave

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Thursday, March 22, 2007 4:10 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: vmcp commands  Virtualization Cookbook

 On Thu, Mar 22, 2007 at  6:42 PM, in message
[EMAIL PROTECTED],
KEETON
Dave * OR SDC [EMAIL PROTECTED] wrote: 
 I am trying to work through the new revision of the Virtualization
 Cookbook and SLES 10 and have found that I'm having trouble with a
 couple of commands when invoking vmcp.  On page 224 of the cookbook,
it
 talks about four commands that are sent to z/VM; two of which don't
 appear to work correctly for me. Namely they are:
 
 vmcp query proc
 vmcp query nss all map
 
 All of which return:
 
 HCPCFC003E Invalid option -  PROC
 Error: non- zero CP response for command 'Q PROC': #3
 
 And:
 
 HCPCFC003E Invalid option -  NSS
 Error: non- zero CP response for command 'QUERY NSS ALL MAP': #3

This sounds like the z/VM guest doesn't have the proper CP priv. classes
to issue those commands with those options.


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: can a max file size be set when using lvm

2007-03-22 Thread Mark Post
 On Thu, Mar 22, 2007 at  5:34 PM, in message
[EMAIL PROTECTED], John Summerfield
[EMAIL PROTECTED] wrote: 
-snip-
 If you break out /tmp, why not /var/tmp too?

Because we're mostly concerned with not filling up the root file system, and 
not the /var file system.

-snip-
 /home can be controlled with quotas. Then, it's the user who's...
 distressed.

It's still considered a good practice to separate user data from the OS.  
Quotas on top of that can keep one user from hurting everyone else.


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: vmcp commands Virtualization Cookbook

2007-03-22 Thread Rob van der Heij

On 3/23/07, Mark Post [EMAIL PROTECTED] wrote:


This sounds like the z/VM guest doesn't have the proper CP priv. classes to 
issue those commands with those options.


Indeed, the general strategy of CP commands is to hide the powerful
commands and options and for general users to act like the command
does not exist. This sometimes causes a problem when a general user
works on a more-than-G userid (Why does DEF STOR not work for me?).
It used to be easy to purge all spool files in the system while you
meant to purge your own. The syntax now is such that most of us cannot
get it right the first 3 times to purge their own...

Some of us believe this is the proper privilege class for a Linux
guest, and that VM systems administration should not be delegated
(intended or not) to someone who happens to have root access on the
Linux server. Especially because some commands just work differently
when you have more than class G. See
http://publib-b.boulder.ibm.com/abstracts/redp3870.html

Many of the CP commands beyond class G have a global impact and you
want someone to oversee the implications. Like when you create NSS
files there may be implications for backup and restore, or disaster
fallback.  And if you happen to be a person having both roles, then
you might still enjoy being able to do your VM work without the need
to have a Linux system running (like in repair situation).

Rob

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