• 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 installation on Centos 4.5 WHM/cPanel server

W

WHMDestek

Guest
Hello,
I am trying to install sitebuilder on my Centos 4.5 cPanel server.

I tried autoinstaller and got this error.

Exchanging information with licensing server.
Retrieving information about the installed packages... done
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/build-4.0.0-cos4.2-i386.hdr.gz: 54%..100% d.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/thirdparty-rpm-CentOS-4.2-i386/thirdparty-4.0.0-cos4.2-i386.hdr.gz: .
Downloading the file SiteBuilder/SiteBuilder_4.0.0/update-rpm-CentOS-4.2-i386/update-4.0.0-cos4.2-i386.hdr.gz: 26%..80%.
Determining the packages that need to be installed.
ERROR: You have a newer version of the selinux-policy-targeted package installed on your system.
The installation will not continue.

It seems that you installed latest packages from your operating system vendor's
site. To install the product packages successfully, you need to point the
auto-installer to the vendor's package repository. To do this, create a text
file with name .autoinstallerrc in the /root/ directory on the server, and add
the following line to the file:

ADDITIONAL_SOURCE="<type>, <priority>, <url>, <username>, <password>"

where you should replace <type> with "repomd" value, <priority> with a number from
1 to 999 (999 is the highest priority), and <url> with a URL of the vendor
updates source. The values <username> and <password> are required
only if your vendor's site requires authentication. Save the file and
exit from the text editor. Then run the auto-installer again.
Not all packages were installed.
Please, resolve the above problem and try installing the packages again.
If you cannot resolve the problem on your own, contact product technical support for assistance.
[root@vor sitebuilder]#




Help :)
 
No one is answering.
I need help on that issue please.
 
Try the following:
Code:
# echo 'ADDITIONAL_SOURCE="repomd, 500, [url]http://www.dcl-arch.it/pub/CentOS/4.5/os/i386/[/url] "' >> /root/.autoinstallerrc

this will add centos-4.5 repo to the list of autoinstaller sources. You may use the nearest mirror instead of dcl-arch.it (e.g. the one you've installed the system from).
Alternatively, you may try to use http://autoinstall.plesk.com/PSA_8.2.1/update-rpm-CentOS-4.2-i386 but this may not work.
 
Hello ,

I greatly appreciate your message.


But I couldnt yet solve it.


after I have appllied this code in the same folder with the autoinstaller

I have encountered this error



-



Select the Product Version
===============================================================================

The following product versions are available:

1. [ ] Plesk 7.5.4
2. [ ] Plesk 8.0.0
3. [ ] Plesk 8.0.1
4. [ ] Plesk 8.1.0
5. [ ] Plesk 8.1.1
6. [ ] Plesk 8.2.0
7. [ ] Plesk 8.2.1
8. [ ] Sitebuilder 3.0.0
9. [ ] Sitebuilder 3.0.1
10. [ ] Sitebuilder 3.0.2
11. [*] Sitebuilder 4.0.0

N) Go to the next page; P) Go the previous page; Q) Cancel installing
To select a version, type the respective number;
Select action [N]:
Downloading the file SiteBuilder/SiteBuilder_4.0.0/sitebuilder-4.0.0-cos4.2-i386.inf3: 100% done.
ERROR: You specified an additional source incorrectly.
Not all packages were installed.
Please, resolve the above problem and try installing the packages again.
If you cannot resolve the problem on your own, contact product technical support for assistance.
[root@vor sitebuilder]#
 
This is strange. Try replacing repomd with repodata in /root/.autoinstallerrc
 
Hello,

I have found repomd in /usr/lib/python2.3/site-packages/repomd


is this the one you mean ?

and also to where I am going to move this file

As you will see

[root@vor ~]# cd /root/.autoinstallerrc
-bash: cd: /root/.autoinstallerrc: Not a directory


/root/.autoinstallerrc is not a directory.


THANK YOU!
 
what I mean was 'edit /root/.autoinstallerrc file and replace the "repomd" with "repodata"'. The same can be achieved by
Code:
echo 'ADDITIONAL_SOURCE="repodata, 500, [url]http://www.dcl-arch.it/pub/CentOS/4.5/os/i386/[/url] "' > /root/.autoinstallerrc
 
Hi caustic,

Firstly I want to thank you for your posts .


I have replaced remd with repodata and run autoinstaller.

And have taken an error too.


Here is the error.





Plesk and operating system packages will be downloaded and saved to the
directory '/root/swsoft'.

Required disk space: 38.51 Mb.

Available disk space: 427080.74 Mb.


