I have set up wsus offline on a Synology DS712+ NAS by compiling the missing modules myself.
I still get the following error, but it seems the output is ok anyway, however as the .sh files are quite complex I am not 100 % sure and would like to know if this message also appears on other linux systems or if I might need a different GREP version or compile it differently. Presently all is compiled with default settings.
- Code: Select all
Determining update URLs for w2k3 enu...
=== > grep: memory exhausted <===
Determining update URLs for win enu...
The GREP commands I find in the DownloadUpdates.sh between the above lines are - but the output files are created.
- Code: Select all
grep -F -i -v -f ../temp/tmpExcludeList-${sys}.txt ../temp/tmpUrls-${OS_sys}-${lang}.txt > ../temp/ValidUrls-${sys}-${lang}.txt
grep -F -i -v -f ../temp/tmpExcludeList-${sys}.txt ../temp/tmpValidUrls-${sys}-glb.txt > ../temp/ValidUrls-${sys}-glb.txt
An other thing I do not understand is that the file count in the client\w2k3\enu folder is different depending on which system fills it - blank wsusoffline directory, same day, same parameters:
Synology: 200 files
Ubuntu: 236 files
Windows: 246 files
My setup:
Synology DSM 4.0 = Linux Kernel 2.6.32.12
bash-4.3
cabextract-1.4
coreutils-8.23
grep-2.21
libxml2-2.7.8
libxslt-1.1.26
md5deep-3.9.2
mkisofs-1.12b5 (this is too old for the script and others do not compile)
openssl-1.0.1j
wget-1.16
xmlstarlet-1.6.1
Thanks and brgds
Philipp
N. B. replies in German are certainly fine as well.