• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Apache configuration error

Webroy

Regular Pleskian
/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
(
 
What is Plesk version and OS? Version of installed MU?
 
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 ......
 
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:
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 ';


}

}


?>
 
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... ;)
 
Back
Top