Pierre Casenove wrote:
% hello,
% That was my first guess too. But according to Oracle documentation, we
% need to have Sunpatch 119254-75 or higher to be able to open the zip
% file.
% On my system, I have patch 119254-84 installed.
% And unzip command outputs this message inc ase it is
Pierre Casenove wrote:
% I've tested to deploy the pushed patch cluster... and it failed:
% In Spacewalk, I have this error message in the failed actions page:
% Patch cluster install failed: Bad magic number for central directory
%
% I've rhn_check manually from my client and here is the output:
hello,
That was my first guess too. But according to Oracle documentation, we
need to have Sunpatch 119254-75 or higher to be able to open the zip
file.
On my system, I have patch 119254-84 installed.
And unzip command outputs this message inc ase it is incorrect:
Example error message:
---
I've tested to deploy the pushed patch cluster... and it failed:
In Spacewalk, I have this error message in the failed actions page:
Patch cluster install failed: Bad magic number for central directory
I've rhn_check manually from my client and here is the output:
D: do_call
Hello,
I've tested solaris2mpm on rhel 6: it works perfectly with the
patch_cluster archive. So the issue on RHEL 5 is related with python
2.4 and ZIP64 extension as I supposed.
Jan, I know I have the option of upgrading (not easy, but still I have
it), but all I wanted to say is that if RHEL 5
One other point of this:
1) even if unzip complains at the beginning, it does unzip the archive
2) if I update unzip command on my rhel 5 box, by compiling the latest
version, python ZipFile would still fail IMHO, and so would do
solaris2mpm
I'll try to get a much smaller patch_cluster to see if
http://docs.python.org/release/2.4/lib/zipfile-objects.html
ZIP64 is not supported in python 2.4, it's been added in python 2.6
One question: shouldn't spacewalk request python 2.6, even on RHEL 5,
as it is included as python26 package? Or is it too complicated ?
It seems to me that python 24 is
On Fri, Jun 29, 2012 at 09:44:07AM +0200, Pierre Casenove wrote:
http://docs.python.org/release/2.4/lib/zipfile-objects.html
ZIP64 is not supported in python 2.4, it's been added in python 2.6
One question: shouldn't spacewalk request python 2.6, even on RHEL 5,
as it is included as python26
Hello,
Did you have time to review the patch?
Now that I got patch working, I wanted to try patch_cluster and
ZipFile class is complaining!
# solaris2mpm --tempdir=/data/solaris/tmp/ 10_Recommended.zip
Opening archive, this may take a while
Bad magic number for central directory
Error
I've ran unzip command on 10_recommended.zip and here is the message I
get at the beggining:
# unzip -d tmp/ -q 10_Recommended.zip
warning [10_Recommended.zip]: 76 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [10_Recommended.zip]: reported length of central
Pierre Casenove wrote:
% Hello,
% Did you have time to review the patch?
%
% Now that I got patch working, I wanted to try patch_cluster and
% ZipFile class is complaining!
% # solaris2mpm --tempdir=/data/solaris/tmp/ 10_Recommended.zip
% Opening archive, this may take a while
% Bad magic
Hello,
Indeed, on RHEL 5:
rpm -qf /usr/bin/unzip
unzip-5.52-3.el5
on RHEL 6:
# rpm -qa | grep unzip
unzip-6.0-1.el6.x86_64
Problem is: unzip v6 is not available on RHEL 5... Is the conclusion
that solaris2mpm is not compatible with RHEL 5?
Pierre
2012/6/28 Michael Mraka
OK, I finally got it working... but please, have a deep look on my code.
1) for python 2.4, I use only method read on zipfile
2) I modify _archive_dir value : if it has a trailing slash, I remove
it. otherwise, solaris2mpm command was nont able to detect it was a
patch, and consider the archive as
Hello list,
1) I've applied the suggested patches, and nos, it works: the client
is registered, and the package list is refreshed!*
2) i've played a bit with the WEBUI to track down ISE , to help
improve pgsql support:
When navigating to System -- Software - Patches -- Install, I get one ISE:
Hello,
Please find attached two proposed patches for the 2 ISEs.
For the NVL keyword, I think the patch is correct, for the other
issue... well , I founf the solution using this thread
http://web.archiveorange.com/archive/v/zd19irdQ7ak6NBhBn9sF
Pierre
2012/6/26 Pierre Casenove
Pierre Casenove wrote:
% Hello,
% Please find attached two proposed patches for the 2 ISEs.
% For the NVL keyword, I think the patch is correct, for the other
% issue... well , I founf the solution using this thread
% http://web.archiveorange.com/archive/v/zd19irdQ7ak6NBhBn9sF
Hi Pierre,
thanks
I've modified solaris2mpm to print complete exception encountered:
# solaris2mpm 119254-84.zip
Opening archive, this may take a while
Archive did not expand to /tmp/tmp-ExVZS/119254-84/: ZipFile instance
has no attribute 'extractall'
Error creating mpm for /root/workdir/solaris/tmp/119254-84.zip:
OK, I think the issue is due to commit 52d29ee4980270fb62f9ffab40e94dc10f4b5e96.
extractall is new in python 2.6.
On RHEL5 boxes, I only have python 2.4. Package python26 is available,
but I'm not sure what side effects it would cause on the rest of my
server.
Pierre
2012/6/26 Pierre Casenove
Pierre Casenove wrote:
% OK, I think the issue is due to commit
52d29ee4980270fb62f9ffab40e94dc10f4b5e96.
% extractall is new in python 2.6.
% On RHEL5 boxes, I only have python 2.4. Package python26 is available,
% but I'm not sure what side effects it would cause on the rest of my
% server.
Still no luck:
http://docs.python.org/library/zipfile.html
extract function has also been added in python 2.6.
Pierre
2012/6/26 Michael Mraka michael.mr...@redhat.com:
Michael Mraka wrote:
% Pierre Casenove wrote:
% % OK, I think the issue is due to commit
By the way, :
http://stackoverflow.com/questions/7806563/how-to-unzip-a-zip-file-with-python-2-4
Not sure which solution is best
2012/6/26 Pierre Casenove pcasen...@gmail.com:
Still no luck:
http://docs.python.org/library/zipfile.html
extract function has also been added in python 2.6.
Pierre Casenove wrote:
...
% questions about commit e4a6c5bfbc08049536ab6db138abbd7b11c905be:
% Couldn't we remove AS NVRE in the request?
No, because java expects this column to be named 'NVRE'.
% Why was postgresql failing when using NVRE?
Postgresql can't use column alias in order by while
Pierre Casenove wrote:
% One last point on Solaris support: the hardware information page. I
% attach a screenshot of the page with Chrome web browser.
% 1) Under, General, we have (2) sparcv9 (1503 MHZ) right in the middle...
% 2) Is it normal to get so few information?
Unfortunately yes.
--
Hello list,
I wanted to test Solaris 10 Sparc client management from my spacewalk
1.7 server... and it is not very successful!
1) I've downloaded the packages and installed them without any
problem. One note on the README file: libgcc is in /usr/sfw/lib, which
has to be added to the ld library
Setting the channel architecture to SPARC Solaris instead of SPARC
and it could rhnpush the mpm generated from solaris.
but the other issues are still alive!
2012/6/22 Pierre Casenove pcasen...@gmail.com:
Hello list,
I wanted to test Solaris 10 Sparc client management from my spacewalk
1.7
25 matches
Mail list logo