Re: Installing SLES12 SP2 can't access repository

2017-07-26 Thread Mark Post
>>> On 7/20/2017 at 06:26 PM, Julie Phinney  wrote: 
> Mark,
> 
> I can mount either one, using a command like this:
> 
> mount -o nolock -o vers=3  ipaddress:/install/penguin/SLES/sles12sp2/dvd1  
> /nfs
> 
> The contents of the dvd1 folder:
> LXTS12T2:/nfs # ls -l
> total 25952
> -r--r--r--  1 root root  5486315 Jun 13 18:50 ARCHIVES.gz
> -r--r--r--  1 root root 1484 Jun 13 18:50 COPYRIGHT
> -r--r--r--  1 root root 1648 Jun 13 18:50 COPYRIGHT.de
> -r--r--r--  1 root root 2063 Jun 13 18:50 ChangeLog
> -r--r--r--  1 root root41939 Jun 13 18:50 INDEX.gz
> -r--r--r--  1 root root   112779 Jun 13 18:50 NEWS
> -r--r--r--  1 root root 2910 Jun 13 18:50 README
> dr-xr-xr-x  4 root root  256 Jun 13 18:50 boot
> -r--r--r--  1 root root12497 Jun 13 18:50 content
> -r--r--r--  1 root root 2048 Jun 13 18:50 content.asc
> -r--r--r--  1 root root 8192 Jun 13 18:50 content.key
> -r--r--r--  1 root root53854 Jun 13 18:50 control.xml
> -r--r--r--  1 root root  260 Jun 13 18:50 directory.yast
> dr-xr-xr-x 17 root root 4096 Jun 13 18:50 docu
> -r--r--r--  1 root root  955 Jun 13 18:50 
> gpg-pubkey-39db7c82-510a966b.asc
> -r--r--r--  1 root root  975 Jun 13 18:50 
> gpg-pubkey-50a3dd1c-50f35137.asc
> -r--r--r--  1 root root90563 Jun 13 18:50 license.tar.gz
> -r--r--r--  1 root root64519 Jun 13 18:50 ls-lR.gz
> dr-xr-xr-x  2 root root  256 Jun 13 18:50 media.1
> -r--r--r--  1 root root 1288 Jun 13 18:50 pubring.gpg
> dr-xr-xr-x  6 root root  256 Jun 13 18:50 suse
> -r--r--r--  1 root root  212 Jun 13 18:50 suse.ins
> -r--r--r--  1 root root  224 Jun 13 18:50 susehmc.ins

If you can make the time, I would be interested in seeing the contents of the 
files under /var/log/YaST2/ when the install fails.  To generate a bit more 
information, if you add "linuxrc.debug=3 linuxrc.log=/dev/stdout" to the 
parmfile.  Then, send me the output from the z/VM console log for the guest.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Julie Phinney
Mark,

I can mount either one, using a command like this:

mount -o nolock -o vers=3  ipaddress:/install/penguin/SLES/sles12sp2/dvd1  /nfs

The contents of the dvd1 folder:
LXTS12T2:/nfs # ls -l
total 25952
-r--r--r--  1 root root  5486315 Jun 13 18:50 ARCHIVES.gz
-r--r--r--  1 root root 1484 Jun 13 18:50 COPYRIGHT
-r--r--r--  1 root root 1648 Jun 13 18:50 COPYRIGHT.de
-r--r--r--  1 root root 2063 Jun 13 18:50 ChangeLog
-r--r--r--  1 root root41939 Jun 13 18:50 INDEX.gz
-r--r--r--  1 root root   112779 Jun 13 18:50 NEWS
-r--r--r--  1 root root 2910 Jun 13 18:50 README
dr-xr-xr-x  4 root root  256 Jun 13 18:50 boot
-r--r--r--  1 root root12497 Jun 13 18:50 content
-r--r--r--  1 root root 2048 Jun 13 18:50 content.asc
-r--r--r--  1 root root 8192 Jun 13 18:50 content.key
-r--r--r--  1 root root53854 Jun 13 18:50 control.xml
-r--r--r--  1 root root  260 Jun 13 18:50 directory.yast
dr-xr-xr-x 17 root root 4096 Jun 13 18:50 docu
-r--r--r--  1 root root  955 Jun 13 18:50 gpg-pubkey-39db7c82-510a966b.asc
-r--r--r--  1 root root  975 Jun 13 18:50 gpg-pubkey-50a3dd1c-50f35137.asc
-r--r--r--  1 root root90563 Jun 13 18:50 license.tar.gz
-r--r--r--  1 root root64519 Jun 13 18:50 ls-lR.gz
dr-xr-xr-x  2 root root  256 Jun 13 18:50 media.1
-r--r--r--  1 root root 1288 Jun 13 18:50 pubring.gpg
dr-xr-xr-x  6 root root  256 Jun 13 18:50 suse
-r--r--r--  1 root root  212 Jun 13 18:50 suse.ins
-r--r--r--  1 root root  224 Jun 13 18:50 susehmc.ins

