• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Unable to find service node for web service on domain

Errance

New Pleskian
After updating to Plesk 10.4.4 few days ago, some of my domains can't be edit, but not all.
When I go to the panel control of the domain & try to édit the website & domains, I have this error :

Internal error: Unable to find service node for web service on domain with id=20
Message Unable to find service node for web service on domain with id=20
File PhDomainBase.php
Line 775
Type PleskDBException

I have look to this topic : http://forum.parallels.com/showthread.php?t=208889
But in my case, they all have hosting.

The subdoms of these site are down...
 
Try to create backup of original /usr/local/psa/admin/plib/Domain.php and then replace it with attached. Then re-login and check how it does work.
 

Attachments

  • Domain.zip
    65.2 KB · Views: 55
Hi,
I have the same problem.
Afther updating Domani.php nothing is changes.
 
Hi,

Same problem :(.
Unable to find service node for web service on domain with id=4306

And the update Domain.php response Internal error. from Plesk and System.Net.WebException: The remote server returned an error: (500) Internal Server Error. from Plesk-API.
 
Thanks Igor but there is a second very simple method.
I'm not very good at English but I'll try to explain.

I "crash" 15 domains because my SQL server was not reachable when I requested the removal of the domain by the API.

I simply allowed the domain to another client account and I indicated the ip address.
Plesk respond an error and left the domain on the old account customer but it fixed the problem automatically.
 
Crashed domains after import from 9.3 to 10.4.4

Hello

I experience the same problem, i followed the instruction in the KB but I get the following on reconfig:

[root@plesk1 ~]# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
Unable to register configuration file: template=domainVhost, domain.id=122
PleskUtilException: /usr/local/psa/admin/bin/httpdmng '--reconfigure-domains' 'aerosoli.ro,aeus.ro,agermond.ro,allnet.ro,allnetwork.eu,allnetwork.ro,avocat-ghitan.ro,azzurracomimpex.ro,barci-pescuit-vanatoare.ro,basspowermovement.ro,bebeluxuryshop.ro,bogdan.tenea.eu,bookforceone.ro,BPM.basspowermovement.ro,casedelemn.ro,ccirc.ro,cercei.lokum.ro,certiq.com,comisariat.ro,csstriumf.ro,danubiaglobal.com,danubiaglobal.ro,darkfiber.ro,dasnet.ro,denver1993.ro,divaniconcept.ro,doralpublishing.ro,ecta.ro,ekg.ro,elref.ro,epm.ro,fastcall.ro,fastphone.ro,freepost.ro,frequentis.ro,fullfrontal.ro,galeriadeartanord.ro,gamaproduction.ro,giben.ipema.ro,glicemie.ro,gpic.ro,gradinabakker.ro,harnaj.ro,ideasfactory.ro,imperodesign.ro,inforomania.ro,ingenio-grup.ro,ipema.ro,irap.ro,it-com.ro,lafemme.ro,leo.ro,leonard.ro,libaromagri.ro,lizamoon.tenea.eu,lokum.ro,macmillan.ro,marita.at,medco.ro,medro.ro,merfu.ro,miscellany.ro,mmmstudio.ro,myadmin.allnet.ro,mynet2003.ro,nebulizatoare.ro,netcall.ro,netshopping.ro,oktravel.ro,partylights.ro,pedometre.ro,poligraphia.ro,precizia-sa.ro,preveniredezastre.ro,prioripost.ro,propagandaadv.ro,psihodramaclasica.ro,psihoterra.ro,radinesti.ro,roadrunnercarrier.ro,roadrunnermusic.ro,roix.ro,ronsland.ro,scoutastray.com,shteff.basspowermovement.ro,smart-media.ro,snagovnet.ro,sopolec.com,synaptics.ro,systiq.com,t-assist.ro,telemedco.ro,tenea.eu,tens.ro,tensiometre-electronice.ro,termometre-electronice.ro,termoserv-bucuresti.ro,ticket.allnet.ro,underconstruction.miscellany.ro,uv-advertising.ro,venusestet.ro,victorieinet.ro,violentalimited.harnaj.ro,violet.ro,webshopping.ro,wiki.synaptics.ro,woodproducts.ro,www.mmmstudio.ro,ziarul-avocatul-tau.ro' failed with message: Empty error message from utility.
file: /usr/local/psa/admin/plib/common_func.php3
line: 1065
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(983): 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] => aerosoli.ro,aeus.ro,agermond.ro,allnet.ro,allnetwork.eu,allnetwork.ro,avocat-ghitan.ro,azzurracomimpex.ro,barci-pescuit-vanatoare.ro,basspowermovement.ro,bebeluxuryshop.ro,bogdan.tenea.eu,bookforceone.ro,BPM.basspowermovement.ro,casedelemn.ro,ccirc.ro,cercei.lokum.ro,certiq.com,comisariat.ro,csstriumf.ro,danubiaglobal.com,danubiaglobal.ro,darkfiber.ro,dasnet.ro,denver1993.ro,divaniconcept.ro,doralpublishing.ro,ecta.ro,ekg.ro,elref.ro,epm.ro,fastcall.ro,fastphone.ro,freepost.ro,frequentis.ro,fullfrontal.ro,galeriadeartanord.ro,gamaproduction.ro,giben.ipema.ro,glicemie.ro,gpic.ro,gradinabakker.ro,harnaj.ro,ideasfactory.ro,imperodesign.ro,inforomania.ro,ingenio-grup.ro,ipema.ro,irap.ro,it-com.ro,lafemme.ro,leo.ro,leonard.ro,libaromagri.ro,lizamoon.tenea.eu,lokum.ro,macmillan.ro,marita.at,medco.ro,medro.ro,merfu.ro,miscellany.ro,mmmstudio.ro,myadmin.allnet.ro,mynet2003.ro,nebulizatoare.ro,netcall.ro,netshopping.ro,oktravel.ro,partylights.ro,pedometre.ro,poligraphia.ro,precizia-sa.ro,preveniredezastre.ro,prioripost.ro,propagandaadv.ro,psihodramaclasica.ro,psihoterra.ro,radinesti.ro,roadrunnercarrier.ro,roadrunnermusic.ro,roix.ro,ronsland.ro,scoutastray.com,shteff.basspowermovement.ro,smart-media.ro,snagovnet.ro,sopolec.com,synaptics.ro,systiq.com,t-assist.ro,telemedco.ro,tenea.eu,tens.ro,tensiometre-electronice.ro,termometre-electronice.ro,termoserv-bucuresti.ro,ticket.allnet.ro,underconstruction.miscellany.ro,uv-advertising.ro,venusestet.ro,victorieinet.ro,violentalimited.harnaj.ro,violet.ro,webshopping.ro,wiki.synaptics.ro,woodproducts.ro,www.mmmstudio.ro,ziarul-avocatul-tau.ro
)

