Results 1 to 11 of 11

Thread: Unable to find service node for web service on domain

  1. #1

    Default Unable to find service node for web service on domain

    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...



  2. #2
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638

    Default

    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.
    Attached Files Attached Files



  3. #3

    Default

    Hi,
    I have the same problem.
    Afther updating Domani.php nothing is changes.



  4. #4

    Default

    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.



  5. #5
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638



  6. #6

    Default

    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.



  7. #7
    Kilo Poster
    Join Date
    Feb 2011
    Posts
    11

    Default 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,allnetw ork.eu,allnetwork.ro,avocat-ghitan.ro,azzurracomimpex.ro,barci-pescuit-vanatoare.ro,basspowermovement.ro,bebeluxuryshop.r o,bogdan.tenea.eu,bookforceone.ro,BPM.basspowermov ement.ro,casedelemn.ro,ccirc.ro,cercei.lokum.ro,ce rtiq.com,comisariat.ro,csstriumf.ro,danubiaglobal. com,danubiaglobal.ro,darkfiber.ro,dasnet.ro,denver 1993.ro,divaniconcept.ro,doralpublishing.ro,ecta.r o,ekg.ro,elref.ro,epm.ro,fastcall.ro,fastphone.ro, freepost.ro,frequentis.ro,fullfrontal.ro,galeriade artanord.ro,gamaproduction.ro,giben.ipema.ro,glice mie.ro,gpic.ro,gradinabakker.ro,harnaj.ro,ideasfac tory.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,mmmstudi o.ro,myadmin.allnet.ro,mynet2003.ro,nebulizatoare. ro,netcall.ro,netshopping.ro,oktravel.ro,partyligh ts.ro,pedometre.ro,poligraphia.ro,precizia-sa.ro,preveniredezastre.ro,prioripost.ro,propagand aadv.ro,psihodramaclasica.ro,psihoterra.ro,radines ti.ro,roadrunnercarrier.ro,roadrunnermusic.ro,roix .ro,ronsland.ro,scoutastray.com,shteff.basspowermo vement.ro,smart-media.ro,snagovnet.ro,sopolec.com,synaptics.ro,sys tiq.com,t-assist.ro,telemedco.ro,tenea.eu,tens.ro,tensiometr e-electronice.ro,termometre-electronice.ro,termoserv-bucuresti.ro,ticket.allnet.ro,underconstruction.mi scellany.ro,uv-advertising.ro,venusestet.ro,victorieinet.ro,viole ntalimited.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,allnetwo rk.eu,allnetwork.ro,avocat-ghitan.ro,azzurracomimpex.ro,barci-pescuit-vanatoare.ro,basspowermovement.ro,bebeluxuryshop.r o,bogdan.tenea.eu,bookforceone.ro,BPM.basspowermov ement.ro,casedelemn.ro,ccirc.ro,cercei.lokum.ro,ce rtiq.com,comisariat.ro,csstriumf.ro,danubiaglobal. com,danubiaglobal.ro,darkfiber.ro,dasnet.ro,denver 1993.ro,divaniconcept.ro,doralpublishing.ro,ecta.r o,ekg.ro,elref.ro,epm.ro,fastcall.ro,fastphone.ro, freepost.ro,frequentis.ro,fullfrontal.ro,galeriade artanord.ro,gamaproduction.ro,giben.ipema.ro,glice mie.ro,gpic.ro,gradinabakker.ro,harnaj.ro,ideasfac tory.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,mmmstudi o.ro,myadmin.allnet.ro,mynet2003.ro,nebulizatoare. ro,netcall.ro,netshopping.ro,oktravel.ro,partyligh ts.ro,pedometre.ro,poligraphia.ro,precizia-sa.ro,preveniredezastre.ro,prioripost.ro,propagand aadv.ro,psihodramaclasica.ro,psihoterra.ro,radines ti.ro,roadrunnercarrier.ro,roadrunnermusic.ro,roix .ro,ronsland.ro,scoutastray.com,shteff.basspowermo vement.ro,smart-media.ro,snagovnet.ro,sopolec.com,synaptics.ro,sys tiq.com,t-assist.ro,telemedco.ro,tenea.eu,tens.ro,tensiometr e-electronice.ro,termometre-electronice.ro,termoserv-bucuresti.ro,ticket.allnet.ro,underconstruction.mi scellany.ro,uv-advertising.ro,venusestet.ro,victorieinet.ro,viole ntalimited.harnaj.ro,violet.ro,webshopping.ro,wiki .synaptics.ro,woodproducts.ro,www.mmmstudio.ro,ziarul-avocatul-tau.ro
    )

    Details: Empty error message from utility.



  8. #8
    Kilo Poster
    Join Date
    Feb 2011
    Posts
    11

    Default

    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



  9. #9
    Kilo Poster
    Join Date
    Feb 2011
    Posts
    11

    Default

    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.



  10. #10

    Default

    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 ...
    Abdi Joseph

    Level 3 Hands-On Premium Support @ $20/Per Ticket
    ==> http://www.jolis.net/packages.php?spt=47 <==



  11. #11
    Parallels Team IgorG's Avatar
    Join Date
    Oct 2009
    Location
    Novosibirsk, Russia
    Posts
    14,638



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •