Results 1 to 9 of 9

Thread: Httpd not restarting Custombuild 2 - Mutex invaled command

  1. #1
    Join Date
    Aug 2012
    Posts
    24

    Httpd not restarting Custombuild 2 - Mutex invaled command

    Hi Guys,

    Having a problem after running Custombuild 2.0 and updating. Getting the following error (HTTPD down right now):
    (Debian 6 server)

    Code:
    Starting httpd: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf:
    Invalid command 'Mutex', perhaps misspelled or defined by a module not included in the server configuration
    Any ideas for a fix? Google didn't resolving anything about this.

  2. #2
    Join Date
    Aug 2015
    Posts
    312
    Did you try
    Code:
    cd /usr/local/directadmin/custombuild
    ./build rewrite_confs
    Kind regards, Fred

    Alentejo Webdesign
    Webdesign with Passion is what we do
    Web development, Hosting, Speed Optimizing & More......

  3. #3
    Join Date
    Aug 2012
    Posts
    24
    Yes first thing i tried.. same problem.

  4. #4
    Join Date
    Aug 2015
    Posts
    312
    First load (missing) modules:
    Code:
    apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev \
    zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake pkg-config python libreadline-dev libdb4.8-dev libsasl2-dev patch
    Then try to build again (and if it is not working, show us your build command).
    Kind regards, Fred

    Alentejo Webdesign
    Webdesign with Passion is what we do
    Web development, Hosting, Speed Optimizing & More......

  5. #5
    Join Date
    Aug 2012
    Posts
    24
    Yes already did those modules before, but all where up to date and there etc. I have read it from: https://help.directadmin.com/item.php?id=555

    Build command used:
    ./build all d
    ./build rewrite_confs

  6. #6
    Join Date
    Aug 2015
    Posts
    312
    You could try
    Code:
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build apache
    ./build php n
    ./build mod_ruid2
    ./build rewrite_confs
    Kind regards, Fred

    Alentejo Webdesign
    Webdesign with Passion is what we do
    Web development, Hosting, Speed Optimizing & More......

  7. #7
    Join Date
    Aug 2012
    Posts
    24
    I then get an error on ./build apache, a lot of checks and then this:

    Code:
    xml/apr_xml.c:35:19: error: expat.h: No such file or directory
    xml/apr_xml.c:66: error: expected specifier-qualifier-list before 'XML_Parser'
    xml/apr_xml.c: In function 'cleanup_parser':
    xml/apr_xml.c:364: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:365: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c: At top level:
    xml/apr_xml.c:384: error: expected ';', ',' or ')' before '*' token
    xml/apr_xml.c: In function 'apr_xml_parser_create':
    xml/apr_xml.c:401: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:402: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:410: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:411: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:412: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:424: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:424: error: 'default_handler' undeclared (first use in this function)
    xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once
    xml/apr_xml.c:424: error: for each function it appears in.)
    xml/apr_xml.c: In function 'do_parse':
    xml/apr_xml.c:434: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:438: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp_err'
    xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp'
    xml/apr_xml.c: In function 'apr_xml_parser_geterror':
    xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err'
    xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err'
    make[3]: *** [xml/apr_xml.lo] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.29/srclib/apr-util'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.29/srclib/apr-util'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.29/srclib'
    make: *** [all-recursive] Error 1
    
    *** The make has failed, would you like to try to make again? (y,n):
    Also:
    Code:
    httpd -V
    Server version: Apache/2.2.31 (Unix)

  8. #8
    Join Date
    Aug 2015
    Posts
    312
    You need to install libexpat1-dev package and then compile again.
    Kind regards, Fred

    Alentejo Webdesign
    Webdesign with Passion is what we do
    Web development, Hosting, Speed Optimizing & More......

  9. #9
    Join Date
    Aug 2012
    Posts
    24
    Quote Originally Posted by Awd View Post
    You need to install libexpat1-dev package and then compile again.
    This was it!!! Don't now how you found it but that's awesome! Did this and recompiled and everything working great

    Thanks so much! (Super bedankt!)

Posting Permissions

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