[tools] update.script

Do you like use update.script ?

  • yes, all time

    Votes: 221 69.1%
  • no, some time

    Votes: 44 13.8%
  • some time

    Votes: 55 17.2%

  • Total voters
    320
Hi!

i have problem with exim, exim path for download is bad:

-----------

[root@server - /usr/local/updatescript # ./update.script EXIMTAR

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.xxx
* extras: centos.mirror.xxx
* updates: centos.mirror.xxx
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package rpm-build-4.4.2.3-22.el5_7.2.i386 already installed and latest version
Package db4-4.3.29-10.el5_5.2.i386 already installed and latest version
Package db4-devel-4.3.29-10.el5_5.2.i386 already installed and latest version
Package compat-db-4.2.52-5.1.i386 already installed and latest version
Nothing to do
--2011-10-16 23:16:10-- ftp://ftp.exim.org/pub/exim/exim4/exim-4.76.tar.gz
=> `exim-4.76.tar.gz'
Resolving ftp.exim.org... 131.111.8.192, 2001:630:212:8:204:23ff:fed6:b664
Connecting to ftp.exim.org|131.111.8.192|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/exim/exim4 ... done.
==> SIZE exim-4.76.tar.gz ... done.
==> PASV ... done. ==> RETR exim-4.76.tar.gz ...
No such file `exim-4.76.tar.gz'.

md5sum: /usr/local/updatescript/exim-4.76.tar.gz: No such file or directory
MD5 invalid. Aborting.
-----------

Thanks!!
 
i use this (custombuid) for the first time and not work... the version not change if i look the version after update!

if i have exim 4.67 or 4.76 and upgrade to 4.77 the version not change.
 
Code:
cd /usr/local/directadmin/custombuild
./build set custombuild 1.2
./build update.
./build versions

This should give you the output of avaible for update packages.

If exim is on this list just do:

Code:
./build exim

exim 4.77 is still not in custombuild atm.
EDIT. Yes it is, my mirror wasnt up2date :)

Regards
 
Last edited:
Yes it's ok!! But if i look after upgrade: ./build versions

Exim 4.67 to 4.77 update is available.

and i don't look the new version in directadmin infos. i view only old version.
 
[root@server - /usr/local/directadmin/custombuild # mv /usr/sbin/exim-4.77-* /usr/sbin/exim
mv: target `/usr/sbin/exim' is not a directory
[root@server - /usr/local/directadmin/custombuild # /etc/init.d/exim restart
Shutting down exim:
Starting exim:
[root@server - /usr/local/directadmin/custombuild # exim -bV
Exim version 4.67 #1 built 22-Apr-2007 19:51:05
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (January 7, 2007)
Support for: crypteq iconv() Perl OpenSSL move_frozen_messages Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Size of off_t: 8
Configuration file is /etc/exim.conf

------------------

not work...
 
[root@server - /usr/local/directadmin/custombuild # ls -l /usr/sbin/exim*
-rwsr-xr-x 1 root root 808520 Apr 22 2007 /usr/sbin/exim
-rwsr-xr-x 1 root root 1929805 Jul 16 2010 /usr/sbin/exim-4.72-1
-rwsr-xr-x 1 root root 1960010 Oct 17 03:20 /usr/sbin/exim-4.77-2
-rwsr-xr-x 1 root root 1960010 Oct 16 22:49 /usr/sbin/exim-4.77-3
-rwxr-xr-x 1 root root 4605 Oct 17 03:20 /usr/sbin/exim_checkaccess
-rwxr-xr-x 1 root root 4605 Oct 17 03:20 /usr/sbin/exim_checkaccess.O
-rwxr-xr-x 1 root root 11208 Oct 17 03:20 /usr/sbin/exim_dbmbuild
-rwxr-xr-x 1 root root 11208 Oct 17 03:20 /usr/sbin/exim_dbmbuild.O
-rwxr-xr-x 1 root root 15850 Oct 17 03:20 /usr/sbin/exim_dumpdb
-rwxr-xr-x 1 root root 15850 Oct 17 03:20 /usr/sbin/exim_dumpdb.O
-rwxr-xr-x 1 root root 21335 Oct 17 03:20 /usr/sbin/exim_fixdb
-rwxr-xr-x 1 root root 21335 Oct 17 03:20 /usr/sbin/exim_fixdb.O
-rwxr-xr-x 1 root root 15113 Oct 17 03:20 /usr/sbin/exim_lock
-rwxr-xr-x 1 root root 15113 Oct 17 03:20 /usr/sbin/exim_lock.O
-rwxr-xr-x 1 root root 150714 Oct 17 03:20 /usr/sbin/eximstats
-rwxr-xr-x 1 root root 150714 Oct 17 03:20 /usr/sbin/eximstats.O
-rwxr-xr-x 1 root root 16423 Oct 17 03:20 /usr/sbin/exim_tidydb
-rwxr-xr-x 1 root root 16423 Oct 17 03:20 /usr/sbin/exim_tidydb.O
 
With update.script i suppose you made some kind of mess...

Do this:

Code:
rm -rf /usr/sbin/exim-*
/usr/local/directadmin/custombuild/build exim
mv /usr/sbin/exim-4.77-* /usr/sbin/exim
/etc/init.d/exim restart
exim -bV


Regards
 
I get 403 forbidden when trying to wget the script? Worked just fine yesterday.

Code:
nod01:/usr/local/updatescript# wget http://tools.web4host.net/update.script
--2011-10-21 21:59:37--  http://tools.web4host.net/update.script
Resolving tools.web4host.net... 64.85.164.56
Connecting to tools.web4host.net|64.85.164.56|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2011-10-21 21:59:38 ERROR 403: Forbidden.
 
I get 403 forbidden when trying to wget the script? Worked just fine yesterday.

Code:
nod01:/usr/local/updatescript# wget http://tools.web4host.net/update.script
--2011-10-21 21:59:37--  http://tools.web4host.net/update.script
Resolving tools.web4host.net... 64.85.164.56
Connecting to tools.web4host.net|64.85.164.56|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2011-10-21 21:59:38 ERROR 403: Forbidden.

server up.
 
]# ./update.script UPDATEME

--2011-11-19 13:44:16-- http://tools.web4host.net/licenses.tmp
Resolving tools.web4host.net... 64.85.164.56
Connecting to tools.web4host.net|64.85.164.56|:80... failed: Connection timed out.
Retrying.

--2011-11-19 13:44:38-- (try: 2) http://tools.web4host.net/licenses.tmp
Connecting to tools.web4host.net|64.85.164.56|:80... failed: Connection timed out.
Retrying.

--2011-11-19 13:45:01-- (try: 3) http://tools.web4host.net/licenses.tmp
Connecting to tools.web4host.net|64.85.164.56|:80... failed: Connection timed out.
Retrying.
 
]# ./update.script UPDATEME

--2011-11-19 13:44:16-- http://tools.web4host.net/licenses.tmp
Resolving tools.web4host.net... 64.85.164.56
Connecting to tools.web4host.net|64.85.164.56|:80... failed: Connection timed out.
Retrying.

--2011-11-19 13:44:38-- (try: 2) http://tools.web4host.net/licenses.tmp
Connecting to tools.web4host.net|64.85.164.56|:80... failed: Connection timed out.
Retrying.

--2011-11-19 13:45:01-- (try: 3) http://tools.web4host.net/licenses.tmp
Connecting to tools.web4host.net|64.85.164.56|:80... failed: Connection timed out.
Retrying.

maybe your server ip blacklist, try again and pm me with server ip.
 
# ping 64.85.164.56
PING 64.85.164.56 (64.85.164.56) 56(84) bytes of data.
64 bytes from 64.85.164.56: icmp_seq=1 ttl=50 time=230 ms
64 bytes from 64.85.164.56: icmp_seq=2 ttl=50 time=227 ms
64 bytes from 64.85.164.56: icmp_seq=3 ttl=50 time=217 ms

I can ping to the IP but failed to telnet to port 80

# telnet 64.85.164.56 80
Trying 64.85.164.56...
^C
 
Hi man,

long time i dont follow this thread but today ive a nice question.

Ive an installation script that use your script to install eaccelerator, so, the command on my script was:
./update.script EACCELERATOR1

That is supposed to install eaccelerator, but today, ive noticed that wasnt installing but just shoiwng the option list, so, ive tryed manually, same result, tryed remove the 1 for have the list of options just for eaccelerator, same result, all options show... no install.

Has this been removed or there is a sort of problem with it atm?

Also, can i inspect the script for manually do this installation on my script?

Thanks

Regards
 
Back
Top