• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Web server reconfiguration failed: New Apache configuration was not built.

  • Thread starter AdamLanningMolyneux
  • Start date
A

AdamLanningMolyneux

Guest
Hi there,

I'm getting a problem saying: Web server reconfiguration failed: New Apache configuration was not built.

I'm pretty new to all of this but I'm getting the following problem when I run "httpd: bad user name social" when I run apachectl -t

and when I run "/usr/local/psa/admin/sbin/httpdmng --reconfigure-" I get

PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-t' failed with co de 1.
-bash: PleskUtilException:: command not found
[root@server88-208-221-229 ~]#
[root@server88-208-221-229 ~]# stdout:
-bash: stdout:: command not found
[root@server88-208-221-229 ~]#
[root@server88-208-221-229 ~]#
[root@server88-208-221-229 ~]# stderr:
-bash: stderr:: command not found
[root@server88-208-221-229 ~]# httpd: bad user name social
-bash: httpd:: command not found
[root@server88-208-221-229 ~]#
[root@server88-208-221-229 ~]# file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
-bash: file:: command not found
[root@server88-208-221-229 ~]# line: 98
-bash: line:: command not found
[root@server88-208-221-229 ~]# code: 0
-bash: code:: command not found
[root@server88-208-221-229 ~]# trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Servi ce_Agent_Transport_Local_Exec->process(5, Object(Service_Agent_Command_Exec), Ob ject(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
-bash: trace:: command not found
[root@server88-208-221-229 ~]# #1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agen t_Transport_Local->_command(5, Object(Service_Agent_Command_Exec), Object(Servic e_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
[root@server88-208-221-229 ~]# #2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Loc al->process('bb8d3f81b29196a...', Array, Object(Service_Agent_Log))
[root@server88-208-221-229 ~]# #3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(58): Service_Agent->comm it()
[root@server88-208-221-229 ~]# #4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(196): Template_W riter_Apache->test()
[root@server88-208-221-229 ~]# #5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_C onfiguration_Applier->_applyConfigurationsToServiceNode(1, Array)
[root@server88-208-221-229 ~]# #6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_ Configuration_Applier->applyConfiguration(true)
[root@server88-208-221-229 ~]# #7 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(313): WebServer Manager_Adapter_Apache->sync()
[root@server88-208-221-229 ~]# #8 /usr/local/psa/admin/plib/WebServerManager.php(199): WebServerManager_Adapter _Apache->reconfigureServer(Object(Db_Table_Row_ServiceNode))
[root@server88-208-221-229 ~]# #9 /usr/local/psa/admin/plib/api-common/Httpdmng.php(123): WebServerManager->rec onfServer()
[root@server88-208-221-229 ~]# #10 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
[root@server88-208-221-229 ~]# #11 {main}
[root@server88-208-221-229 ~]#
[root@server88-208-221-229 ~]# 2012-03-14T13:41:14+00:00 ERR (3): Apache config (13317324720.62618900) generati on failed: httpd: bad user name social
-bash: syntax error near unexpected token `('
[root@server88-208-221-229 ~]#
[root@server88-208-221-229 ~]# httpd: bad user name social
-bash: httpd:: command not found
[root@server88-208-221-229 ~]#
[root@server88-208-221-229 ~]# PleskUtilException: /usr/local/psa/admin/bin/httpdmng '--reconfigure-server' '-n o-restart' failed with message: Empty error message from utility.
-bash: PleskUtilException:: command not found
[root@server88-208-221-229 ~]# file: /usr/local/psa/admin/plib/common_func.php3
-bash: file:: command not found
[root@server88-208-221-229 ~]# line: 1047
-bash: line:: command not found
[root@server88-208-221-229 ~]# code: 0
-bash: code:: command not found
[root@server88-208-221-229 ~]# trace: #0 /usr/local/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
-bash: trace:: command not found
[root@server88-208-221-229 ~]# #1 /usr/local/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'm sg')
[root@server88-208-221-229 ~]# #2 /usr/local/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
[root@server88-208-221-229 ~]# #3 /usr/local/psa/admin/plib/api-common/Httpdmng.php(89): Os::execEx('httpdmng', Array)
[root@server88-208-221-229 ~]# #4 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
[root@server88-208-221-229 ~]# #5 {main}
[root@server88-208-221-229 ~]#
[root@server88-208-221-229 ~]# Execution failed.
-bash: Execution: command not found
[root@server88-208-221-229 ~]# Command: httpdmng
-bash: Command:: command not found
[root@server88-208-221-229 ~]# Arguments: Array
-bash: Arguments:: command not found
[root@server88-208-221-229 ~]# (
> [0] => --reconfigure-server
> [1] => -no-restart
> )

Many thanks, Adam.
 
Back
Top