• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

domains show apache test page

AmineB

New Pleskian
hi,

I have a problem with one of our servers, alla the domain gave the apache test page and now they are not accessible at all and the apache won't start.
Plesk report that there is a problem with his conf files. I tired to reconfigure (httpdmng --reconfigure-all) but i got some error messages:

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 66
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('9acb7859fbd7381...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(74): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(209): Template_Writer_Apache->restart()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/panel/application/controllers/SubscriptionController.php(1019): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/panel/application/controllers/SubscriptionController.php(988): SubscriptionController->_webserverConfigurationRebuildServerwide()
#8 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): SubscriptionController->webserverConfigurationRebuildAction()
#9 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('webserverConfig...')
#10 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /usr/local/psa/admin/panel/application/library/AdminPanel/Application/Web.php(20): Zend_Controller_Front->dispatch()
#12 /usr/local/psa/admin/panel/application/public/index.php(15): AdminPanel_Application_Web->run()
#13 {main}

I also tried to execute /usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair without any resulat.

have you any idea to solve this ?
thanks for help.
 
Hi,

two things to do:

1.) # /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

See if that works.

2. If it does not, try and restart your Apache manually. If it fails have a look at the error.log and paste the output here.

Regards,
Kristian
 
Hi,

thanks for your assistance.

the httpdmng --reconfigure-all gives this error :
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => technicalpreview.net,phpmyadmin.technicalpreview.net,reservit.technicalpreview.net,siway-reservit.technicalpreview.net,southerntracks.technicalpreview.net,bestwestern-dev.technicalpreview.net,intranet-promessa.technicalpreview.net,bestwestern-rh.technicalpreview.net,bestwestern-seminaires.technicalpreview.net,best-restaurantes.technicalpreview.net,ctrust.technicalpreview.net,caor.technicalpreview.net,medz.technicalpreview.net,julprive.technicalpreview.net,julpub.technicalpreview.net,salarie.technicalpreview.net,bwjapancurrent.technicalpreview.net,victoire-p.technicalpreview.net,bwhoteldemo.technicalpreview.net,hotel-demo.technicalpreview.net,monitoring.technicalpreview.net,salmouni.technicalpreview.net,crmpromessa.technicalpreview.net,videojs.technicalpreview.net,bwdcno.technicalpreview.net,la-ballue.technicalpreview.net,bwdcie.technicalpreview.net,bwdcse.technicalpreview.net,bwdctr.technicalpreview.net,bwdcru.technicalpreview.net,bwdcbr.technicalpreview.net,bwdcdk.technicalpreview.net,bwdcfi.technicalpreview.net,bestwestern.fr,recrutement.bestwestern.fr,ctg-backup.net,bestwestern-miles.fr,bestwestern-mobile.mobi,fes-shore.com,medz-sourcing.com,mediabw.com,bestwestern-mobi.fr,akeeba-backup.com,casanearshore.com,technopolis.ma,southern-tracks.com,hotel-demo-2.com,sw-network.net,tanganyika.sw-network.net,deepdive.sw-network.net,ebrochure.sw-network.net,bwdcnl.sw-network.net,chateauform.sw-network.net,pre-xeester.sw-network.net,blogf.sw-network.net,hotelimperial.sw-network.net,promessa.sw-network.net,lysor.sw-network.net,bw-rewards.sw-network.net,bwdcnl-mobi.sw-network.net,argos.sw-network.net,medz.sw-network.net,marocagroindustrie.sw-network.net,emines.sw-network.net,nouveau-depart.sw-network.net,argos-travel.sw-network.net,argos-mapper.sw-network.net,bw-epinal.sw-network.net,bw-cotonou.sw-network.net,coffre-sec.sw-network.net,salesforce.sw-network.net,siway-storage.net,bestwestern-miles-v2.fr
)

Details: 2014-03-14T11:53:16+01:00 ERR (3) [util_exec]: proc_close() failed
2014-03-14T11:53:26+01:00 ERR (3) [panel]: Apache config (13947943870.93093600) generation failed: Template_Exception: Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 100
code: 0
Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

I also tried to start apache manually but still not works. the /var/log/httpd/error_log show those errors but the time of excetting the apache startint don't match those errors :

[Fri Mar 14 10:59:50 2014] [notice] Apache/2.2.24 (Unix) DAV/2 mod_fcgid/2.3.9 mod_jk/1.2.37 mod_python/3.2.8 Python/2.4.3 mod_ssl/2.2.24 OpenSSL/0.9.8y mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
[Fri Mar 14 11:00:01 2014] [error] [client 127.0.0.1] File does not exist: /var/www/html/ovh-status
[Fri Mar 14 11:00:01 2014] [error] [client 127.0.0.1] File does not exist: /var/www/html/ovh-status
[Fri Mar 14 11:01:33 2014] [notice] caught SIGTERM, shutting down
(2)No such file or directory: httpd: could not open error log file /var/www/vhosts/system/salesforce.sw-network.net/logs/error_log.
Unable to open logs
(2)No such file or directory: httpd: could not open error log file /var/www/vhosts/system/salesforce.sw-network.net/logs/error_log.
Unable to open logs
(2)No such file or directory: httpd: could not open error log file /var/www/vhosts/system/salesforce.sw-network.net/logs/error_log.
Unable to open logs
(2)No such file or directory: httpd: could not open error log file /var/www/vhosts/system/salesforce.sw-network.net/logs/error_log.
Unable to open logs
(2)No such file or directory: httpd: could not open error log file /var/www/vhosts/system/salesforce.sw-network.net/logs/error_log.
Unable to open logs
(2)No such file or directory: httpd: could not open error log file /var/www/vhosts/system/salesforce.sw-network.net/logs/error_log.
Unable to open logs
(2)No such file or directory: httpd: could not open error log file /var/www/vhosts/system/salesforce.sw-network.net/logs/error_log.
Unable to open logs


Amine
 
I also tried the generation via Plesk panel, I received a mail with this error :

Unable to generate the web server configuration file on the host <technicalpreview.net> because of the following errors:

Template_Exception: Can not restart web server: Service /etc/init.d/httpd failed to start Service /etc/init.d/httpd failed to start

file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 100
code: 0

Please resolve the errors in web server configuration templates and generate the file again.
 
Hi,

could you still check if the following file is there?
/var/www/vhosts/system/salesforce.sw-network.net/logs/error_log

If it's not, please do create it with "touch /var/www/vhosts/system/salesforce.sw-network.net/logs/error_log"

Then retry to start your Apache.

Please give Feedback of what your error.log shows then.

Thanks
Kristian
 
Hi,

you are very welcome.
You should however check why the folder was no longer existant.
Did you maybe delete it by mistake? Or did you try to delete the subscription?

Regards,
Kristian
 
Back
Top