Patch management for RHEL, CentOS -Download Plug-in problem

(imported topic written by Madej)

Hi All,

I have a problem with Download Plug-in registering task. It seems like a problem, but maybe it isn’t.

I run this task for CentOS (perhaps it is new) and RHEL5. Both tasks starting ok, downloading executable files, and looks good. But these tasks never finish. Evaluating long time, and then hangs on Pending Downloads state. And that’s all.

When I ran other task for Solaris, it ends very quick and working good.

What may be the reason?

BES version is 8.2.1093.0, Windows 2008 ES 32bit.

Thanks for any suggestions?

Regards

Madej

(imported comment written by SystemAdmin)

There are some "Register Download Plugin for

your OS type

" tasks in the “Linux RPM Patching” site that you must first execute before you can apply any patches. Did you run those tasks yet?

(imported comment written by Madej)

I have solved my problem. It was __Downloads directory, which was not empty, and some files/directories were opened in this directory. Task could not clean it.

Regards

Madej

(imported comment written by Madej)

All looks ok, but I still can’t deploy patches to CentOS.

I have registered dowload plug-in, patches being downloaded. But at the and of action I have an error. In the log are entries like below:

GatherActionMV command received.  Version difference, gathering action site. At 16:37:15 +0100 - actionsite (http:
//tem2srv:52311/cgi-bin/bfgather.exe/actionsite) Download 
'http://tem2srv:52311/bfmirror/bfsites/manydirlists_2/__diffsite_551220deeb362077f5df356bdebaf94f34f93f0c_to_e0837d45b42d05c84938a39fde34641ff3bc328d' as 
'__TempUpdateFilename' At 16:37:23 +0100 - Gather merging 

new file /var/opt/BESClient/__BESData/actionsite/Action 730.fxf At 16:37:23 +0100 - actionsite (http:
//tem2srv:52311/cgi-bin/bfgather.exe/actionsite) Successful Synchronization with FixSite (version 1103) - 
'http://tem2srv:52311/cgi-bin/bfenterprise/BESGatherMirror.exe?url=http://tem2srv:52311/cgi-bin/bfgather.exe/actionsite&Time=30Jan16:37:14&rand=2d125c27&ManyVersionSha1=551220deeb362077f5df356bdebaf94f34f93f0c' At 16:37:24 +0100 - actionsite (http:
//tem2srv:52311/cgi-bin/bfgather.exe/actionsite) Relevant - CEBA-2011:1449 - Tar Bug Fix Update - CentOS 5 (fixlet:730) At 16:37:24 +0100 - ActionLogMessage: (action 730) Action signature verified At 16:37:25 +0100 - ItemizedDownloadsAvailable: 

true (action id 730) ActionLogMessage: (action 730) Non-Distributed - DownloadsAvailable ActionLogMessage: (action 730) Submitting download request ActionLogMessage: (action 730) Download url: 
'http://software.bigfix.com/download/bes/dep/centos/edr/CentOSEDRPlugin-x86-1.1' ActionLogMessage: (action 730) Download url: 
'http://software.bigfix.com/download/bes/dep/centos/pkgdeps/pkgdeps-x86' At 16:37:29 +0100 - DownloadCRCPing command received DownloadCRCPing command received At 16:37:33 +0100 - Report posted successfully. At 16:37:35 +0100 - ActionLogMessage: (action 730) Execute prefetch plug-in attempting to reuse plug-in which took too 

long earlier. At 16:37:36 +0100 - ActionLogMessage: (action 730) ending action At 16:37:36 +0100 - actionsite (http:
//tem2srv:52311/cgi-bin/bfgather.exe/actionsite) Not Relevant - CEBA-2011:1449 - Tar Bug Fix Update - CentOS 5 (fixlet:730)

And thats all. In the “View action info” I see:

begin prefetch block parameter 
"sitefolder" = 
"{client folder of site whose (name of it starts with "Patches 

for CentOS 5
" AND name of client folder of it starts with "Patches 

for CentOS 5
")}" parameter 
"depOS" = 
"DEP_CentOS5_IA32" add prefetch item 
{concatenation 
" ; " of lines whose (NOT (exists match (regex 
"CentOSEDRPlugin-x64|pkgdeps-x64") of it)) of file 
"EDR_ExecutablesDLSpec.txt" of folder (parameter 
"sitefolder")
} collect prefetch items Failed execute prefetch plug-in /bin/chmod +x 
"{download path "CentOSEDRPlugin-x86
"}" execute prefetch plug-in /bin/sh 
"{folder (parameter "sitefolder
")}/SelectDepFile.sh" -m 
"{folder (parameter "sitefolder
")}/EDR_DepFileMapping.txt" -c 
{parameter 
"depOS"
} -o 
"{client folder of current site}/EDR_DepFileDLSpec.txt" add prefetch item 
{concatenation 
" ; " of lines of file 
"EDR_DepFileDLSpec.txt" of client folder of current site
} collect prefetch items parameter 
"t0" = 
"{if (exists package "tar
" whose (rpm version record of it < rpm package version record "2:1.15.1-31.el5
" AND architecture of it = "i386
") of rpm AND NOT exists package "tar
" whose (rpm version record of it >= rpm package version record "2:1.15.1-31.el5
" AND architecture of it = "i386
") of rpm) then "tar-1.15.1-31.el5.i386
" else "
"}" parameter 
"args" = 
"{parameter "t0
"}" parameter 
"depfile" = 
"{(parameter "depOS
") & ".xml.bz2
"}" execute prefetch plug-in 
"{download path "CentOSEDRPlugin-x86
"}" --mode 
"pre_resolve" --compdepgraph 
"{download path (parameter "depfile
")}" --outpath 
"{client folder of current site}" --prefpath 
"{client folder of current site}/../../EDRPreferenceLists" --unsuppath 
"{client folder of current site}/../../EDRUnsupported" 
{parameter 
"args"
} --config 5 execute prefetch plug-in 
"{download path "CentOSEDRPlugin-x86
"}" --mode 
"resolve" --resolver 
"{download path "pkgdeps-x86
"}" --compdepgraph 
"{download path (parameter "depfile
")}" --outpath 
"{client folder of current site}" --addtoprefer 
"tar-1.15.1-31.el5.i386" --config 5 execute prefetch plug-in 
"{download path "CentOSEDRPlugin-x86
"}" --mode 
"post_resolve" --compdepgraph 
"{download path (parameter "depfile
")}" --outpath 
"{client folder of current site}" --config 5 add prefetch item 
{

if (exists (file 
"EDR_PackagesDLSpec.txt" of client folder of current site) whose (number of lines of it > 0)) then concatenation 
" ; " of lines of file 
"EDR_PackagesDLSpec.txt" of client folder of current site 

else 
""
} end prefetch block wait sh 
"{folder (parameter "sitefolder
")}/InstallPackages.sh" -f 
{origin fixlet id of action
} -c 
"rpm -U" -e 
"{client folder of current site}" -p 
"{client folder of current site}/__Download" -l 
"{client folder of current site}/../../EDRDeployData" 
{

if (exists (file 
"EDR_PackageList.txt" of client folder of current site) whose (number of lines of it > 0)) then concatenation 
" " of lines of file 
"EDR_PackageList.txt" of client folder of current site 

else 
""
} utility __Download/CentOSEDRPlugin-x86 utility __Download/pkgdeps-x86

What I have to do else for CentOS patching?

Regards