• 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

Old server 4.2.2 migrate to New server 4.2.3

N

nude2life

Guest
MY problem is I have the 4.2.2 running on my old server and the HDD got BadSector, I get a new server but it come ith the Sitebuilder 4.2.3, below are files I copied form old server to replace the new server:

1. /usr/local/sitebuilder/config
2. /usr/local/sitebuilder/htdocs/sites (whole directory)
3. /var/lib/mysql/sitebuilder3

after that I try to run : sb_config --migrate_all
Migrating sites.
[2008-07-28T23:15:33+08:00 - #1 - error] Exception : SQLSTATE[28000] [1045] Access denied for user 'sitebuilder_db'@'localhost' (using password: YES); file: /usr/local/sitebuilder/include/Zend/Zend/Db/Adapter/Pdo/Abstract.php; line: 111; code: 0
Logs saved to /usr/local/sitebuilder/tmp/sb_config-0807282315.log

anyone can help????

thanks.
Aric
 
The error means that login credentials for Sitebuilder mysql user that are specified in system do not match credentials in Sitebuilder configuration. Run the following command to generate Sitebuilder mysql user anew:

~# sb_config --force_update_db
 
I solved that issue.. but now when i do :
[root@NS02 httpdocs]# sb_config --migrate_all
Migrating sites.
There is no sites for migration.
Logs saved to /usr/local/sitebuilder/tmp/sb_config-0807291601.log
[root@NS02 httpdocs]#

and I go to pleask

it seem as in teh attachment.. but inthe config file is already result below:
--sb_host_ip Create virtual host on the specified IP [202.172.32.189]
--sb_hostname Sitebuilder virtual host name [sitebuilder.epochhosting.com]
--httpd_owner Webserver user and group [apache:apache]
--[no]enable_ssl Enable/disable SSL [no]


please help..

Aric
 

Attachments

  • sitebuilder-error1.jpg
    sitebuilder-error1.jpg
    30.1 KB · Views: 30
During installation Sitebuilder is registered in Plesk Control Panel as sitebuilder.HOSTNAME, Sitebuilder server URL cannot be changed through control panel interface, but manually.
If Plesk Sitebuilder is configured on domain name sitebuilder.DOMAIN.COM (and admin URL is available at http://sitebuilder.DOMAIN.COM/Admin) use the following command to change Sitebuilder server URL in Plesk:

~# /usr/local/psa/bin/sitebuilder --set http://sitebuilder.DOMAIN.COM/ServiceFacade/ -force

Let me know what you get.
 
Back
Top