LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 09-01-2005, 08:15 AM   #1
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Rep: Reputation: 30
smpatch update errors...


I just updated my solaris box, rebooted and now I receive the following error when I attempt to update the system again using smpatch update.

Any ideas?

# smpatch update
java.io.IOException: /usr/lib/cc-ccr/bin/ccr: cannot execute
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at com.sun.patchpro.util.CCRCmdLine.exec(CCRCmdLine.java:140)
at com.sun.patchpro.util.CCRCmdLine.get(CCRCmdLine.java:95)
at com.sun.patchpro.util.Downloader.connectToURL(Downloader.java:203)
at com.sun.patchpro.util.CachingDownloader.establishConnection(CachingDownloader.java:584)
at com.sun.patchpro.util.CachingDownloader.setSourceURL(CachingDownloader.java:274)
at com.sun.patchpro.util.CachingDownloader.setupCache(CachingDownloader.java:200)
at com.sun.patchpro.util.CachingDownloader.<init>(CachingDownloader.java:185)
at com.sun.patchpro.server.ServerPatchServiceProvider.downloadFile(ServerPatchServiceProvider.java:775)
at com.sun.patchpro.server.ServerPatchServiceProvider.downloadRealizationDetectors(ServerPatchServicePr ovider.java:597)
at com.sun.patchpro.server.PatchServerProxy.downloadRealizationDetectors(PatchServerProxy.java:127)
at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.downloadDetectorsWithPOST(HostAnalyzer.jav a:1190)
at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.downloadDetectors(HostAnalyzer.java:1154)
at com.sun.patchpro.analysis.HostAnalyzer$RealizationSetAuto.prepare(HostAnalyzer.java:873)
at com.sun.patchpro.analysis.HostAnalyzer.downloadDetectors(HostAnalyzer.java:299)
at com.sun.patchpro.model.PatchProModel.downloadDetectors(PatchProModel.java:1764)
at com.sun.patchpro.model.PatchProStateMachine$4.run(PatchProStateMachine.java:245)
at com.sun.patchpro.util.State.run(State.java:266)
at java.lang.Thread.run(Thread.java:595)
java.io.IOException: /usr/lib/cc-ccr/bin/ccr: cannot execute
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at com.sun.patchpro.util.CCRCmdLine.exec(CCRCmdLine.java:140)
at com.sun.patchpro.util.CCRCmdLine.get(CCRCmdLine.java:95)
at com.sun.patchpro.util.Downloader.connectToURL(Downloader.java:203)
at com.sun.patchpro.util.CachingDownloader.establishConnection(CachingDownloader.java:584)
at com.sun.patchpro.util.CachingDownloader.setSourceURL(CachingDownloader.java:274)
at com.sun.patchpro.util.CachingDownloader.setupCache(CachingDownloader.java:200)
at com.sun.patchpro.util.CachingDownloader.<init>(CachingDownloader.java:185)
at com.sun.patchpro.server.ServerPatchServiceProvider.downloadFile(ServerPatchServiceProvider.java:775)
at com.sun.patchpro.server.ServerPatchServiceProvider.downloadDatabaseFile(ServerPatchServiceProvider.j ava:538)
at com.sun.patchpro.server.ServerPatchServiceProvider.downloadPatchDB(ServerPatchServiceProvider.java:4 22)
at com.sun.patchpro.server.PatchServerProxy.downloadPatchDB(PatchServerProxy.java:115)
at com.sun.patchpro.database.MemoryPatchDBBuilder.downloadPatchDBWithPOST(MemoryPatchDBBuilder.java:145 )
at com.sun.patchpro.database.MemoryPatchDBBuilder.downloadPatchDB(MemoryPatchDBBuilder.java:734)
at com.sun.patchpro.database.MemoryPatchDBBuilder.buildDB(MemoryPatchDBBuilder.java:108)
at com.sun.patchpro.database.MemoryPatchDBBuilder.buildDB(MemoryPatchDBBuilder.java:163)
at com.sun.patchpro.database.GroupPatchDBBuilder.buildDB(GroupPatchDBBuilder.java:108)
at com.sun.patchpro.model.PatchProModel.downloadPatchDB(PatchProModel.java:1837)
at com.sun.patchpro.model.PatchProStateMachine$5.run(PatchProStateMachine.java:277)
at com.sun.patchpro.util.State.run(State.java:266)
at java.lang.Thread.run(Thread.java:595)
#

