[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
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

Hi,

Using 1.1 CustomBuild with 2.2.6 apache trying to use mod_security2 but this happens:

Makefile:44: /usr/local/directadmin/custombuild/httpd-2.2.6/build/special.mk: No such file or directory
make: *** No rule to make target `/usr/local/directadmin/custombuild/httpd-2.2.6/build/special.mk'. Stop.
mkdir: cannot create directory `/etc/modsecurity2': File exists
Only one mirror to download Modsecurity-2-Makefile

--16:32:49-- http://wget/
Resolving wget... failed: Name or service not known.




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

Additionally, reverting back to 1.9.5 gave me this error at the end:
--16:39:26-- http://www.supernamechange.com/tools/modsecurity/apache2.conf
Resolving www.supernamechange.com... 72.55.156.182
Connecting to www.supernamechange.com|72.55.156.182|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
16:39:27 ERROR 500: Internal Server Error.
 
Last edited:
Hey there HOW ,
just gota small issue running the update script for IMAP on freebsd 6.2 mate.

x imap-2004c1/CPYRIGHT
x imap-2004c1/SUPPORT
x imap-2004c1/buildit
cd: too many arguments
--14:49:35-- http://tools.supernamechange.com/buildit
=> `buildit'
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: 131 [text/plain]

100%[========================================================================================>] 131 --.--K/s

14:49:35 (10.41 MB/s) - `buildit' saved [131/131]

make: don't know how to make bsf. Stop
cd: can't cd to imapd
cp: illegal option -- -
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-lpv] source_file ... target_directory
cd: can't cd to c-client/
cp: *.h: No such file or directory
cp: *.c: No such file or directory
cp: c-client.a: No such file or directory

************************************
Change the configure file of php.
************************************

any ideas ???
 
ERROR follow:

/usr/local/sbin/clamd: error while loading shared libraries: libclamav.so.3: cannot open shared object file: No such file or directory
/usr/local/bin/freshclam: error while loading shared libraries: libclamav.so.3: cannot open shared object file: No such file or directory
clamd: no process killed
freshclam: no process killed
/usr/local/bin/freshclam: error while loading shared libraries: libclamav.so.3: cannot open shared object file: No such file or directory
/usr/local/sbin/clamd: error while loading shared libraries: libclamav.so.3: cannot open shared object file: No such file or directory
ClamAV auto start when server reboot
clamd: no process killed
freshclam: no process killed
 
Or run clean then update clamav again, script fixed now ;)


Wael

right now was ok ?

Code:
ClamAV update process started at Tue Jan  8 12:35:50 2008
main.cvd is up to date (version: 45, sigs: 169676, f-level: 21, builder: sven)
daily.inc is up to date (version: 5428, sigs: 19571, f-level: 21, builder: ccordes)
LibClamAV Error: Database Directory: /usr/local/share/clamav not locked
freshclam: no process killed
ClamAV auto start when server reboot
 
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.

So this then?

/opt/grisoft/avg7/bin/avgscan -clean -ext=* -rt -arc /home

Thanks for the script btw.
 
Last edited:
Ok, I'm having a problem with getting IMAP to work. I've installed IMAP as per the instructions, modified the Apache 2 configuration file and rebuilt PHP 5.x and restarted the httpd service however whenever I try to log in to Squirrel Mail I get this error...

Bad request: The IMAP server is reporting that plain text logins are disabled. Using CRAM-MD5 or DIGEST-MD5 authentication instead may work. Also, the use of TLS may allow SquirrelMail to login. Please contact your system administrator and report this error.

Obviously it worked before I tried to install IMAP. Now I've searched and manually looked through the server's files (The IMAP files are indeed installed at /usr/local/imap-2004c1/) but I can't find a configuration file to change the IMAP service to allow plain text logins. Additionally when I look at my running services window in Direct Admin I don't see IMAP there, assuming it's supposed to be there at all. I'd like to get it working with plain text logins because I actually want to use roundcube webmail not Squirrelmail.

So several hours later I'm at a loss.

EDIT:

I ended up getting around this problem by switching to Dovecot via Custom Apache.
 
Last edited:
Hi,

Exim 4.69 officially out!
I changed the version in the script, but got fat-ass errors..

Searched some and found this as solution:

Download waels exim-makefile (get url out of update.script), edit/add this:

HAVE_ICONV=yes
CFLAGS=-O -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -liconv

Put it online on your server and change download path in script, update goes very well after that!

If more people get compile errors, maybe wael can edit the script?

Still using an loving the script!
 
Hi,

Exim 4.69 officially out!
I changed the version in the script, but got fat-ass errors..

Searched some and found this as solution:

Download waels exim-makefile (get url out of update.script), edit/add this:

HAVE_ICONV=yes
CFLAGS=-O -I/usr/local/include
EXTRALIBS_EXIM=-L/usr/local/lib -liconv

Put it online on your server and change download path in script, update goes very well after that!

If more people get compile errors, maybe wael can edit the script?

Still using an loving the script!

Thanks, update.script UPDATED ;)

Regards,
Wael
 
It should be noted that "MODsecurity 2.1.4 Apache 2.2.6 & custombuild ONLY" will only work if you installed Apache using custombuild v1.2, it won't work if you used v1.1.
 
wael... you might want to change:
Code:
4.69
to:
Code:
4.69-1
in your version number i think by looking at this:

http://help.directadmin.com/item.php?id=126

I tried EXIMRPM as 4.69-1 and updated fine for me :)

For reference:

I updated spamassassin to the new version first and then exim and all went fine :)

I restarted the dovecot service [as i use dovecot oddly enough ;)] after updating and restarting the exim service for reference.

Test email worked out of server to my hotmail account external and sent one back fine.

AV scanning still working too :)

Here's some header info from the email i sent from my hotmail account, just to show it worked for me:

Delivery-date: Sat, 12 Jan 2008 05:18:21 +0000
Received: from mail by myhostname with spam-scanned (Exim 4.69)
(envelope-from <me@hotmail.com>)
id 1JDYl4-000163-AV
for [email protected]; Sat, 12 Jan 2008 05:18:21 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on myhostname
Date: Sat, 12 Jan 2008 05:09:45 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 12 Jan 2008 05:09:45.0746 (UTC) FILETIME=[58F9C720:01C854D9]
X-Antivirus-Scanner: myserver says: Email seems clean but you should still use an Desktop Antivirus Scanner

Regards all
Nath.
 
Back
Top