1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Sitebuilder admin API down???

Discussion in 'Sitebuilder 3.0 for Linux' started by mdowner, Jan 27, 2007.

  1. mdowner

    mdowner Guest

    0
     
    I get this when I go to the modules section and select SiteBuilder

    "Could not connect to specified SiteBuilder server
    Local sitebuilder installation was found but it's remote api isn't available. May be server is down or DNS is not configured properly!"

    I have no idea where to proceed :-(

    -matt
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    As I understand this problem appeared in Sitebuilder3 Remote Admin module for Plesk. In this case I can suggest you first of all check if Sitebuilder's name is resolved on your server properly. If Sitebuilder is not configured try to reconfigure it with help of 'sb_config' command:

    # sb_config --sb_host_ip=IP_ADDRESS --sb_hostname=SITEBUILDER HOSTNAME

    After that insert SiteBuilder address * in module configuration as http://SITEBUILDER HOSTNAME/ServiceFacade/
    and insert correct admin login and password. I hope this information will be helpful.
    Forgot to tell you, make sure that remote admin module is really installed on this server:
    # rpm -qa|grep remote-admin (on REDHAT servers)
    # dpkg --list|grep remote-admin (on Debian)
     
  3. mdowner

    mdowner Guest

    0
     
    Ok so I understood a little of that, i did run the rpm command and it resulted
    # rpm -qa|grep remote-admin
    sitebuilder_remote-admin-3.0.2-all.build06112310
    #

    Here are the results, and it's still not working. What now?

    # rpm -qa|grep remote-admin
    sitebuilder_remote-admin-3.0.2-all.build06112310
    #
    # sb_config --sb_host_ip=64.62.138.70 --sb_hostname=sitebuilder.666webhost.com
    websrvmng: Service /etc/init.d/httpd failed to gracefully restart
    websrvmng: Service /etc/init.d/httpd failed to gracefully restart
    Virtual host creation: ...Ok
    Update SiteBuilder database user credentials: ...Ok
    Templates have been updated.
    Memory limit has been updated.
    Locales have been updated.
    Modules have been updated.
    ------------------------------
    Reconfiguration has been finished.
    ------------------------------
    ...Detailed log has been saved to /usr/local/sitebuilder/tmp/sb_config-0701290319.log

    Here is the log data :

    OS version determined as redhat
    [2007 Jan 29 03:19 07] CURRENT PARAMETERS:
    websrvmng: Service /etc/init.d/httpd failed to gracefully restart
    websrvmng: Service /etc/init.d/httpd failed to gracefully restart
    [2007 Jan 29 03:19 07] Virtual host creation: ...Ok
    [2007 Jan 29 03:19 07] update user set Host='localhost', Password=(removed by me)
    where User='sitebuilder_db'
    [2007 Jan 29 03:19 07] update db set Host='localhost' where User='sitebuilder_db' and Db='sitebuilder3'
    [2007 Jan 29 03:19 07] update tables_priv set Host='localhost' where User='sitebuilder_db' and Db='sitebuilder3'
    [2007 Jan 29 03:19 07] FLUSH PRIVILEGES
    [2007 Jan 29 03:19 07] Update SiteBuilder database user credentials: ...Ok
    [2007 Jan 29 03:19 07] Can't create database 'sitebuilder3'; database exists
    [2007 Jan 29 03:19 07] The eug-29 template has been successfully installed
    [2007 Jan 29 03:19 07] The personal-018 template has been successfully installed
    [2007 Jan 29 03:19 08] The vap-18 template has been successfully installed
    [2007 Jan 29 03:19 08] The vap-26 template has been successfully installed
    [2007 Jan 29 03:19 08] The vap-45 template has been successfully installed
    [2007 Jan 29 03:19 08] The zsk-07 template has been successfully installed
    [2007 Jan 29 03:19 08] Templates have been updated.
    [2007 Jan 29 03:19 08] Memory limit has been updated.
    [2007 Jan 29 03:19 09] Locales have been updated.
    [2007 Jan 29 03:19 09] Modules have been updated.
    [2007 Jan 29 03:19 09]System user already exists. User creation step will be skipped.
    [2007 Jan 29 03:19 09] Reconfiguration has been finished.
     
  4. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    So at the end were you able to configure it in Plesk? As I can see sitebuilder.666webhost.com can be resolved correctly so it seems it should work now.
     
  5. mdowner

    mdowner Guest

    0
     
    Nope. It resolves to the domaain via ping, but I can not get to the admin page, no matter what I try :-( Support seems to be on the 72 response window! So needless to say I question what sort of product I have purchased, and what kind of support department is really there. When I paid nothing for support for the first 30 days, they were great. Now that I paid, it takes days and somtimes over a week to get a response...... even if I set the ticket to URGENT! I must say i am really wondering if I purchased the right product for us, a week to get things fixed once we actually put clients on the box, will for sure kill us!
     
  6. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    I have just found your ticket and now issue seems to be resolved. I have answered you in ticket. It seems it was just apache problem, as for Sitebuilder configuration everything was set correctly and I didn't do any additional actions.
     
  7. flupke

    flupke Guest

    0
     
    what's the solution?

    hi there,

    facing same issue here, I checked everything (sb_config, rpm remote-admin, sitebuilder.<mydomain>/check.php reports all OK, DNS config is fine .... I can even login into sitebuilder, make site .... but remote-admin doesnt work

    Please advise
     
  8. SibProgrammer

    SibProgrammer Regular Pleskian Staff Member

    29
     
    Joined:
    Nov 21, 2004
    Messages:
    342
    Likes Received:
    15
    What you mean, than you say that "remote-admin doesnt work"? Remote admin of SB 3.x is fully different from Remote admin of SB 2.x.
    For example, do you see anything by URL: http://<sb-host>/ServiceFacade/AccountWebService.asmx
     
  9. flupke

    flupke Guest

    0
     
    Re: http://sitebuilder.<my domain>ServiceFacade/AccountWebService.asmx

    Hello,


    http://sitebuilder.<my domain>ServiceFacade/AccountWebService.asmx returns the following screen "Account WebService" with following content, check out the error at the end:


    The following operations are supported. For a formal definition, please review the Service Description. You can also see an information about Types.

    Internal SiteBuilder error.
    File: /usr/local/sitebuilder/include/Base/WebService.php; Line: 253
    Message: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://sitebuilder.<mydomain>:80/ServiceFacade/AccountWebService.asmx?WSDL'; Code: 0

    I believe it is related ot the config of Apache, please advise.
     
  10. SibProgrammer

    SibProgrammer Regular Pleskian Staff Member

    29
     
    Joined:
    Nov 21, 2004
    Messages:
    342
    Likes Received:
    15
    First, sitebuilder.<mydomain> must resolves into IP address then you loggen at SB host machine (from console of this machine).
    Second, try to look at SB configaration file for Apache (zz011_sitebuilder.conf). It must contain virtual host definition as follows: <VirtualHost <ip>:80 127.0.0.1:80>
    Third, RemoteAPI can work without problem. Try to request http://sitebuilder.<my domain>ServiceFacade/AccountWebService.asmx?WSDL and you can see WSDL content. Help autogenerator is only broken (accessed by link http://sitebuilder.<my domain>ServiceFacade/AccountWebService.asmx).

    P.S. Really can be any another problem.
     
  11. flupke

    flupke Guest

    0
     
    solved!

    SB's url was not resolving correctly, has been fixed!
     
  12. JamesG

    JamesG Guest

    0
     
    what exactly is the solution?

    thx,
    JamesG
     
  13. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    As I understand URL for Sitebuilder http://sitebuilder.<my domain> could not be resolved. I think it was DNS problem. Please make sure that sitebuilder's URL can be resolved correctly.
     
  14. JamesG

    JamesG Guest

    0
     
    hmmm, I tried this:

    (Speicherzugriffsfehler=Memory access error)

    # sb_config --sb_host_ip=IP_ADDRESS --sb_hostname=SITEBUILDER HOSTNAME
    Virtual host creation: ...Ok
    Update SiteBuilder database user credentials: ...Ok
    sh: line 1: 4307 Speicherzugriffsfehler /usr/bin/php5 -q
    /usr/local/sitebuilder/utils/update_templates.php db 2>/dev/null
    sh: line 1: 4309 Speicherzugriffsfehler /usr/bin/php5 -q
    /usr/local/sitebuilder/utils/update_templates.php source 2>/dev/null
    Templates have been updated.
    Memory limit has been updated.
    sh: line 1: 4313 Speicherzugriffsfehler /usr/bin/php5 -q
    /usr/local/sitebuilder/utils/update_locales.php db 2>/dev/null
    sh: line 1: 4315 Speicherzugriffsfehler /usr/bin/php5 -q
    /usr/local/sitebuilder/utils/update_locales.php source 2>/dev/null
    Locales have been updated.
    sh: line 1: 4318 Speicherzugriffsfehler /usr/bin/php5 -q
    /usr/local/sitebuilder/utils/modules/check.php db 2>/dev/null
    sh: line 1: 4320 Speicherzugriffsfehler /usr/bin/php5 -q
    /usr/local/sitebuilder/utils/modules/check.php source 2>/dev/null
    Modules have been updated.
    ------------------------------
    Reconfiguration has been finished.
    ------------------------------
    ...Detailed log has been saved to
    /usr/local/sitebuilder/tmp/sb_config-0703071708.log

    My System: Suse Linux 10.1.

    thx,
    JamesG
     
  15. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    Are you using your own PHP5 /usr/bin/php5 or PHP5 provided by SWsoft? Does Sitebuilder works on URL which you've configured - SITEBUILDER HOSTNAME?
     
  16. JamesG

    JamesG Guest

    0
     
  17. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
  18. JamesG

    JamesG Guest

    0
     
  19. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    In this case I can suggest you to check if all necessary extensions are installed for Sitebuilder. Try to run: http://sitebuilder.domain.tld/check.php
    Also, you can check Sitebuilder and apache error logs. If you won't get any progress here try to contact with SWsoft's support team.
     
Loading...