Thanks,
Julie
-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Thursday, July 20, 2017 1:59 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Installing SLES12 SP2 can't access repository

>>> On 7/20/2017 at 02:19 PM, Julie Phinney 
>>> <jphin...@humana.com<mailto:jphin...@humana.com>> wrote:
> Thanks Mauro, Mark, Alan and everyone..
>
> Mark,
> My parm file has these lines:
> Install=nfs://ipaddress/install/penguin/SLES/sles12sp2/dvd1
> UseSSH=1 SSHPassword=12345678 upgrade=1 nfsopts=tcp,vers=3,nolock

And what are the contents of /install/penguin/SLES/sles12sp2/dvd1 on the NFS 
server?

> The /etc/exports on the nfs server has this line:
> /install/penguin -vers=3,sec=sys:none,rw And I'm able to mount the
> mountpoint successfully from this client before kicking off the
> install script.
> NFS version is 3.

When you say you're able to mount "the mountpoint" do you mean 
/install/penguin, or /install/penguin/SLES/sles12sp2/dvd1 ?


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu<mailto:lists...@vm.marist.edu> with the message: INFO 
LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit http://wiki.linuxvm.org/


The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Scott Rohling
That's all dependent on the server and software you use for FTP ...   it
you keep FTP confined to a users /home directory - that's what you get..
 it may be set up differently depending on what flavor of ftp and how it's
configured. ( and what security is in place).
Scott Rohling

On Thu, Jul 20, 2017 at 11:33 AM, Jeffrey Barnard  wrote:

> On 07/19/2017 06:06 PM, Julie Phinney wrote:
>
>> One person said they created a symbolic link to the mounted .iso  in the
>> ftp user's home directory.
>>
>
> I was able to get this to work.
>
> I could not get SLES12SP2 to FTP install unless the .iso was mounted on a
> mount point in the FTP user's home directory.
>
> E.g., if the FTP userid is xxx
> then the FTP home directory might be /home/xxx
>
> If I mounted the .iso at /tmp/sles12 and pointed the install there ...
> failure.
>
> If I created a symlink from the home directory to this mount point ...
> success. Also, mounting the .iso to a mount point in the home directory
> worked too.
>
> E.g., a symlink from /home/xxx/sles12 ... to ... /tmp/sles12
> did the trick.
>
> Hope this helps.
> Jeff
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Jeffrey Barnard

On 07/19/2017 06:06 PM, Julie Phinney wrote:

One person said they created a symbolic link to the mounted .iso  in the ftp 
user's home directory.


I was able to get this to work.

I could not get SLES12SP2 to FTP install unless the .iso was mounted on a
mount point in the FTP user's home directory.

E.g., if the FTP userid is xxx
then the FTP home directory might be /home/xxx

If I mounted the .iso at /tmp/sles12 and pointed the install there ... failure.

If I created a symlink from the home directory to this mount point ...
success. Also, mounting the .iso to a mount point in the home directory
worked too.

E.g., a symlink from /home/xxx/sles12 ... to ... /tmp/sles12
did the trick.

Hope this helps.
Jeff

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Mark Post
>>> On 7/20/2017 at 02:19 PM, Julie Phinney  wrote: 
> Thanks Mauro, Mark, Alan and everyone..
> 
> Mark,
> My parm file has these lines:
> Install=nfs://ipaddress/install/penguin/SLES/sles12sp2/dvd1
> UseSSH=1 SSHPassword=12345678 upgrade=1 nfsopts=tcp,vers=3,nolock

And what are the contents of /install/penguin/SLES/sles12sp2/dvd1 on the NFS 
server?

> The /etc/exports on the nfs server has this line:
> /install/penguin -vers=3,sec=sys:none,rw
> And I'm able to mount the mountpoint successfully from this client before 
> kicking off the install script.
> NFS version is 3.

When you say you're able to mount "the mountpoint" do you mean 
/install/penguin, or /install/penguin/SLES/sles12sp2/dvd1 ?


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Julie Phinney
Thanks Mauro, Mark, Alan and everyone..

Mark,
My parm file has these lines:
Install=nfs://ipaddress/install/penguin/SLES/sles12sp2/dvd1
UseSSH=1 SSHPassword=12345678 upgrade=1 nfsopts=tcp,vers=3,nolock

The /etc/exports on the nfs server has this line:
/install/penguin -vers=3,sec=sys:none,rw
And I'm able to mount the mountpoint successfully from this client before 
kicking off the install script.
NFS version is 3.

Alan,
I opened a ticket a few weeks ago.  The  latest thing they said to me, today, 
is to try is just using a dvd.

Mauro,  I tried using http today instead and it worked‼
I'm so happy I can move on.

Thanks again everyone!
Julie

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Mark Post
Sent: Thursday, July 20, 2017 12:43 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Installing SLES12 SP2 can't access repository

>>> On 7/19/2017 at 06:06 PM, Julie Phinney 
>>> <jphin...@humana.com<mailto:jphin...@humana.com>> wrote:
> Back in April you all talked about a problem someone had installing
> SLES12 sp2,  zvm 6.4, using FTP.
> Several people recommended burning the iso to dvd and installing from that.
> One person said they created a symbolic link to the mounted .iso  in
> the ftp user's home directory.
>
> I'm using an NFS mount.  Before starting the yast.ssh script to do the
> install, I can access the mount and its data just fine.
> I run the yast.ssh script and it fails with the same error some of you
> had in the April chat  - mount.nfs access denied  trying to access the
> repository.
> Has anyone gotten an NFS mounted install to work after having this problem?
> I'm not seeing any errors logged on the NFS server.

That's why I typically recommend _not_ using NFS.  It's very difficult to get 
any debugging information out of it compared to FTP or HTTP.

What are you specifying in the parameter file?  What does the /etc/exports file 
on the NFS server have in it?  What version of NFS is running on the NFS server?


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu<mailto:lists...@vm.marist.edu> with the message: INFO 
LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit http://wiki.linuxvm.org/


The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Mark Post
>>> On 7/19/2017 at 06:06 PM, Julie Phinney  wrote: 
> Back in April you all talked about a problem someone had installing SLES12 
> sp2,  zvm 6.4, using FTP.
> Several people recommended burning the iso to dvd and installing from that.
> One person said they created a symbolic link to the mounted .iso  in the ftp 
> user's home directory.
> 
> I'm using an NFS mount.  Before starting the yast.ssh script to do the 
> install, I can access the mount and its data just fine.
> I run the yast.ssh script and it fails with the same error some of you had 
> in the April chat  - mount.nfs access denied  trying to access the 
> repository.
> Has anyone gotten an NFS mounted install to work after having this problem?
> I'm not seeing any errors logged on the NFS server.

That's why I typically recommend _not_ using NFS.  It's very difficult to get 
any debugging information out of it compared to FTP or HTTP.

What are you specifying in the parameter file?  What does the /etc/exports file 
on the NFS server have in it?  What version of NFS is running on the NFS server?


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Mark Post
>>> On 7/20/2017 at 10:15 AM, Mauro Souza  wrote: 
> SLES11 worked fine with FTP, if I am not mistaken. SLES12 don't.

