1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Apache configuration error

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Webroy, Feb 9, 2012.

  1. Webroy

    Webroy Regular Pleskian

    26
    23%
    Joined:
    Oct 29, 2008
    Messages:
    156
    Likes Received:
    0
    /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

    Unable to register configuration file: template=domainVhost, domain.id

    -no-restart' failed with message: Empty error message from utility.
    file: /usr/local/psa/admin/plib/common_func.php3
    line: 1047
    code: 0
    trace: #0 /usr/local/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
    #1 /usr/local/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'msg')
    #2 /usr/local/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
    #3 /usr/local/psa/admin/plib/api-common/Httpdmng.php(101): Os::execEx('httpdmng', Array)
    #4 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
    #5 {main}

    Execution failed.
    Command: httpdmng
    Arguments: Array
    (
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    What is Plesk version and OS? Version of installed MU?
     
  3. Webroy

    Webroy Regular Pleskian

    26
    23%
    Joined:
    Oct 29, 2008
    Messages:
    156
    Likes Received:
    0
    Centos 5.7 Plesk 10.4.4 latest update
     
  4. rasoolp

    rasoolp New Pleskian

    13
    35%
    Joined:
    Oct 6, 2011
    Messages:
    12
    Likes Received:
    0
    i'm have this problem
    i'm upgrade 9.3 to 10.3 and httpdmng not work
    then upgrade to 10.4.4
    moment
    file: /usr/local/psa/admin/plib/common_func.php3
    line: 1047
    code: 0
    trace: #0 /usr/local/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
    #1 /usr/local/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'msg')
    #2 /usr/local/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
    #3 /usr/local/psa/admin/plib/api-common/Httpdmng.php(91): Os::execEx('httpdmng', Array)
    #4 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
    #5 {main}

    Execution failed.
    Command: httpdmng
    Arguments: Array


    please solve this problem ,this problem very badly ......
     
  5. Xsigns

    Xsigns Guest

    0
     
    Here's the same problem.
    Plesk Panel 10.4.4 MU 20 on Suse 11.4
    Error when calling /usr/local/psa/admin/bin/httpdmng --reconfigure-all

    Unable to register configuration file: template=domainVhost, domain.id=34
    PleskUtilException: /usr/local/psa/admin/bin/httpdmng '--reconfigure-domains' 'club-verwalter22.de,emptores.de,fewo-software.es,fewo-software.info,fewo-verwalter.de,fewors.de,fewoverwalter.de,h1600221.stratoserver.net,litfin-computer.de,pr-book.com,pr-book.de,pr-book.eu,pr-book.info,pr-book.net,pr-book.org,prbook.de,software-ferienwohnungen.de,software-fuer-handelsvertreter.de,software-fuer-handelsvertretungen.de,software-fuer-industrievertretungen.de,software-im-dialog.de,verwaltung-von-ferienwohnungen.de,xn--software-fr-handelsvertreter-b7c.de,xn--software-fr-handelsvertretungen-xid.de,xn--software-fr-industrievertretungen-0pd.de,xsigns.de,xsigns.eu,xsigns.info,xsigns.name,xsigns.net,xsigns.org' failed with message: Empty error message from utility.
    file: /usr/local/psa/admin/plib/common_func.php3
    line: 1047
    code: 0
    trace: #0 /usr/local/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
    #1 /usr/local/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'msg')
    #2 /usr/local/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
    #3 /usr/local/psa/admin/plib/api-common/Httpdmng.php(101): Os::execEx('httpdmng', Array)
    #4 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
    #5 {main}

    Execution failed.
    Command: httpdmng
    Arguments: Array
    (
    [0] => --reconfigure-domains
    [1] => club-verwalter22.de,emptores.de,fewo-software.es,fewo-software.info,fewo-verwalter.de,fewors.de,fewoverwalter.de,h1600221.stratoserver.net,litfin-computer.de,pr-book.com,pr-book.de,pr-book.eu,pr-book.info,pr-book.net,pr-book.org,prbook.de,software-ferienwohnungen.de,software-fuer-handelsvertreter.de,software-fuer-handelsvertretungen.de,software-fuer-industrievertretungen.de,software-im-dialog.de,verwaltung-von-ferienwohnungen.de,xn--software-fr-handelsvertreter-b7c.de,xn--software-fr-handelsvertretungen-xid.de,xn--software-fr-industrievertretungen-0pd.de,xsigns.de,xsigns.eu,xsigns.info,xsigns.name,xsigns.net,xsigns.org
    )

    Details: Empty error message from utility.

    alternatively: /usr/local/psa/admin/bin/httpdmng --reconfigure-domain emptores.de
    Unable to register configuration file: template=domainVhost, domain.id=34
     
    Last edited by a moderator: Mar 5, 2012
  6. rasoolp

    rasoolp New Pleskian

    13
    35%
    Joined:
    Oct 6, 2011
    Messages:
    12
    Likes Received:
    0
    this problem cause such domain not node hosting in database
    example domain id 34

    with this program solve


    <?php

    $count=1;
    $con = mysql_connect("localhost","****","*****");
    if (!$con)
    {
    die('Could not connect: ' . mysql_error());
    }
    else{


    #$db_selected('psa');

    $db_selected = mysql_select_db('psa', $con);

    $query = "SELECT id FROM domains WHERE NOT EXISTS (SELECT dom_id FROM DomainServices where (type = 4 and domains.id = DomainServices.dom_id) ) ;";

    $result = mysql_query($query) or die('failed'. mysql_error());
    $domainarray = 9999;
    while($domainarray = mysql_fetch_array($result))
    {



    #echo $domainarray['id'];





    $query = mysql_query('insert into IpCollections (id) VALUES (\'\')') or die('failed IpCollections '.$count);


    $query = mysql_query("SELECT MAX(id) FROM IpCollections") or die ('failed get IpCollections '.$count);

    $IpCollectionsid = mysql_fetch_array($query);



    #$q='insert into IpAddressesCollections (ipCollectionId,ipAddressId) VALUES ('.$IpCollectionsid.',1)';
    $query = mysql_query('insert into IpAddressesCollections (ipCollectionId,ipAddressId) VALUES ('. $IpCollectionsid[0].',1)') or die('failed IpAddressesCollections '.$count);
    #$domainarray[0]=463;
    $result = mysql_query('insert into DomainServices (dom_id,type,status,ipCollectionId) VALUES ('.$domainarray[0].',4,0,'.$IpCollectionsid[0].')') or die('failed DomainServices '.$count);

    echo 'service add with IpCollectionsid'. $IpCollectionsid[0].'and domain id '.$domainarray[0].'*** \n ';


    }

    }


    ?>
     
  7. Xsigns

    Xsigns Guest

    0
     
    Thank you!
    For me it did a reboot of the server. Why? I don't know. Unfortunately I hadn't the chance to reply this here yet because another server has problems too... ;)
     
Loading...