Page 1 of 47 12311 ... LastLast
Results 1 to 20 of 940

Thread: Discussion about CustomBuild

  1. #1
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123

    Discussion about CustomBuild

    Martynas,

    How about a nice description somewhere of what CustomBuild does and why we should use it?

    And also ...

    Anything we have to know special when switching to it and running it the first time.

    I want to try it on a testbed soon .

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  2. #2
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    Nothing special to know I've just edited my 1st post.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  3. #3
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    FAQ has been updated
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  4. #4
    Join Date
    Jun 2007
    Posts
    1

    Apache 1.3

    Is there a way I can install this using apache 1.3. Possibly using ./build versions?

    I'd really like the functionallity of running php4 and 5 concurrently but have already found out the hard way that my system is incconpatable with apache 2?

    I don;t want to try an install without being able to make sure the apache doesn't get upgraded!
    Last edited by GMT; 06-18-2007 at 03:36 AM.

  5. #5
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    I'm sure it's compatible But.. if you want apache 1.3, set apache_ver to 1.3 (instead of 2.2) in options.conf.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  6. #6
    Join Date
    Oct 2005
    Posts
    35
    In my honest opinion there needs to be a pros and cons of PHP CLI and PHP CGI. I was a tard and forgot to build with php as a CGI and was scratching my head for a long while as to why it was not working even though I manually uncommented the Addmodule line etc etc....

    P.S.
    Maybe throw a file in logrotate.d to auto-rotate suphp.log

    Just my 2c

    Adam

  7. #7
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    John added it to the apache logrotate and the freebsd /etc/syslog.conf.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  8. #8
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    FAQ has been updated.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  9. #9
    Join Date
    Jan 2005
    Posts
    19
    Fresh CentOs installation with DA. I tried this script.

    10. I have installed PHP5 (or PHP4) as CGI. How do I need configure them?
    PHP4 configuration file is located here: /usr/local/etc/php4/cgi/php.ini
    PHP5 configuration file is located here: /usr/local/etc/php5/cgi/php.ini

    10. I have installed PHP5 (or PHP4) as CGI. Where can I find the bin file?
    PHP4: /usr/local/php4/bin/php
    PHP5: /usr/local/php5/bin/php


    I get none of the above files after everything is compiled. DA wont restart. Apache wont restart.

    My options.conf
    default_php=5
    php4_cli=no
    php4_cgi=no
    php5_cli=yes
    php5_cgi=no
    apache_ver=2.2
    mail-header-patch=yes
    dovecot=no

  10. #10
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    Because you have PHP as CLI Your php.ini file is here: /usr/local/lib/php.ini. What error do you get?
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  11. #11
    Join Date
    Jan 2005
    Posts
    19
    Thanks for your response. I tried to run the script again because none of my mysql/php based forums are working. Now I have ran it again and directadmin starts but http does not start.

    " [warn] module php5_module is already loaded, skipping
    Syntax error on line 29 of /etc/httpd/conf/extra/httpd-vhosts.conf:
    The address or port is invalid"

    This did not happen the first time I ran the script though.

  12. #12
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    What version of custombuild are you using? Please post me 29 line of /etc/httpd/conf/extra/httpd-vhosts.conf file.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  13. #13
    Join Date
    Jan 2005
    Posts
    19
    Quote Originally Posted by smtalk View Post
    What version of custombuild are you using? Please post me 29 line of /etc/httpd/conf/extra/httpd-vhosts.conf file.
    I got it from the first post you made here. http://www.directadmin.com/forum/sho...ht=custombuild


    the conf file

    <VirtualHost :80> ServerAdmin webmaster@localhost
    AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
    DocumentRoot /var/www/html
    ServerName localhost"
    ScriptAlias /cgi-bin/ /var/www/cgi-bin/"
    CustomLog /var/log/httpd/homedir.log homedir
    </VirtualHost>

  14. #14
    Join Date
    Oct 2005
    Posts
    35
    Just a quick question- Why doesn't custombuild use --with-imap ? How do I get imap installed with the new custombuild script?

    Adam

  15. #15
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    You need to have <VirtualHost IP:80>.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  16. #16
    Join Date
    Jan 2005
    Posts
    19
    Quote Originally Posted by smtalk View Post
    You need to have <VirtualHost IP:80>.
    But it is there. IApache was working before I installed the script, so I don't know what changed or what I should change without breaking everything.



    Stopping httpd: [FAILED]
    Starting httpd: Syntax error on line 29 of /etc/httpd/conf/extra/httpd-vhosts.conf:
    The address or port is invalid
    [FAILED]


    <VirtualHost :80>
    ServerAdmin webmaster@localhost
    AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
    DocumentRoot /var/www/html
    ServerName localhost"
    ScriptAlias /cgi-bin/ /var/www/cgi-bin/"
    CustomLog /var/log/httpd/homedir.log homedir
    </VirtualHost>

    How can I roll back?

  17. #17
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    6,748
    Try:
    Code:
    ./build rewrite_confs
    P.S. make sure you have your hostname in /etc/hosts (with an IP of it) before running this command.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  18. #18
    Join Date
    Oct 2005
    Posts
    35
    Anyone have an idea for my question?

    Quote Originally Posted by admonet View Post
    Just a quick question- Why doesn't custombuild use --with-imap ? How do I get imap installed with the new custombuild script?

    Adam

  19. #19
    Join Date
    Apr 2006
    Posts
    55
    When i run the ./build update_all d command within a VPS.
    The ssh session is terminated when php5 is compiled.

    Any idea why?

  20. #20
    Join Date
    May 2006
    Location
    United Kingdom
    Posts
    261
    Quote Originally Posted by jjbakker View Post
    When i run the ./build update_all d command within a VPS.
    The ssh session is terminated when php5 is compiled.

    Any idea why?
    ive run this script over 10 times now and this has happend to me twice, so your not on your own. i actually have to reboot the server to gain access to it again.

Page 1 of 47 12311 ... LastLast

Similar Threads

  1. mod_ruid2 discussion
    By Peter Laws in forum DirectAdmin General Discussion
    Replies: 0
    Last Post: 09-20-2011, 03:33 AM
  2. Migrating from Plesk Discussion
    By srqwebguy in forum DirectAdmin General Discussion
    Replies: 33
    Last Post: 12-10-2010, 10:54 AM
  3. SpamBlocker discussion
    By xemaps in forum E-Mail
    Replies: 3
    Last Post: 12-10-2006, 06:12 PM
  4. How to set-up a discussion list?
    By manny2008 in forum DirectAdmin General Discussion
    Replies: 0
    Last Post: 03-03-2005, 06:48 PM
  5. Os discussion / debate
    By ProWebUK in forum Operating System (OS) Related Discussion
    Replies: 60
    Last Post: 01-23-2005, 12:09 PM

Tags for this Thread

Posting Permissions

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