That's just not true.  I mostly use FTP in my testing, and it worked just fine 
for me, every time.  You have to make sure you understand how the FTP server is 
set up, and whether you're using anonymous or non-anonymous access.  Then you 
have to make sure you specify the correct path to the repository during the 
install.


Mark Post

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Mauro Souza
Yes Alan, I know and agree, and I already got scolded by Mark the last time
I said so.

But I don't think most of us work on an environment where "let's try again,
file a bug report, send the logs, and install AFTER the fix is available"
is something possible. Or let's just reinstall a dummy machine using FTP to
get this bug fixed.

There's not enough time, there's less people on the team than we should
have, and HTTP works (for now). So we forget FTP and move on.

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

2017-07-20 11:54 GMT-03:00 Alan Altmark :

> On Thursday, 07/20/2017 at 02:16 GMT, Mauro Souza 
> wrote:
> > SLES11 worked fine with FTP, if I am not mistaken. SLES12 don't.
> >
> > We gave up on FTP and used HTTP on the repositories. FTP implementation
> on
> > yast is buggy right now, and it's way faster to just enter the directory
> > and run "python -m SimpleHTTPServer" than to fill a bug request, send
> lots
> > of logs, run strace/ptrace here and there, and wait for a fix.
>
> If no one opens a bug report, it won't get fixed, and you risk the
> function being removed.  If someone has a problem (ftp, nfs, http), call
> it into your support provider.  Sometimes the fixes are as simple as
> including more information in the error messages so that you can correct
> an administrative error (unknown if that's the problem in this case).
>
> Alan Altmark
>
> Senior Managing z/VM and Linux Consultant
> Lab Services System z Delivery Practice
> IBM Systems & Technology Group
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Alan Altmark
On Thursday, 07/20/2017 at 02:16 GMT, Mauro Souza  
wrote:
> SLES11 worked fine with FTP, if I am not mistaken. SLES12 don't.
>
> We gave up on FTP and used HTTP on the repositories. FTP implementation 
on
> yast is buggy right now, and it's way faster to just enter the directory
> and run "python -m SimpleHTTPServer" than to fill a bug request, send 
lots
> of logs, run strace/ptrace here and there, and wait for a fix.

If no one opens a bug report, it won't get fixed, and you risk the 
function being removed.  If someone has a problem (ftp, nfs, http), call 
it into your support provider.  Sometimes the fixes are as simple as 
including more information in the error messages so that you can correct 
an administrative error (unknown if that's the problem in this case).

Alan Altmark

Senior Managing z/VM and Linux Consultant
Lab Services System z Delivery Practice
IBM Systems & Technology Group
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Installing SLES12 SP2 can't access repository

2017-07-20 Thread Mauro Souza
SLES11 worked fine with FTP, if I am not mistaken. SLES12 don't.

We gave up on FTP and used HTTP on the repositories. FTP implementation on
yast is buggy right now, and it's way faster to just enter the directory
and run "python -m SimpleHTTPServer" than to fill a bug request, send lots
of logs, run strace/ptrace here and there, and wait for a fix.

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

2017-07-19 19:06 GMT-03:00 Julie Phinney :

> Back in April you all talked about a problem someone had installing SLES12
> sp2,  zvm 6.4, using FTP.
> Several people recommended burning the iso to dvd and installing from that.
> One person said they created a symbolic link to the mounted .iso  in the
> ftp user's home directory.
>
> I'm using an NFS mount.  Before starting the yast.ssh script to do the
> install, I can access the mount and its data just fine.
> I run the yast.ssh script and it fails with the same error some of you had
> in the April chat  - mount.nfs access denied  trying to access the
> repository.
> Has anyone gotten an NFS mounted install to work after having this problem?
> I'm not seeing any errors logged on the NFS server.
>
> Julie Phinney
>
> The information transmitted is intended only for the person or entity to
> which it is addressed
> and may contain CONFIDENTIAL material.  If you receive this
> material/information in error,
> please contact the sender and delete or destroy the material/information.
>
> --
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> --
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/