Details: Empty error message from utility.
 
After manually having to fix ipcollections, ipaddressescollections and domainservices tables because your fix did not work (the problem was more servere that explained in the knowledge base - I had rows from domainservices missing), httpdmng --reconfigure-all still crashed. After checking i found out that after migration no vhost directories were created for any of the existing subdomains, which is why i got errors like the following:

PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-w' '/var/www/vhosts/lizamoon.tenea.eu/conf/13397416430.83968200_httpd.include' failed with code .

stdout:


stderr:
mkdir: cannot create directory `/var/www/vhosts/lizamoon.tenea.eu/conf': No such file or directory
mktemp: cannot create temp file /var/www/vhosts/lizamoon.tenea.eu/conf/13397416430.83968200_httpd.include.q12448: No such file or directory
Can not create temporary file

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 71
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(110, 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(110, 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('fe0c1ad1a2efdfe...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(58): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(196): Template_Writer_Apache->test()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/plib/WebServerManager.php(311): WebServerManager_Adapter_Apache->sync()
#8 /usr/local/psa/admin/plib/api-common/Httpdmng.php(117): WebServerManager->sync()
#9 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#10 {main}

I had to manually create the vhost conf directory, reconfigure all subdomains individually and then reconfigure all:

mkdir -p /var/www/vhosts/lizamoon.tenea.eu/conf
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain lizamoon.tenea.eu
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
My only problem is that I am getting the following message in the interface even though files are fixed and no reconfiguration errors appear:

Error: New web server configuration for some domains within the marked subscriptions was not built due to errors in configuration templates. The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating configuration.
 
I had the same problem when I tried deleting the domain name, so what I did was:

Code:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa
DELETE FROM `domains` WHERE `id` = 108;
DELETE FROM `psa`.`DomainServices` WHERE `dom_id` = 108;
DELETE FROM `psa`.`DomainsTraffic` WHERE `dom_id` = 108;
DELETE FROM `psa`.`dom_param` WHERE `dom_id` = 108;

Where 108 is the ID of the domain name ...
 
Back
Top