• 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

Sitebuilder admin API down???

M

mdowner

Guest
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
 
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)
 
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.
 
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.
 
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!
 
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.
 
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
 
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
 
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.
 
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.
 
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
 
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?
 
Back
Top