Hi,
I have to install this script couple of times, however for an uncertain reason it doesn´t seem to work ok, at least in my system. I get the following error during the installation, any possible solution?
Thanks a lot!
gargol.-
[root@b30a root]# sh razor_patch.sh
Now update and patch Razor2 to work with SpamAssassin 2.60
--17:18:59--
http://sme.swerts-knudsen.dk/downloads/SpamAssassin/razor/Razor2_236.tar => Razor2_236.tar.3'
Resolving b30a... done.
Connecting to b30a[172.20.46.90]:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 184,320 [application/x-tar]
100%[===========================================================>] 184,320 25.11M/s ETA 00:00
17:18:59 (25.11 MB/s) - Razor2_236.tar.3' saved [184320/184320]
--17:18:59--
http://sme.swerts-knudsen.dk/downloads/SpamAssassin/razor/Razor2.patch => Razor2.patch.3'
Resolving b30a... done.
Connecting to b30a[172.20.46.90]:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2,911 [text/plain]
100%[===========================================================>] 2,911 2.78M/s ETA 00:00
17:18:59 (2.78 MB/s) - Razor2.patch.3' saved [2911/2911]
patching file Client/Agent.pm
Hunk #1 succeeded at 981 (offset 12 lines).
patching file Client/Config.pm
Hunk #1 succeeded at 333 (offset 10 lines).
patching file Client/Core.pm
Hunk #1 succeeded at 218 (offset 2 lines).
Updating Pyzor database...
downloading servers from
http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-xTraceback (most recent call last):
File "/usr/bin/pyzor", line 4, in ?
pyzor.client.run()
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 934, in run
ExecCall().run()
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 175, in run
download(config.get('client', 'DiscoverServersURL'), servers_fn)
File "/usr/lib/python2.2/site-packages/pyzor/client.py", line 943, in download
urllib.urlretrieve(url, outfile)
File "//usr/lib/python2.2/urllib.py", line 80, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "//usr/lib/python2.2/urllib.py", line 210, in retrieve
fp = self.open(url, data)
File "//usr/lib/python2.2/urllib.py", line 178, in open
return getattr(self, name)(url)
File "//usr/lib/python2.2/urllib.py", line 292, in open_http
h.endheaders()
File "//usr/lib/python2.2/httplib.py", line 695, in endheaders
self._send_output()
File "//usr/lib/python2.2/httplib.py", line 581, in _send_output
self.send(msg)
File "//usr/lib/python2.2/httplib.py", line 548, in send
self.connect()
File "//usr/lib/python2.2/httplib.py", line 532, in connect
raise socket.error, msg
IOError: [Errno socket error] (111, 'Connection refused')
razor_patch.sh: service: command not found
Update and Patch completed.