----------------
java.io.IOException: /usr/lib/cc-ccr/bin/ccr: cannot execute
/usr/lib/cc-ccr/bin/ccr exisits and has the following permissions:

-rw-r--r-- 1 root 57872 Jul 24 14:42 ccr


any ideas?

Thanks
 
Old 09-01-2005, 08:21 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
What returns:
Code:
pkgchk -l -p  /usr/lib/cc-ccr/bin/ccr
?
 
Old 09-01-2005, 08:31 AM   #3
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Original Poster
Rep: Reputation: 30
pkgchk -l -p /usr/lib/cc-ccr/bin/ccr
Pathname: /usr/lib/cc-ccr/bin/ccr
Type: regular file
Expected mode: 0755
Expected owner: root
Expected group: root
Expected file size (bytes): 57872
Expected sum(1) of contents: 59980
Expected last modification: Jul 24 14:42:25 2005
Referenced by the following packages:
SUNWccccr
Current status: installed



It looks like a forbidden error. I've been looking around and I have the 119108-03 patch installed to go to Sun Update Connection. I am uninstalling it to see if I continue to get the notification.

Thanks for the help
 
Old 09-01-2005, 08:39 AM   #4
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Original Poster
Rep: Reputation: 30
an uninstall of the mentioned patch did nothing. However The error has changed:

FROM:

Failure: Cannot connect to retrieve Database/current.zip: Server returned HTTP response code: 403 for URL: https://getupdates.sun.com/solaris/

TO:

Failure: Cannot connect to retrieve detectors: Server returned HTTP response code: 403 for URL: https://getupdates.sun.com/solaris/


Thanks
 
Old 09-01-2005, 04:21 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Did the patch back-out fixed the issue with /usr/lib/cc-ccr/bin/ccr ?

Have you a support subscription ?

Have a look too at:
http://sunsolve.sun.com/search/docum...ey=1-9-82274-1
 
Old 09-01-2005, 04:40 PM   #6
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Original Poster
Rep: Reputation: 30
the backout didn't fix ccr. ccr was a permissions issue. It appears that when the system was updated smpatch changed the permission on that file. It was no longer an executable. changing it back to an executable brought me to my current situation.

I may still have a bronze contract on this box, I'm not sure, If I do could I use that or do I need to buy a plan specifically for software updates?.
I definately have a service plan for another sun box. Could I use the same code for both, if possible, or do I have to buy separate plans for each machine?

Thanks for all your help
 
Old 09-01-2005, 10:14 PM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
I'm not qualified to answer your last questions, you'd rather ask your Sun support representatives.
 
Old 09-02-2005, 07:32 AM   #8
jsheffie
Member
 
Registered: Dec 2004
Location: Florida, USA
Distribution: Suse 10.0, OSX.4, Solaris 10
Posts: 163

Original Poster
Rep: Reputation: 30
Thanks Jilliagre. You've been a lot of help over the past few months.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
smpatch issues? jsheffie Solaris / OpenSolaris 0 10-17-2005 10:20 AM
smpatch update - bombs on second run - need to register?! Cant without GUI? lhradowy Solaris / OpenSolaris 7 09-09-2005 09:00 AM
Suse 9.3 update errors Chequah Suse/Novell 2 07-15-2005 11:21 AM
update errors gibbylinks Fedora 3 11-12-2003 09:02 AM
New Errors After Kernel Update mikeyt_333 Linux - General 6 02-27-2002 06:12 PM


All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration