[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

wdclub

Verified User
Joined
Aug 13, 2006
Messages
14
Code:
./update.script
Shows only heading:
Code:
##################################################################
#
# GNU GENERAL PUBLIC LICENSE
# Version 2, June 1991
................................................................... etc.
More nothing occurs :confused:
 

Oddis

Verified User
Joined
May 24, 2005
Messages
50
Have you tried:
./update.script CLEAN
./update.script


Code:
./update.script
Shows only heading:
Code:
##################################################################
#
# GNU GENERAL PUBLIC LICENSE
# Version 2, June 1991
................................................................... etc.
More nothing occurs :confused:
 

HanSieT

Verified User
Joined
Jan 30, 2006
Messages
125
Location
Netherlands
Wael,

Im getting strange errors on upgrading phpmyadmin.
Code:
HTTP request sent, awaiting response... 404 Not Found
20:51:46 ERROR 404: Not Found.

Catastrophe! All Mirrors failed.
Is sourceforge down?
 

ITDevil

Verified User
Joined
Feb 2, 2007
Messages
53
Wael,

Im getting strange errors on upgrading phpmyadmin.
Code:
HTTP request sent, awaiting response... 404 Not Found
20:51:46 ERROR 404: Not Found.

Catastrophe! All Mirrors failed.
Is sourceforge down?
there seems to be problem with phpmyadmin mirrors... you should try after some time... it took me atleast 10 tries ... before i finally got slow mirror...
 

venon

Verified User
Joined
Jul 16, 2006
Messages
52
AVG Anti-Virus

I trying to make a cron job to make this work every Sunday .

avgscan -clean -ext=* -rt -arc /home
is OK the way I did it ?
check picture
or there is another way I can make this happen ?

thanks for any help
 

Attachments

Last edited:

chatwizrd

Verified User
Joined
Jul 3, 2005
Messages
2,007
I trying to make a cron job to make this work every Sunday .

avgscan -clean -ext=* -rt -arc /home
is OK the way I did it ?
check picture
or there is another way I can make this happen ?

thanks for any help
You will need the full path to the avgscan command too.
 

SupermanInNY

Verified User
Joined
Sep 28, 2004
Messages
352
MRTG script fails as it is missing a step:

The script has a 'cleanup' process that deletes stuff from /tmp
But the next step attempts to Untar at the /usr/local/updatescript.

The missing step is the

cd /usr/local/updatescript

that gets you back to the working directory where you actually d/l the mrtg file.
without going back, the script attempts to find the ./configure line where it can't find it (as the pointer was left at the /tmp).


Here is the correct code fix:

rm -rf mrtg*
echo "Preparations complete..."
cd /tmp ; rm -fr mrtg*.tar.gz mrtg*
cd /usr/local/updatescript
echo "Downloading the most recent MRTG and installing it..."


OH.. and I just love that script :))

-Alon.
 
Last edited:

spirit

Verified User
Joined
Nov 27, 2004
Messages
195
Location
Germany - Bremen
Hi,

When i try to install mod_security (Apache 2) ii got the folowing error:

./update.script: line 1092: ./updatescript: No such file or directory
 

BWebMass

New member
Joined
Nov 14, 2007
Messages
3
i donated for this script in 2 - 3 month past

but now i make new system new os

now i use FreeBSD 6.2

when

./update.scripts MRTG

found
Checking for previous MRTG installation...
The directory /var/www/html/mrtg does not exist. I will create it...
Creating necessary directories and preparing for installation...
cd: can't cd to /usr/local/src
Preparations complete...
Downloading the most recent MRTG and installing it...
--14:29:06-- http://oss.oetiker.ch/mrtg/pub/mrtg-2.15.2.tar.gz
=> `mrtg-2.15.2.tar.gz'
Resolving oss.oetiker.ch... 213.144.138.195
Connecting to oss.oetiker.ch|213.144.138.195|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,070,900 (1.0M) [application/x-tar]

100%[======================================================================================>] 1,070,900 221.57K/s ETA 00:00

14:29:12 (193.76 KB/s) - `mrtg-2.15.2.tar.gz' saved [1070900/1070900]

cd: too many arguments
./update.script: ./configure: not found
make: no target to make.
make: don't know how to make install. Stop
MRTG has been installed...
Updating MRTG config and template...
--14:29:12-- http://tools.supernamechange.com/mrtgcfg.tar.gz
=> `mrtgcfg.tar.gz'
Resolving tools.supernamechange.com... 72.55.156.182
Connecting to tools.supernamechange.com|72.55.156.182|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,056 (2.0K) [application/x-gzip]

100%[======================================================================================>] 2,056 --.--K/s

14:29:13 (5.01 MB/s) - `mrtgcfg.tar.gz' saved [2056/2056]

Adding MRTG to /etc/crontab...
env: /usr/local/mrtg-2/bin/mrtg: No such file or directory
env: /usr/local/mrtg-2/bin/mrtg: No such file or directory
env: /usr/local/mrtg-2/bin/mrtg: No such file or directory
env: /usr/local/mrtg-2/bin/mrtg: No such file or directory
Cleaning up installation...


MRTG install done
how to fix it
 

Maestro-

Verified User
Joined
Mar 31, 2007
Messages
10
IMAP
Apache 1
Code:
nano -w  configure.php
Apache 2
Code:
nano -w  configure2.php
add
Code:
--with-imap=/usr/local/imap-2004c1 \
after
Code:
--with-zip \
save then build php and restart apache
Code:
service httpd restart
*****
*****
*****

AVG Anti-Virus
Clean folder HOME (full)
Code:
avgscan -clean -ext=* -rt -arc /home
clean folder HOME (without archives)
Code:
avgscan -clean -ext=* -rt /home
ill add more soon.

*****
*****
*****

Best Regards,
Wael Isa
[/FONT]

Hello,

I'm trying to install php-imap. However, a yum install php-imap tells me there's nothing to do, so i'm trying this.

I'm using apache 1.x, but i'm a little confused. Where is the configure.php am i supposed to build? I randomized and found configure.php4 under directadmin's custombuild apache, not sure whether its correct. if so, i don't find with-zip though.

Also, what is the proper way to build php?
 
Last edited:

@how@

Verified User
Joined
Mar 2, 2005
Messages
962
Location
Kingdom of Bahrain
in
/usr/local/directadmin/customapache
configure.php = apache 1x
configure2.php = apache 2x
or
/usr/local/directadmin/custombuild/configure
ap1 = apache 1x
ap2 = apache 2x

Wael
 

@how@

Verified User
Joined
Mar 2, 2005
Messages
962
Location
Kingdom of Bahrain
MODsecurity 2.1.4 Apache 2.2.6 & custombuild ONLY
if you want other apache ver, post in reply to add in next update.

Wael
 
Top