[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
2 error's

I am getting 2 problems with this tool:

MODCLAMAV
Starting httpd: httpd: Syntax error on line 167 of /etc/httpd/conf/httpd.conf: S
yntax error on line 22 of /etc/httpd/conf/extra/httpd-includes.conf: Syntax erro
r on line 30 of /etc/httpd/conf/extra/mod_clamav.conf: Cannot load /etc/httpd/mo
dules/mod_clamav.so into server: /etc/httpd/modules/mod_clamav.so: cannot open s
hared object file: No such file or directory

=> the .so doesn't get created


2) ./update.script EACCELERATOR
14:10:18 (6.50 MB/s) - `eaccelerator-0.9.5.3.tar.bz2' saved [555631/555631]

tar: bzip2: Cannot exec: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./update.script: line 1101: cd: eaccelerator-0.9.5.3: No such file or directory
Cannot find config.m4.
Make sure that you run '/usr/local/bin/phpize' in the top level source directory
of the module

./update.script: line 1103: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
eAccelerator install/update done

Thank you.
 
How to uninstall KISS

First turn it off:
Code:
kiss stop
Then find it:
Code:
whereis kiss
Then remove it:
Code:
rm /path/to/kiss
where of course the path you use is the one returned by the whereis command.

Depending on how you installed it you may have code set up in your rc.local file that starts it. If you do, remove that code.

Note that this may leave your server without a firewall; installation of a replacement is up to you.

Jeff
 
I am getting 2 problems with this tool:

MODCLAMAV
Starting httpd: httpd: Syntax error on line 167 of /etc/httpd/conf/httpd.conf: S
yntax error on line 22 of /etc/httpd/conf/extra/httpd-includes.conf: Syntax erro
r on line 30 of /etc/httpd/conf/extra/mod_clamav.conf: Cannot load /etc/httpd/mo
dules/mod_clamav.so into server: /etc/httpd/modules/mod_clamav.so: cannot open s
hared object file: No such file or directory

=> the .so doesn't get created


2) ./update.script EACCELERATOR
14:10:18 (6.50 MB/s) - `eaccelerator-0.9.5.3.tar.bz2' saved [555631/555631]

tar: bzip2: Cannot exec: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./update.script: line 1101: cd: eaccelerator-0.9.5.3: No such file or directory
Cannot find config.m4.
Make sure that you run '/usr/local/bin/phpize' in the top level source directory
of the module

./update.script: line 1103: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
eAccelerator install/update done

Thank you.

script work fine but your server cant download files.

Wael
 
server slowing down

guys,
after i use
./update.script Spam Assassin 3.2.5
./update.script MRTG 2.16.2
./update.script AVG Anti-Virus 85flx Free Edition r287-a2632
./update.script Clam Anti-Virus 0.95.1
./update.script mod_clamav 0.23
./update.script MailScanner 4.76.25-1


my page load is very slow.
see http://sarangmas.eu

and my swap is always empty.
see http://91.196.170.60/mrtg/


do you guys know where its wrong?


thanks
 
Hello, I have install mailscanner and at first start, external mail not delivery.
After check maillog i see problem with 2 files:
SpamAssassin.cache.db and Processing.db
for resolve this i need to do this:
chown mail.root /var/spool/MailScanner/incoming/SpamAssassin.cache.db
chown mail.root /var/spool/MailScanner/incoming/Processing.db

Perhaps it's problem with your script ?

Another thing, mod-clamav not working, mod_clamav.so not created.
 
Last edited:
guys,
after i use
./update.script Spam Assassin 3.2.5
./update.script MRTG 2.16.2
./update.script AVG Anti-Virus 85flx Free Edition r287-a2632
./update.script Clam Anti-Virus 0.95.1
./update.script mod_clamav 0.23
./update.script MailScanner 4.76.25-1


my page load is very slow.
see http://sarangmas.eu

and my swap is always empty.
see http://91.196.170.60/mrtg/


do you guys know where its wrong?


thanks

Running two AVs on any system is never advised. It can cause all sorts of issues so I'd start with that. Same with SpamAssassin and MailScanner. Use one, not both. If you have any sort of SMTP load going on, that will kill your performance as well.
 
i never use mailscanner and avg, i was thinking to try.
never knew it made my server slow.
i mostly use on my boxes spamassassin and clamav

and now i cant sent mail.
how can i stop and remove mailscanner?
and i think i already remove the avg already.

ps -auxf
i dont see any mailscanner or avg running

only spamd, clamd, freshclam.
 
Last edited:
mod_clamav.so

I find why the mod_clamav.so not be installed, you miss make and make install in your script ;)

But when I restart httpd I have another error:
httpd :Syntax error on line 68 of /etc/httpd/conf/extra/mod_clamav.conf:
Invalid command '<Proxy', perhaps misspelled or defined by a module not included in the server configuration
and when I activate /usr/lib/apache/libproxy.so in httpd.conf I have this error:
httpd :httpd: Syntax error on line 23 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libproxy.so into server: /usr/lib/apache/libproxy.so: undefined symbol: ap_month_snames

can you help me ?

EDIT: Resolved, just add "--enable-proxy" \ to /usr/local/directadmin/custombuild/custom/ap2/configure.apache and rebuild apache ;)
 
Last edited:
Hi!

Why MRTG registered 450.0% for the CPU when it should be 45%?

How to fix it??

Thanks!!
 
Last edited:
your high load is about AVG

guys,
after i use
./update.script Spam Assassin 3.2.5
./update.script MRTG 2.16.2
./update.script AVG Anti-Virus 85flx Free Edition r287-a2632
./update.script Clam Anti-Virus 0.95.1
./update.script mod_clamav 0.23
./update.script MailScanner 4.76.25-1


my page load is very slow.
see http://sarangmas.eu

and my swap is always empty.
see http://91.196.170.60/mrtg/

do you guys know where its wrong?


thanks

i think it's about AVG , AVG need 500 mb free RAM , so Remove it or use this command to ensure you this load is about AVG
Code:
service avgd stop

don't use AVG ,
 
service avgd stop
chkconfig avgd off
delete avg directory/headers

only gotcha is if something has been built around and depends on avg. More than likely that's not the case but just keep that in mind. Not sure if you ran the CLEAN command on update.script but for many scripts you can "make uninstall" as well but only if you haven't run CLEAN. I don't know if AVG supports make uninstall though.
 
service avgd stop
chkconfig avgd off
delete avg directory/headers

only gotcha is if something has been built around and depends on avg. More than likely that's not the case but just keep that in mind. Not sure if you ran the CLEAN command on update.script but for many scripts you can "make uninstall" as well but only if you haven't run CLEAN. I don't know if AVG supports make uninstall though.
Thanks for the help :)
finally, i have run commend:
Code:
rpm -e `rpm -qa | grep avg8`
and this commend delete AVG.

Yonatan
 
i have question about eAccelerator

how can i tets it?
when i try php -v

i havent see anything
 
**** PROFTPD

hi!

i have this error if upgrade v.1.3.1 to 1.3.2 (old server)

"Starting proftpd: - Fatal: unknown configuration directive 'DisplayFirstChdir' on line 40 of '/etc/proftpd.conf"

All new servers it's ok!!

Thanks!!
 
mod_clamav

Hello I have problem with mod_clamav, alla install it's ok but when I check my domain.error.log I can see this:
cannot create mutex /var/tmp/clamav.lock

I not find where are the problem.
Someone can help me ?
 
Back
Top