[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
ok, same of my centos box, you should install wihtout problem the proftpd with mod_clam , if not, i cant do it for you without problem if you need.

let me know
 
Hi,

At the end of clamd installation i got these errors:

LibClamAV Error: cl_load(): Can't get status of /var/lib/clamav
ERROR: Can't get file status
ERROR: Can't change dir to /var/lib/clamav
freshclam: no process killed
ERROR: Can't change dir to /var/lib/clamav
LibClamAV Error: cl_load(): Can't get status of /var/lib/clamav
ERROR: Can't get file status
ClamAV auto start when server reboot
clamd: no process killed
freshclam: no process killed
ERROR: Can't change dir to /var/lib/clamav
LibClamAV Error: cl_load(): Can't get status of /var/lib/clamav
ERROR: Can't get file status

Anyway how to solve this?
 
Yes i did. I installed it on debian 4.0 32 bit. I previously had an older version.
 
update.script is pretty much based on centos and on debian should cause problems, ive instaleld clamav with updatescript on a debian 5.0.7 box without problem...

but... if you do /etc/init.d/clamd restart

does it works?
 
Got it working now. I was debugging the error bellow and thought a update would help but it seems not to be.

/var/log/httpd/domains/xxxxx.ext

[Mon Dec 27 14:33:06 2010] [error] [client xxx.xxx.xxx.xxx] [20009] cannot create mutex /var/tmp/clamav.lock

I geus this is an mod_sec issue. But how to solve it?
 
update.script core invalid.

I'm getting a strange error... I've downloaded new a couple times, but it doesn't work.

I get this:
update.script core invalid. Aborting,
Download update.script again.
 
@donkeyKICK, If your still having issues with this, check the updatescript folder for a file named "versions". If it is 0 bytes in size, delete it and try running update.script again. This fixed the issue for me when I tried it.
 
Modsecurity

Hi everyone

I just installed MODsecurity 2.x using the update script.

I also added:

LoadFile /usr/lib/libxml2.so
LoadModule security2_module /usr/lib/apache/mod_security2.so
<IfModule mod_security2.c>
# ModSecurity2 ONLY
# Do not change anything in included files
#
Include /etc/modsecurity2/*.conf
</IfModule>

to /etc/httpd/conf/extra/httpd-includes.conf



When restarting apache, I get the following error:
Starting httpd: httpd: Syntax error on line 167 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-includes.conf: Cannot load /usr/lib/libxml2.so into server: /usr/lib/libxml2.so: cannot open shared object file: No such file or directory

Because libxml2.so indeed doesn't exist in that folder and libxml2.so.2 does exist, I changed /etc/httpd/conf/extra/httpd-includes.conf:

LoadFile /usr/lib/libxml2.so.2
LoadModule security2_module /usr/lib/apache/mod_security2.so
<IfModule mod_security2.c>
# ModSecurity2 ONLY
# Do not change anything in included files
#
Include /etc/modsecurity2/*.conf
</IfModule>

But now I have the following error:

Starting httpd: httpd: Syntax error on line 167 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-includes.conf: Cannot load /usr/lib/libxml2.so.2 into server: /usr/lib/libxml2.so.2: undefined symbol: gzopen64

Anyone please?

PS: I use debian 5
 
I tried to install FFMPEG.

And it ended up with:

Installed:
ffmpeg.x86_64 0:0.6.1-1.el5.rf ffmpeg-devel.x86_64 0:0.6.1-1.el5.rf flvtool2.noarch 0:1.0.6-1.el5.rf mencoder.x86_64 0:1.0-0.46.svn20100703.el5.rf

Dependency Installed:
.
. (like 50 things here)
.

Complete!
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

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


ffmpeg-php install/update Done

Yet it doesn't work yet.
:(
 
Okay, thanks, that got me further ;)

Almost done I hope:
/usr/local/updatescript/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function âzim_ffmpeg_frame_toGDImageâ:
/usr/local/updatescript/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: âPIX_FMT_RGBA32â undeclared (first use in this function)
/usr/local/updatescript/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once
/usr/local/updatescript/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.)
/usr/local/updatescript/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function âzim_ffmpeg_frame_ffmpeg_frameâ:
/usr/local/updatescript/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: âPIX_FMT_RGBA32â undeclared (first use in this function)
make: *** [ffmpeg_frame.lo] Error 1


ffmpeg-php install/update Done

Still not worked yet.. unless I need to reload or rebuild php by hand..


ps, I don't know why, but all my servers show those weird characters.. -_-'
 
Well, thanks for ur help thusfar ;)

I'll rebuild php now. I gotta upgrade it anyway, according to custombuild :)

~~~

And no.. that didn't do the trick :(
 
Last edited:
Ennuying problem :

Code:
# php -v
PHP Warning:  PHP Startup: Unable to load dynamic library './/usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so' - .//usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.17 (cli) (built: Jan 19 2011 12:48:32)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.0.4, Copyright (c) 2002-2010, by ionCube Ltd., and
    with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

In php.ini, I have
extension_dir="./"
if I delete it or empty it :
I have this :
PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613//usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so' -

So, I don't know what writing. I try a lot of things, but without succes.
I see nimafire has the same problem (on page 30) but I do not read any solution.

suhosin is present and active in phpinfo
 
New problem !

Now, on eboutik, cart disappear when we want to connect.
I do not find solutions (solutions ask to put 2048 in post value, but it is already 2048).

So I just remove suhosin, waiting for better solution.

Thanks for your help
 
you loaded it maybe two time or, the path for sure is not correct...

if you want i can take a look on your box

send me a pm

regards
 
if we need uninstall mrtg can use command?

please share for me thank you
 
Back
Top