View Poll Results: Do you like use update.script ?

Voters
340. You may not vote on this poll
  • yes, all time

    239 70.29%
  • no, some time

    45 13.24%
  • some time

    56 16.47%
Page 2 of 47 FirstFirst 123412 ... LastLast
Results 21 to 40 of 936

Thread: [tools] update.script

  1. #21
    Join Date
    Jul 2005
    Posts
    2,008
    There were a few } missing in the script.

    Edit update.script

    Before the line doMODsecurityRulesL() add

    }

    and before the line doMODsecurityRulesM() add

    }

    So that it looks like

    Code:
    }
    
    doMODsecurityRulesL()
    and

    Code:
    }
    
    doMODsecurityRulesM()
    Save the file and exit.

  2. #22
    Join Date
    May 2005
    Posts
    50
    Hi.
    After I added the brackets, the rules: L, M and H were listed as option for installation.

    When I tried to use one of them, the script only stated GNU statement.

    I am sure this will be solved and the yearly donation will be given to Wael.

    After using so many hours to try to keep my box up to date, it's really a
    relief to have a script like this.

    Thanks to chatwizrd too for spending time to help fixing the small bug in the script.

    Regards
    Oddis

  3. #23
    Join Date
    Jun 2006
    Posts
    152
    latest version wont run, syntax error

    ./update.script: line 1012: syntax error: unexpected end of file
    Secureservertech - Litespeed Powered Web Hosting

  4. #24
    Join Date
    Jul 2005
    Posts
    2,008
    Quote Originally Posted by felosi View Post
    latest version wont run, syntax error

    ./update.script: line 1012: syntax error: unexpected end of file
    A fix was already posted.

  5. #25
    Join Date
    May 2005
    Posts
    50
    Hi.
    As I wrote in my past post:
    With the extra brackets you get rid of the error message: line 1012: syntax error
    but the script is still halting.
    For my case: If I choose one of the rulesets for MODsecurity, the script only return to show the GNU message.


    Regards
    Oddis

  6. #26
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    957
    you need to delete update.script then download again.
    all error fixed.

    Wael

  7. #27
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    957
    Quote Originally Posted by chatwizrd View Post
    There were a few } missing in the script.

    Edit update.script

    Before the line doMODsecurityRulesL() add

    }

    and before the line doMODsecurityRulesM() add

    }

    So that it looks like

    Code:
    }
    
    doMODsecurityRulesL()
    and

    Code:
    }
    
    doMODsecurityRulesM()
    Save the file and exit.

    thanks,

    Wael

  8. #28
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    957
    ADD MySQL 5.1 Community Edition - Release Candidate Development Release

    Wael

  9. #29
    Join Date
    May 2005
    Posts
    50
    Hi.
    The script is downloaded again and it is working, but now it seems like that the needed files for Modsecurity rules can not be found.

    I have tried all 3 rule-sets, and get this message:

    --------------------------------------------------
    updatescript]# ./update.script MODsecurityRulesM
    mkdir: cannot create directory `modsecurity': File exists
    --14:13:49-- http://www.supernamechange.com/tools...rity/mini.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... 404 Not Found
    14:13:49 ERROR 404: Not Found.
    Last edited by Oddis; 11-28-2007 at 05:26 AM.

  10. #30
    Join Date
    Jul 2006
    Posts
    52
    how can I fix?
    this my exin is down now . thanks

    *** /usr/local/updatescript/exim-4.68/build-Linux-i386/exim does not exist or is
    empty
    *** Have you built Exim successfully?
    *** Exim installation failed ***
    make: *** [install] Error 1
    cp: cannot stat `/usr/sbin/exim-4.68-1': No such file or directory
    chmod: cannot access `/usr/sbin/exim': No such file or directory
    Shutting down exim: /etc/init.d/exim: line 40: kill: (23609) - No such process

    Starting exim: /etc/init.d/exim: line 30: /usr/sbin/exim: No such file or direct
    ory
    Using CentOS 6.2 64bits with DirectAdmin 1.41.0 Apache 2.4.2 - Php 5.3.15 cli - MySQL 5.5.25a- ProFTPd 1.3.4b - FreeType 2.4.10-
    dovecot 2.1.8 - curl 7.27.0 - Exim 4.80- pcre-8.20 - phpMyAdmin-3.5.2-all-languages - csf v5.48 - Xcache 1.3.3 - SpamAssassin 3.3.2 - ClamAV 0.97.4

  11. #31
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    957
    Quote Originally Posted by Oddis View Post
    Hi.
    The script is downloaded again and it is working, but now it seems like that the needed files for Modsecurity rules can not be found.

    I have tried all 3 rule-sets, and get this message:

    --------------------------------------------------
    updatescript]# ./update.script MODsecurityRulesM
    mkdir: cannot create directory `modsecurity': File exists
    --14:13:49-- http://www.supernamechange.com/tools...rity/mini.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... 404 Not Found
    14:13:49 ERROR 404: Not Found.

    run clean and try

    Wael

  12. #32
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    957
    Quote Originally Posted by venon View Post
    how can I fix?
    this my exin is down now . thanks

    *** /usr/local/updatescript/exim-4.68/build-Linux-i386/exim does not exist or is
    empty
    *** Have you built Exim successfully?
    *** Exim installation failed ***
    make: *** [install] Error 1
    cp: cannot stat `/usr/sbin/exim-4.68-1': No such file or directory
    chmod: cannot access `/usr/sbin/exim': No such file or directory
    Shutting down exim: /etc/init.d/exim: line 40: kill: (23609) - No such process

    Starting exim: /etc/init.d/exim: line 30: /usr/sbin/exim: No such file or direct
    ory
    back to old one
    cd /usr/local/directadmin/scripts
    ./exim.sh

    Wael

  13. #33
    Join Date
    Jul 2006
    Posts
    52
    now is back working but on version Exim 4.60.

    any way to go atlest to version 4.67? or make 368 works for me ?


    thank
    Using CentOS 6.2 64bits with DirectAdmin 1.41.0 Apache 2.4.2 - Php 5.3.15 cli - MySQL 5.5.25a- ProFTPd 1.3.4b - FreeType 2.4.10-
    dovecot 2.1.8 - curl 7.27.0 - Exim 4.80- pcre-8.20 - phpMyAdmin-3.5.2-all-languages - csf v5.48 - Xcache 1.3.3 - SpamAssassin 3.3.2 - ClamAV 0.97.4

  14. #34
    Join Date
    May 2005
    Posts
    50
    Did ./update.script CLEAN

    Files found, updated without any problem.

    A small donation is given to keep you going with the script.
    It is really appreciated.


    Have a nice day to you to

    Regards
    Oddis

  15. #35
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    957
    Quote Originally Posted by Oddis View Post
    Did ./update.script CLEAN

    Files found, updated without any problem.

    A small donation is given to keep you going with the script.
    It is really appreciated.


    Have a nice day to you to

    Regards
    Oddis
    Thanks Oddis

    Best regards,
    Wael Isa

  16. #36
    Join Date
    Mar 2005
    Location
    Kingdom of Bahrain
    Posts
    957
    Quote Originally Posted by venon View Post
    now is back working but on version Exim 4.60.

    any way to go atlest to version 4.67? or make 368 works for me ?


    thank
    try this
    ./update.script CLEAN
    then
    ./update.script
    use rpm

    Wael

  17. #37
    Join Date
    Dec 2005
    Location
    Denver, CO
    Posts
    66
    look at my fix on Page 1. I link to a post that tells you EXACTLY how to fix the Exim errors when compiling. You have to make an addition to Local/Makefile ***after*** the initial compiling fails, then you have to make and make install yourself.

    It works fine, just breaks on CentOS 5.

  18. #38
    Join Date
    Jul 2006
    Posts
    52
    Quote Originally Posted by @how@ View Post
    try this
    ./update.script CLEAN
    then
    ./update.script
    use rpm

    Wael
    now I get this error :

    make[1]: *** [exim] Error 1
    make[1]: Leaving directory `/usr/src/redhat/BUILD/da_exim-4.68/build-Linux-i386'
    make: *** [go] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.52597 (%build)


    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.52597 (%build)
    error: open of da_exim-4.68.i386.rpm failed: No such file or directory
    Shutting down exim: /etc/init.d/exim: line 40: kill: (31673) - No such process

    Starting exim: /etc/init.d/exim: line 26: 1389 Floating point exception/usr/sbin/exim $EXIM_OPTS -oP /var/run/exim.pi
    d






    Quote Originally Posted by CiscoMike View Post
    look at my fix on Page 1. I link to a post that tells you EXACTLY how to fix the Exim errors when compiling. You have to make an addition to Local/Makefile ***after*** the initial compiling fails, then you have to make and make install yourself.

    It works fine, just breaks on CentOS 5.

    using this I get this error:


    18:42:43 (229.16 KB/s) - `da_exim-4.68-1.i386.rpm.2' saved [1194141/1194141]

    [root@weboffshore4 ~]# rpm -Uvh --force --nodeps da_exim-4.68-1.i386.rpm
    Preparing... ########################################### [100%]
    1:da_exim ########################################### [100%]
    [root@weboffshore4 ~]# service exim start
    Starting exim: /etc/init.d/exim: line 26: 1577 Floating point exception/usr/sbin/exim $EXIM_OPTS -oP /var/run/exim.pi
    d

    [root@weboffshore4 ~]#


    thanks for all the reply.
    Using CentOS 6.2 64bits with DirectAdmin 1.41.0 Apache 2.4.2 - Php 5.3.15 cli - MySQL 5.5.25a- ProFTPd 1.3.4b - FreeType 2.4.10-
    dovecot 2.1.8 - curl 7.27.0 - Exim 4.80- pcre-8.20 - phpMyAdmin-3.5.2-all-languages - csf v5.48 - Xcache 1.3.3 - SpamAssassin 3.3.2 - ClamAV 0.97.4

  19. #39
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    230
    modsecurity and custombuild

    Hello,
    Whe have installed DA with the custumbuild.
    Now the following error generates when I tried to install modsecurity:

    PHP Code:
    Length467,173 (456K) [application/x-tar]

    100%[====================================>] 467,173        1.07M/s

    15
    :54:25 (1.07 MB/s) - `modsecurity-apache_1.9.5.tar.gz' saved [467173/467173]

    cp: cannot create regular file 
    `/usr/local/directadmin/customapache/mod_security.c': No such file or directory
    ./update.script: line 1091: cd: /usr/local/directadmin/customapache/: No such file or directory
    /var/www/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_RE 

    When whe ignore these error and add the rules to the httpd.conf file there are 2 errors:

    PHP Code:
    Syntax error on line 155 of /etc/httpd/conf/httpd.conf:
    mod_securityFailed to open the audit log file: /etc/httpd/logs/audit_log

    and:

    Syntax error on line 159 of /etc/httpd/conf/httpd.conf:
    mod_securityFailed to open the debug log file: /etc/httpd/logs/modsec_debug_log 
    When whe disabled these 2 lines apache will run..
    Last edited by snaaps; 11-29-2007 at 07:08 AM.

  20. #40
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    183
    Wael,

    Are you sure exim 4.68 update is working for debian 3.1/4.0?
    If i look at the source code of update.script, i dont think the update will work.
    Maybe you have to change the topicstart.

Page 2 of 47 FirstFirst 123412 ... LastLast

Similar Threads

  1. Update script not working
    By Daskew78 in forum System-Level Technical Discussion
    Replies: 2
    Last Post: 10-29-2010, 06:31 PM
  2. Custom script after update
    By AxlF in forum CustomBuild
    Replies: 1
    Last Post: 07-13-2010, 01:06 PM
  3. Update error update script cannot find Python
    By HageHosting in forum DirectAdmin Version Updates
    Replies: 9
    Last Post: 11-24-2009, 06:10 AM
  4. All-in-1 update script
    By MadHag in forum DirectAdmin General Discussion
    Replies: 2
    Last Post: 09-14-2008, 10:25 AM
  5. wat about weal's update script?
    By snaaps in forum DirectAdmin General Discussion
    Replies: 14
    Last Post: 12-02-2007, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •