[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
Code:
./update.script

Shows only heading:
Code:
##################################################################
#
# GNU GENERAL PUBLIC LICENSE
# Version 2, June 1991
................................................................... etc.
More nothing occurs :confused:
 
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:
 
Have you tried:
./update.script CLEAN
./update.script

Yes, I tried, but it not change anything..
I see only script head and must make CTRL+C for return in shell.
 

Attachments

  • script.png
    script.png
    10.7 KB · Views: 512
Last edited:
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?
 
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...
 
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

  • cron.jpg
    cron.jpg
    33.9 KB · Views: 512
Last edited:
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.
 
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:
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
 
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
 
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:
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
 
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
 
Back
Top