[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
eAccelerator requires Zend Engine API version 220060519.
The Zend Engine API version 20050606 which is installed, is outdated.

after installing eaccelerator
CENTOS 5
php 5.2.5
anybody got idea how to fix it?
 
I am trying to run kiss start but get the error

eth0: error fetching interface information: Device not found
Could not determine MAIN_IP. Firewall script aborted!

I have a VPS and my network interfaces are named differently

[root@server ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:1103907 errors:0 dropped:0 overruns:0 frame:0
TX packets:1148960 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:174237091 (166.1 MiB) TX bytes:892270665 (850.9 MiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:my.ip.addr.ess P-t-P:my.ip.address Bcast:ip.address.bcast Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:my.ip.addr.ess P-t-P:my.ip.addr.ess Bcast:my.ip.addr.ess Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

So what shud I have to do
 
Well I tried changing eth0 to mine venet0:0 but now the error is different

Since the ip_tables, ipt_state, and/or ipt_multiport modules do not exist, KISS can not function. Firewall script aborted!

Any suggestion
 
Hello,

I like to update my mysql server to the last version ,

MySQL 5.0.45 (You need to build php after upgrade)

But how i can build php after upgrade?

Thanks!
 
Hello,

I like to update my mysql server to the last version ,

MySQL 5.0.45 (You need to build php after upgrade)

But how i can build php after upgrade?

Thanks!
Just upgrade your MySQL and after that download (the lastest version of) PHP and rebuild it.

Then you are done.
 
rizwan65:
Kiss or APF will not work on an VPS because the kernel is not built with ip_tables on. If you need firewall, talk to your supplier of the VPS.
 
I have installed modsecurity2 successfully with the update.script. However, now it seems to block all webmail from DA. See Apache Error Log:

[Sat Jan 26 21:52:34 2008] [error] [client IP_ADDRESS] ModSecurity: Warning. Match of "rx ModSecurity" against "WEBSERVER_ERROR_LOG" required. [id "960913"] [msg "Invalid request"] [severity "CRITICAL"] [hostname "IP_ADDRESS"] [uri "/squirrelmail"] [unique_id "xxx"]

How do I define appropriate rules to open all the webmails (Roundcube, Squirrelmail etc)?
 
Well I tried changing eth0 to mine venet0:0 but now the error is different

Since the ip_tables, ipt_state, and/or ipt_multiport modules do not exist, KISS can not function. Firewall script aborted!

Any suggestion


you need to link xt_state.ko to ipt_state.ko and xt_multiport.ko to ipt_multiport.ko


Code:
$ ln -s /lib/modules/2.6.18-53.1.4.el5/kernel/net/netfilter/xt_state.ko /lib/modules/2.6.18-53.1.4.el5/kernel/net/ipv4/netfilter/ipt_state.ko

$ ln -s /lib/modules/2.6.18-53.1.4.el5/kernel/net/netfilter/xt_multiport.ko /lib/modules/2.6.18-53.1.4.el5/kernel/net/ipv4/netfilter/ipt_multiport.ko

REPLACE 2.6.18-53.1.4.el5 with your Kernel Folder

I hope it helps :)

i posted this solution a couple days ago :)
 
I have installed modsecurity2 successfully with the update.script. However, now it seems to block all webmail from DA. See Apache Error Log:

[Sat Jan 26 21:52:34 2008] [error] [client IP_ADDRESS] ModSecurity: Warning. Match of "rx ModSecurity" against "WEBSERVER_ERROR_LOG" required. [id "960913"] [msg "Invalid request"] [severity "CRITICAL"] [hostname "IP_ADDRESS"] [uri "/squirrelmail"] [unique_id "xxx"]

How do I define appropriate rules to open all the webmails (Roundcube, Squirrelmail etc)?

Anyone? It can not be just me who have experienced this problem? I tried to put in:

<LocationMatch "^/squirrelmail">
SecRemoveById 960913
</LocationMatch>

in /etc/modsecurity2/exclude.conf but it resulted in total stall of the httpd service. I saw then that it is not recommended to edit the .conf files since DirectAdmin rewrites them? What to do then?
 
After upadate the ClamAV, I cannot send and receive email:
I check the log:

2008-01-27 16:08:40 1JJHYF-0001oR-KX malware acl condition: clamd: unable to connect to UNIX socket /tmp/clamd (Connection refused)

Can you help me ?
 
Anyone? It can not be just me who have experienced this problem? I tried to put in:

<LocationMatch "^/squirrelmail">
SecRemoveById 960913
</LocationMatch>

in /etc/modsecurity2/exclude.conf but it resulted in total stall of the httpd service. I saw then that it is not recommended to edit the .conf files since DirectAdmin rewrites them? What to do then?

Is there anyone who got modsecurity2 to work with DirectAdmin and the updatescript? I have now disabled this but would like to have the kind of protection that modsecurity2 provides.
 
SA update gives version.pm error

After updating to SA 3.2.4 i get this:

Code:
Can't locate version.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib

Any suggestions?
 
Back
Top