svn problem while running Build-AOP-RPMs.tcl
svn problem while running Build-AOP-RPMs.tcl
Hi Bob,
I am running the Build-AOP-RPMs and have the problem to validate the certificate. it would stuck there. If I put a "p" then it shows the following errors. Is there a way to work around it?
thanks,
Yuantao
==================================
Error validating server certificate for 'https://svn.aps.anl.gov:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: svn
- Valid: from Wed, 24 Oct 2012 00:00:00 GMT until Sat, 25 Oct 2014 23:59:59 GMT
- Issuer: Terms of use at https://www.verisign.com/rpa (c)10, VeriSign Trust Network, VeriSign, Inc., US
- Fingerprint: 0a:e3:dc:77:22:99:b0:46:9d:52:82:90:3b:f9:0666:11:d0:cd
(R)eject, accept (t)emporarily or accept (p)ermanently?
while executing
"exec svn -N -q --config-dir ~ding/.subversion checkout https://svn.aps.anl.gov/AOP/oag/trunk oag"
("eval" body line 1)
invoked from within
"eval exec $sudo svn -N -q --config-dir ~${owner}/.subversion checkout https://svn.aps.anl.gov/AOP/oag/trunk oag"
invoked from within
"if {$Build(SDDS) || $Build(SDDSEPICS) || $Build(ELEGANT) || $Build(SHOWER) || $Build(SPIFFE) || $Build(SDDSPYTHON) || $Build(OAGTCLTK) || $Build(SDDSJ..."
(file "Build-AOP-RPMs.tcl" line 289)
I am running the Build-AOP-RPMs and have the problem to validate the certificate. it would stuck there. If I put a "p" then it shows the following errors. Is there a way to work around it?
thanks,
Yuantao
==================================
Error validating server certificate for 'https://svn.aps.anl.gov:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: svn
- Valid: from Wed, 24 Oct 2012 00:00:00 GMT until Sat, 25 Oct 2014 23:59:59 GMT
- Issuer: Terms of use at https://www.verisign.com/rpa (c)10, VeriSign Trust Network, VeriSign, Inc., US
- Fingerprint: 0a:e3:dc:77:22:99:b0:46:9d:52:82:90:3b:f9:0666:11:d0:cd
(R)eject, accept (t)emporarily or accept (p)ermanently?
while executing
"exec svn -N -q --config-dir ~ding/.subversion checkout https://svn.aps.anl.gov/AOP/oag/trunk oag"
("eval" body line 1)
invoked from within
"eval exec $sudo svn -N -q --config-dir ~${owner}/.subversion checkout https://svn.aps.anl.gov/AOP/oag/trunk oag"
invoked from within
"if {$Build(SDDS) || $Build(SDDSEPICS) || $Build(ELEGANT) || $Build(SHOWER) || $Build(SPIFFE) || $Build(SDDSPYTHON) || $Build(OAGTCLTK) || $Build(SDDSJ..."
(file "Build-AOP-RPMs.tcl" line 289)
Re: svn problem while running Build-AOP-RPMs.tcl
I can't get it to display that message but I googled it and found that it might be fixed if you run:
rm ~/.subversion/auth/svn.ssl.server/*
After running this, try running:
svn -N checkout https://svn.aps.anl.gov/AOP/oag/trunk oag
so that you will be prompted with the warning, then select 'p' to perminently accept svn.aps.anl.gov as a trusted site. Then hopefully next time you run the Build-AOP-RPMs script it won't print out the warning message.
rm ~/.subversion/auth/svn.ssl.server/*
After running this, try running:
svn -N checkout https://svn.aps.anl.gov/AOP/oag/trunk oag
so that you will be prompted with the warning, then select 'p' to perminently accept svn.aps.anl.gov as a trusted site. Then hopefully next time you run the Build-AOP-RPMs script it won't print out the warning message.
Re: svn problem while running Build-AOP-RPMs.tcl
Hi Bob,
still problem. I followed your suggestions, and also did "chmod -R 777 ~/.subversion/auth" based on other web suggestions, but still doesn't work. and if I do "svn ..." it actually won't display that warning message now but cannot run the tcl at that step.
I am requesting the sudo for the cluster and would try to see if your prebuilt rmps work or not.
thanks,
yuantao
still problem. I followed your suggestions, and also did "chmod -R 777 ~/.subversion/auth" based on other web suggestions, but still doesn't work. and if I do "svn ..." it actually won't display that warning message now but cannot run the tcl at that step.
I am requesting the sudo for the cluster and would try to see if your prebuilt rmps work or not.
thanks,
yuantao
Re: svn problem while running Build-AOP-RPMs.tcl
looks your prebuilt rpms almost work. but I have the problem of mkdir as the following. I am the superuser and I plan to put in a afs space which should be fine with making folders. Any tricks for this?
thanks,
Yuantao
[root@oak002 Elegant_2014]# rpm -Uvh --force --prefix=/afs/slac/g/beamphysics/software/Elegant_2014 elegant-25.3.3-1.rhel.6.5.openmpi.x86_64.rpm
Preparing... ########################################### [100%]
1:elegant ########################################### [100%]
error: unpacking of archive failed on file /afs/slac/g/beamphysics/software/Elegant_2014/Pelegant: cpio: mkdir failed - Operation not permitted
[root@oak002 Elegant_2014]#
thanks,
Yuantao
[root@oak002 Elegant_2014]# rpm -Uvh --force --prefix=/afs/slac/g/beamphysics/software/Elegant_2014 elegant-25.3.3-1.rhel.6.5.openmpi.x86_64.rpm
Preparing... ########################################### [100%]
1:elegant ########################################### [100%]
error: unpacking of archive failed on file /afs/slac/g/beamphysics/software/Elegant_2014/Pelegant: cpio: mkdir failed - Operation not permitted
[root@oak002 Elegant_2014]#
Re: svn problem while running Build-AOP-RPMs.tcl
The RPM tries to make a /usr/local/oag/apps/configData/elegant/ringAnalysisTemplates directory which is probably what is causing the problem.
You can unpack the files without installing them with the command:
rpm2cpio elegant-25.3.3-1.rhel.6.5.openmpi.x86_64.rpm | cpio -idmv
This will unpack everything in the usr/bin and usr/local in your local directory.
You can unpack the files without installing them with the command:
rpm2cpio elegant-25.3.3-1.rhel.6.5.openmpi.x86_64.rpm | cpio -idmv
This will unpack everything in the usr/bin and usr/local in your local directory.
Re: svn problem while running Build-AOP-RPMs.tcl
Hi Bob,
I am not encouraged to install the code in the local drive of the cluster, but instead at an AFS space. is there a way with "--prefix" to install ELEGANT rpm all in the AFS space?
thanks,
Yuantao
I am not encouraged to install the code in the local drive of the cluster, but instead at an AFS space. is there a way with "--prefix" to install ELEGANT rpm all in the AFS space?
thanks,
Yuantao
Re: svn problem while running Build-AOP-RPMs.tcl
Not with the rpm command. But can with the rpm2cpio command. Just cd to the /afs/slac/g/beamphysics/software/Elegant_2014 directory before you run it. It will extract everything here then. You should end up with:
/afs/slac/g/beamphysics/software/Elegant_2014/usr/bin/elegant
and
/afs/slac/g/beamphysics/software/Elegant_2014/usr/local/oag/apps/configData/elegant/ringAnalysisTemplates
/afs/slac/g/beamphysics/software/Elegant_2014/usr/bin/elegant
and
/afs/slac/g/beamphysics/software/Elegant_2014/usr/local/oag/apps/configData/elegant/ringAnalysisTemplates
Re: svn problem while running Build-AOP-RPMs.tcl
Thanks Genius!!
just that simple. the prebuilt rpms just works for our cluster!!
-Yuantao
just that simple. the prebuilt rpms just works for our cluster!!
-Yuantao
Re: svn problem while running Build-AOP-RPMs.tcl
HI Bob,
one of my colleagues is running "elegantRingAnalysis" and realized it doesn't work. it shows the error as:
===========================
oak002:~> elegantRingAnalysis
Error in startup script: invalid command name "APSDebugPath"
while executing
"APSDebugPath"
(file "/afs/slac/g/beamphysics/software/Elegant_2014/usr/bin/elegantRingAnalysis" line 157)
==========================
I have the following folders unpacked:
/afs/slac/g/beamphysics/software/Elegant_2014/usr/bin/
/afs/slac/g/beamphysics/software/Elegant_2014/usr/local/oag/apps/configData/elegant/ringAnalysisTemplates
/afs/slac/g/beamphysics/software/Elegant_2014/usr/lib64/tcl8.5
what do I miss?
thanks,
Yuantao
one of my colleagues is running "elegantRingAnalysis" and realized it doesn't work. it shows the error as:
===========================
oak002:~> elegantRingAnalysis
Error in startup script: invalid command name "APSDebugPath"
while executing
"APSDebugPath"
(file "/afs/slac/g/beamphysics/software/Elegant_2014/usr/bin/elegantRingAnalysis" line 157)
==========================
I have the following folders unpacked:
/afs/slac/g/beamphysics/software/Elegant_2014/usr/bin/
/afs/slac/g/beamphysics/software/Elegant_2014/usr/local/oag/apps/configData/elegant/ringAnalysisTemplates
/afs/slac/g/beamphysics/software/Elegant_2014/usr/lib64/tcl8.5
what do I miss?
thanks,
Yuantao
Re: svn problem while running Build-AOP-RPMs.tcl
The script defaults to looking to /usr/local/oag/apps/lib/$HOST_ARCH for the Tcl libraries. You can override this by setting:
export OAG_TOP_DIR=/afs/slac/g/beamphysics/software/Elegant_2014/usr/local
export OAG_TOP_DIR=/afs/slac/g/beamphysics/software/Elegant_2014/usr/local