[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
Great script, just a question.

I did setup mod_security reload the apache server and checked all configuration were done as instruction you wrote.

So, my question is, why the SecServerSignature "string" does not change the http header with the name of string but keeps apache ?

Any idea ?

Thanks.
You need to check your Apache configuration to make sure that the current server signature is not shorter than the one you're telling Mod Security to change it to. It sounds like you currently have it on Prod, while it should probably be more like Full to make it a nicer length to use.
 
You need to check your Apache configuration to make sure that the current server signature is not shorter than the one you're telling Mod Security to change it to. It sounds like you currently have it on Prod, while it should probably be more like Full to make it a nicer length to use.

Your trick worked fine. Thanks a lot.
 
update.script Version: 1.3
run this
Code:
./update.script CLEAN
./update.script UPDATEME
Note:-
Select best mirror for your server mirror.conf , if you want new mirror.conf file just delete old one in update script folder.


Wael
 
Thanks for this update Wael, I noticed mirror.conf has a problem with line parses... (check the code below, I opened it with VI)

Code:
#!/bin/sh^M
##################################################################^M
#^M
# GNU GENERAL PUBLIC LICENSE^M
# Version 2, June 1991^M
# Copyright (C) 2006,2007 Free Software Foundation, Inc.^M
# 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA^M
# Everyone is permitted to copy and distribute verbatim copies^M
# of this license document, but changing it is not allowed.^M
#^M
# Update script made by Wael Isa^M
# H188, R4008, Arad 240, Kingdom of Bahrain^M
# http://www.web4host.net^M
# Version: 1.3^M
# Release Date: 1 / 9 / 2006^M
#^M
##################################################################^M
MIRRORV=0.1^M
 
Thanks for this update Wael, I noticed mirror.conf has a problem with line parses... (check the code below, I opened it with VI)

Code:
#!/bin/sh^M
##################################################################^M
#^M
# GNU GENERAL PUBLIC LICENSE^M
# Version 2, June 1991^M
# Copyright (C) 2006,2007 Free Software Foundation, Inc.^M
# 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA^M
# Everyone is permitted to copy and distribute verbatim copies^M
# of this license document, but changing it is not allowed.^M
#^M
# Update script made by Wael Isa^M
# H188, R4008, Arad 240, Kingdom of Bahrain^M
# http://www.web4host.net^M
# Version: 1.3^M
# Release Date: 1 / 9 / 2006^M
#^M
##################################################################^M
MIRRORV=0.1^M

you need to delete mirror.conf then run clean.
Code:
rm mirror.conf
./update.script CLEAN

Wael
 
Still the same problem Wael. Any ideas? Does it show ok in your server? (maybe wget problem?)

Thanks

Jose
 
Just some typos, but at the top, it says "Install/Upadet to :-" instead of "Install/Update to:-". Also, the command for the Mod_security 2.5 rules is " MODsecurity25Apache2Rules" but is listed as " MODsecurity25Apache25Rules". But even when that's fixed and you run the command, it doesn't seem to do anything. I had to empty the /etc/modsecurity2 directory because there were a decent few incompatible rules, but after running the 2.5 rules command, nothing was put there. I had to manually wget the file with the rules in it, extract it, rename all the rules files (for simplicity for me), and then add their locations to the Apache configuration. =/
 
mirror.conf fine
http://tools.supernamechange.com/mirror.conf
try to make new one copy from link then save

Wael

Tried it got the following error:

Code:
wget -O mirror.conf http://tools.supernamechange.com/mirror.conf
--06:23:21--  http://tools.supernamechange.com/mirror.conf
           => `mirror.conf'
Resolving tools.supernamechange.com... done.
Connecting to tools.supernamechange.com[67.205.76.198]:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
06:23:21 ERROR 500: Internal Server Error.
 
Nothing to be sorry Wael thanks for the effort. I tried it and it did download the file; yet I'm still getting the ^M at the end of each line.

Thanks (and sorry for bothering) :D

Jose
 
eAccelerator can't work

Hi guys,

I've updated PHP using build php_ap2. However, when PHP is invoke, the error of eAccelerator built for version 4.4.4 was shown.

I have tried to use the update.script to rebuild the EA but the problem is still the same. Am I missing something?

Thanks in advance.
 
Ok. I did that. Remove the eaccelerator.so and then run update.script EACCELERATOR

The results the same. Any clue? Is there any file that is outdated which causes the build process to refer to old version headers?
 
Comment out the eaccelerator line in your php.ini, then rebuild php to latest.

Now rebuild eaccelerator then edit your php.ini to reflect the new path. That should make it work I think.
 
SpamAssasin not gettting upgraded?

Hi All,

I ran the update script to update SpamAssasin to version 3.2.4.

The update ran fine,. but when I check the binary,. I'm still stuck on the old binaryl,.. even after a reboot.


server.com:/usr/local/updatescript # /usr/bin/spamd --version
SpamAssassin Server version 3.0.1
running on Perl
with SSL support (IO::Socket::SSL 1.06)

Any pointers?

-Alon.
 
Back
Top