N) Next page; P) Go back; Q) Cancel installing
Select action [N]:
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sitebuilder/sitebuilder-4.0.0-all.build07062700.noarch.rpm: 13%..22%..30%..43%..52%..60%..73%..82%..90%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sitebuilder/sitebuilder-core-4.0-centos4.build07062700.i386.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sitebuilder/sitebuilder-selinux-1.0-centos4.build07062700.noarch.rpm: 17%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-areamap-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-downloadablecontent-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-eshop-4.0.0-all.build07062700.noarch.rpm: 66%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-feedback-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-flashintro-4.0.0-all.build07062700.noarch.rpm: 60%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-forum-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-guestbook-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-login-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-rssreader-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-script-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-statistics-4.0.0-all.build07062700.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/modules/sitebuilder_module-voting-4.0.0-all.build07062700.noarch.rpm: 19%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_de_DE-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_es_ES-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_fr_FR-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_hu_HU-4.0.0-all.07070609.noarch.rpm: 44%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_it_IT-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_ja_JP-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_pt_BR-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_pt_PT-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_ru_RU-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_zh_CN-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/locales/sitebuilder_zh_TW-4.0.0-all.07070609.noarch.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sso/psa-fcgi-2.4.0-2.i386.rpm: 78%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sso/sw-cp-server-1.0-0.200706211403.centos42.i386.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sso/sw-sso-1.0-r930.i386.rpm: 56%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sso/sw-sso-migrate-1.0-r930.i386.rpm: 100% done.
Downloading the file CentOS/RPMS/httpd-2.0.52-32.ent.centos4.i386.rpm: 13%..85%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/update-rpm-CentOS-4.2-i386/libxslt-shared-1.1.12-4.i386.rpm: 100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/update-rpm-CentOS-4.2-i386/php5-ioncube-php52-4.0-rhas4.07041615.i386.rpm: 74%..100% done.
Downloading the file SiteBuilder/SiteBuilder_4.0.0/update-rpm-CentOS-4.2-i386/php5sb-5.2.1-10swsoft.i386.rpm: 15%..34%..54%..74%..93%..100% done.
Downloading the file CentOS/RPMS/selinux-policy-targeted-sources-1.17.30-2.145.noarch.rpm: 100% done.
Starting installation of packages
Installing the package httpd-2.0.52-32.ent.centos4.i386
warning: /etc/httpd/conf.d/welcome.conf created as /etc/httpd/conf.d/welcome.conf.rpmnew
warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename failed - Is a directory
ERROR: An error occurred during installation of packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
[root@vor sitebuilder]#




I thank you.
 
As this is installation on Cpanel server I suggest you to do only manual installation. On Cpanel servers apache compiled from the sources and there is no actually httpd package installed but Sitebuilder requires this package to be installed. So in this case better to use manual installation for Sitebuilder packages with rpm -Uhv <packages> --nodeps option.

First of all you need to install packages from SiteBuilder/SiteBuilder_4.0.0/update-rpm-CentOS-4.2-i386/
after that base packages from
SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sitebuilder/

You do not need to install 'httpd' package but make sure that required perl-DBD-MySQL package is installed.
 
Originally posted by Dmitry Frantsev
As this is installation on Cpanel server I suggest you to do only manual installation. On Cpanel servers apache compiled from the sources and there is no actually httpd package installed but Sitebuilder requires this package to be installed. So in this case better to use manual installation for Sitebuilder packages with rpm -Uhv <packages> --nodeps option.

First of all you need to install packages from SiteBuilder/SiteBuilder_4.0.0/update-rpm-CentOS-4.2-i386/
after that base packages from
SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sitebuilder/

You do not need to install 'httpd' package but make sure that required perl-DBD-MySQL package is installed.

Hi dmitry,

Thank you for your reply.

How im gonna install those packages

and which of them shoul I install

?


I thank you :)
 
Let's try to make this procedure step-by-step:

First try to install packages from SiteBuilder/SiteBuilder_4.0.0/update-rpm-CentOS-4.2-i386/ directory:

# cd /root/swsoft/SiteBuilder/SiteBuilder_4.0.0/update-rpm-CentOS-4.2-i386/

# rpm -Uhv *.rpm

Probably you will get a messages that perl-DBD-Mysql package is not installed. So you will need to fing appropriate one for your OS, for example here: http://rpm.pbone.net and install it. After that retry Sitebuilder update packages installation.

When packages from update folder installed you will need to install main Sitebuilder packages from /root/swsoft/SiteBuilder/SiteBuilder_4.0.0/dist-rpm-CentOS-4.2-i386/sitebuilder/ directory with

# rpm -Uhv *.rpm

if dependency for httpd package is there, just re-run command with --nodeps options:

# rpm -Uhv *.rpm --nodeps
 
Back
Top