[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
I installed MRTG, but it does not work, how to solve the problem?
Ignored Stats

CentOS 5.x x86_64
DirectAdmin 1.38.3
 
HI,

I have installed MailScanner through this script and followed the follow-up step in #1 post.

I found that the number of received SPAM mail is reduced, it is great.

However, I see that there is some problem on Apache / php mail.
If there are some mail generated by php code, e.g. Forum welcome mail, those mail will be queued in the server and will not be delivered to outsider.
(Checked under DA (admin) -> Mail Queue Administration)

Did I missed something? Or anyone can help on this case?

Thanks and have a good day.
 
What OS?

The directory /var/www/html/mrtg exist?

Have you tryed to restart apache (shouldnt be that but lets try that aswell)?

Regards
 
Hi,

Sorry, is an Centos i386 OS.
/var/www/html/mrtg is exist.
Apache is restart (complete server as well)
No result
 
[root@srv1 ~]# ls -l /var/www/html
total 68
lrwxrwxrwx 1 webapps webapps 11 Jun 3 03:39 atmail -> atmail-1.04
drwxr-xr-x 13 webapps webapps 4096 Jun 3 03:39 atmail-1.04
-rw-r--r-- 1 root root 44 Jun 3 01:43 index.html
drwxr-xr-x 3 root root 4096 Jun 4 05:45 mrtg
lrwxrwxrwx 1 webapps webapps 44 Jun 3 03:40 phpMyAdmin -> /var/www/html/phpMyAdmin-3.4.1-all-languages
drwxr-xr-x 10 webapps webapps 4096 Jun 3 03:40 phpMyAdmin-3.4.1-all-languages
-rwxr-xr-x 1 root root 68 Jun 3 01:33 redirect.php
lrwxrwxrwx 1 webapps webapps 19 Jun 3 03:39 roundcube -> roundcubemail-0.5.2
drwxr-xr-x 10 webapps webapps 4096 Jun 3 03:39 roundcubemail-0.5.2
lrwxrwxrwx 1 webapps webapps 19 Jun 3 02:13 squirrelmail -> squirrelmail-1.4.21
drwxr-xr-x 16 webapps webapps 4096 Jun 3 02:13 squirrelmail-1.4.21
 
Ok, try:

Code:
chown webapps:webapps /var/www/html/*

Regards

Done, no result...
[root@srv1 ~]# chown webapps:webapps /var/www/html/*
[root@srv1 ~]# ls -l /var/www/html
total 68
lrwxrwxrwx 1 webapps webapps 11 Jun 3 03:39 atmail -> atmail-1.04
drwxr-xr-x 13 webapps webapps 4096 Jun 3 03:39 atmail-1.04
-rw-r--r-- 1 webapps webapps 44 Jun 3 01:43 index.html
drwxr-xr-x 3 webapps webapps 4096 Jun 4 13:35 mrtg
lrwxrwxrwx 1 webapps webapps 44 Jun 3 03:40 phpMyAdmin -> /var/www/html/phpMyAdmin-3.4.1-all-languages
drwxr-xr-x 10 webapps webapps 4096 Jun 3 03:40 phpMyAdmin-3.4.1-all-languages
-rwxr-xr-x 1 webapps webapps 68 Jun 3 01:33 redirect.php
lrwxrwxrwx 1 webapps webapps 19 Jun 3 03:39 roundcube -> roundcubemail-0.5.2
drwxr-xr-x 10 webapps webapps 4096 Jun 3 03:39 roundcubemail-0.5.2
lrwxrwxrwx 1 webapps webapps 19 Jun 3 02:13 squirrelmail -> squirrelmail-1.4.21
drwxr-xr-x 16 webapps webapps 4096 Jun 3 02:13 squirrelmail-1.4.21

Iff you will I can send the server details, so you can take a look...
PM for the details svp
 
Trying to install IMAP

./update.script IMAP completed without without issues

checked with this
--with-imap=/usr/local/imap-2004c1 \

this
--with-imap=/usr/local/imap-2004c1 \
--with-imap-ssl=/usr/local/imap-2004c1 \

and this

--with-imap=/usr/local/imap-2004c1 \
--with-imap-ssl \


getting errors:

/usr/bin/ld: /usr/local/imap-2004c1/lib/libc-client.a(osdep.o): relocation R_X86_64_32 against `ssl_server_input_wait' can not be used when making a shared object; recompile with -fPIC
/usr/local/imap-2004c1/lib/libc-client.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
make: *** Waiting for unfinished jobs....
/usr/local/imap-2004c1/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/usr/local/updatescript/imap-2004c1/c-client/osdep.c:267: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
[root@www2 custombuild]# cat configure/ap2/configure.php5

Centos 5.6 x86_64 Linux www2 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:04:48 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Apache 2.2.19
php 5.2.17



Thank you
 
Last edited:
Imap

it works!

i had

--with-imap=/usr/local/imap-2004c1 \
--with-imap-ssl \
--enable-zip \

and changed to

--enable-zip \
--with-imap=/usr/local/imap-2004c1 \
--with-imap-ssl \

./build clean

and

./build php n


everything goes fine

Thank you
 
Hello,
update script not part from directadmin.com



When i tried to install mod_security 1 then I get this error
I have nstalled on Debian 5 64 Bit.
Does anyone know?

PHP:
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7116: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7118: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7118: error: âmultipart_dataâ has no member named âboundaryâ
mod_security.c:7135: error: âmultipart_dataâ has no member named âis_completeâ
mod_security.c:7140: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7140: warning: assignment makes pointer from integer without a cast
mod_security.c:7145: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7148: error: âmultipart_dataâ has no member named âmpp_stateâ
mod_security.c:7149: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7153: warning: assignment makes pointer from integer without a cast
mod_security.c:7166: error: âmultipart_dataâ has no member named âbufptrâ
mod_security.c:7166: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7167: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7168: error: âmultipart_dataâ has no member named âbuf_contains_lineâ
mod_security.c:7171: error: âmultipart_dataâ has no member named âis_completeâ
mod_security.c: In function âmultipart_construct_filenameâ:
mod_security.c:7181: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7197: error: âmultipart_dataâ has no member named âpâ
mod_security.c:7197: warning: assignment makes pointer from integer without a cast
mod_security.c: In function âmultipart_parse_content_dispositionâ:
mod_security.c:7236: warning: assignment makes pointer from integer without a cast
mod_security.c:7254: warning: assignment makes pointer from integer without a cast
mod_security.c:7295: warning: assignment makes pointer from integer without a cast
mod_security.c:7301: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7302: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7307: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7308: error: âmultipart_dataâ has no member named âmppâ
mod_security.c: In function âmultipart_process_part_headerâ:
mod_security.c:7333: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7333: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7333: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7338: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7338: warning: cast to pointer from integer of different size
mod_security.c:7340: warning: assignment makes pointer from integer without a cast
mod_security.c:7346: warning: assignment makes pointer from integer without a cast
mod_security.c:7350: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7351: warning: assignment makes pointer from integer without a cast
mod_security.c:7355: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7356: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7358: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7361: error: âmultipart_dataâ has no member named âmpp_stateâ
mod_security.c:7362: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7365: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7365: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7370: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7372: warning: assignment makes pointer from integer without a cast
mod_security.c:7377: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7380: warning: assignment makes pointer from integer without a cast
mod_security.c:7384: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7384: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7384: warning: cast to pointer from integer of different size
mod_security.c:7385: warning: assignment makes pointer from integer without a cast
mod_security.c:7386: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7386: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7388: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7391: warning: assignment makes pointer from integer without a cast
mod_security.c:7399: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7402: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7402: warning: assignment makes pointer from integer without a cast
mod_security.c:7406: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7406: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7406: warning: assignment makes pointer from integer without a cast
mod_security.c:7411: warning: assignment makes pointer from integer without a cast
mod_security.c:7415: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7415: warning: comparison between pointer and integer
mod_security.c:7416: warning: assignment makes pointer from integer without a cast
mod_security.c:7420: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7421: error: âmultipart_dataâ has no member named âmppâ
mod_security.c: In function âmultipart_process_part_dataâ:
mod_security.c:7431: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7431: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7439: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7443: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7448: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7453: error: âsec_dir_configâ has no member named âupload_approve_scriptâ
mod_security.c:7453: error: âsec_dir_configâ has no member named âupload_keep_filesâ
mod_security.c:7456: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7462: error: âsec_dir_configâ has no member named âupload_dirâ
mod_security.c:7463: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7463: error: âmultipart_dataâ has no member named âpâ
mod_security.c:7463: error: âsec_dir_configâ has no member named âupload_dirâ
mod_security.c:7466: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7466: error: âmultipart_dataâ has no member named âpâ
mod_security.c:7469: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7469: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7469: error: âO_BINARYâ undeclared (first use in this function)
mod_security.c:7473: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7473: error: âmultipart_dataâ has no member named âpâ
mod_security.c:7473: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7474: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7474: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7478: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7479: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7479: warning: assignment makes pointer from integer without a cast
mod_security.c:7485: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7486: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7486: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7487: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7489: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7491: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7491: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7491: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7491: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7492: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7492: warning: assignment makes pointer from integer without a cast
mod_security.c:7495: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7495: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7499: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7499: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7500: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7500: error: âmultipart_dataâ has no member named âbufleftâ
mod_security.c:7503: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7508: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7509: error: âmultipart_dataâ has no member named âpâ
mod_security.c:7509: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7509: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7509: warning: assignment makes pointer from integer without a cast
mod_security.c:7511: error: âmultipart_dataâ has no member named âpâ
mod_security.c:7511: error: âmultipart_dataâ has no member named âbufâ
mod_security.c:7511: warning: assignment makes pointer from integer without a cast
mod_security.c:7514: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7514: warning: cast to pointer from integer of different size
mod_security.c:7518: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7518: warning: assignment makes pointer from integer without a cast
mod_security.c:7526: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7527: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7528: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7531: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c: In function âmultipart_completeâ:
mod_security.c:7538: error: âmultipart_dataâ has no member named âseen_dataâ
mod_security.c:7538: error: âmultipart_dataâ has no member named âis_completeâ
mod_security.c:7539: warning: assignment makes pointer from integer without a cast
mod_security.c: In function âmultipart_process_boundaryâ:
mod_security.c:7549: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7551: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7551: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7551: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7552: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7555: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7557: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7557: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7558: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7562: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7562: warning: cast to pointer from integer of different size
mod_security.c:7562: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7563: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7563: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7563: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7563: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7563: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7564: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7564: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7566: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7571: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7571: error: âmultipart_dataâ has no member named âpâ
mod_security.c:7571: warning: cast to pointer from integer of different size
mod_security.c:7572: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7573: error: âmultipart_dataâ has no member named âmpp_stateâ
mod_security.c:7575: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7576: error: âmultipart_dataâ has no member named âmppâ
mod_security.c:7578: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7579: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7580: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7581: error: âmultipart_dataâ has no member named âreserveâ
mod_security.c:7583: error: âmultipart_dataâ has no member named âmppâ
mod_security.c: In function âverify_uploaded_fileâ:
mod_security.c:7590: error: âBUFFâ undeclared (first use in this function)
mod_security.c:7590: error: âp1â undeclared (first use in this function)
mod_security.c:7590: error: âp2â undeclared (first use in this function)
mod_security.c:7590: error: âp3â undeclared (first use in this function)
mod_security.c:7598: warning: assignment makes pointer from integer without a cast
mod_security.c:7605: error: âkill_after_timeoutâ undeclared (first use in this function)
mod_security.c:7606: warning: assignment makes pointer from integer without a cast
mod_security.c:7627: warning: assignment makes pointer from integer without a cast
mod_security.c:7632: warning: assignment makes pointer from integer without a cast
mod_security.c: In function âmultipart_verify_uploaded_filesâ:
mod_security.c:7650: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7651: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7653: error: âmultipart_partâ has no member named âtmp_file_nameâ
mod_security.c: At top level:
mod_security.c:7660: error: expected declaration specifiers or â...â before âtableâ
mod_security.c: In function âmultipart_get_variablesâ:
mod_security.c:7668: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7669: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7675: warning: assignment makes pointer from integer without a cast
mod_security.c:7681: warning: assignment makes pointer from integer without a cast
mod_security.c:7685: error: âparsed_argsâ undeclared (first use in this function)
mod_security.c: In function âmultipart_contains_filesâ:
mod_security.c:7696: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7697: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7699: error: âmultipart_partâ has no member named âfilenameâ
mod_security.c:7700: error: âmultipart_partâ has no member named âfilenameâ
mod_security.c: In function âmultipart_get_partâ:
mod_security.c:7710: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7711: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c: In function âmultipart_check_files_namesâ:
mod_security.c:7719: error: âmodsec_recâ has no member named âmpdâ
mod_security.c:7723: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7724: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7725: error: âmultipart_partâ has no member named âfilenameâ
mod_security.c:7727: error: âmultipart_partâ has no member named âfilenameâ
mod_security.c: In function âmultipart_check_files_sizesâ:
mod_security.c:7736: error: âmodsec_recâ has no member named âmpdâ
mod_security.c:7740: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7741: error: âmultipart_dataâ has no member named âpartsâ
mod_security.c:7742: error: âmultipart_partâ has no member named âfilenameâ
mod_security.c:7743: error: âmultipart_partâ has no member named âtmp_file_sizeâ
mod_security.c:7743: warning: initialization makes pointer from integer without a cast
mod_security.c: At top level:
mod_security.c:7753: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âsecurity_moduleâ
apxs:Error: Command failed with rc=65536
.
modsecurity install/update done
 
Back
Top