• 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

Error installing Plesk on CentOS 4

E

eccompro

Guest
I'm trying to install plesk 8.1 on a centos 4 server with 256mb of ram. When installing I get the following error messages:

Start packages installation
Install package courier-imap-3.0.8-cos4.build81070322.16.i586
ERROR: executeCommand(): fork fails: Cannot allocate memory
Errors just before:
- Error while execute command rpm -U /root/swsoft/PSA_8.1.1/dist-rpm-CentOS-4.2-i386/base/courier-imap-3.0.8-cos4.build81070322.16.i586.rpm

ERROR: Installation failed
Warning: Can't execute `getenforce` command

Anyone know why this is happening? Let me know if you need anymore information.

Thanks
 
Well, I got past that error by running "yum update"

Now I'm getting the following error:

Download file update-8.1.1-cos4.2-i386.hdr.gz: 100% done.
Download file build-8.1.1-cos4.2-i386.hdr.gz: 21%..43%..66%..88%..100% done.
Resolve components
ERROR: Can't install product package psa
Errors just before:
- Can't find solution for dependency 'php-configurator'

I tried running "up2date -i php-mbstring" as instructed by this thread:

http://forum.swsoft.com/showthread.php?s=&postid=138880

but I still get the same error message
 
I didn't know that I could install it through yum.

Would you mind telling me what I have to type?


Thanks
 
Originally posted by eccompro
Well, I got past that error by running "yum update"

Now I'm getting the following error:



I tried running "up2date -i php-mbstring" as instructed by this thread:

http://forum.swsoft.com/showthread.php?s=&postid=138880

but I still get the same error message




I resolved this problem by installing php-mysql. Infact I documented the steps those are needed to install plesk8.1 :


There are 3 phases

A: Yum installation
B: Installation of php-mysql
C: Download and execute installer file


Yum installation

cd /usr/src
wget http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/yum-2.4.3-1.c4.noarch.rpm
wget http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-6.i386.rpm
wget http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-4.2.1.i386.rpm
wget http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.i386.rpm
wget http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/sqlite-3.3.3-1.2.i386.rpm
wget http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/rpm-python-4.3.3-18_nonptl.i386.rpm
wget http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm
wget http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/rpm-4.3.3-18_nonptl.i386.rpm
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/4.4/os/alpha/CentOS/RPMS/centos-yumconf-4-4.5.noarch.rpm
rpm -ivh *.rpm --force


Installation of php-mysql :

yum install php-mysql

Download and execute installer file :
wget http://download1.swsoft.com/Plesk/P...taller_v3.1.2_build070321.17_os_CentOS_4_i386
chmod 755 psa_installer_v3.1.2_build070321.17_os_CentOS_4_i386
./psa_installer_v3.1.2_build070321.17_os_CentOS_4_i386
 
I am still getting the:

Resolve components
ERROR: Can't install product package psa
Errors just before:
- Can't find solution for dependency 'php-configurator'

I have tried all these solutions. Its seems to have installed something.

Please note I am a complete Linux beginner, hence me installing plesk because I want to manage it a few sites.

Any ideas or suggestions.
 
Thanks for responding atomic. I tried your suggestion with Yum. But it just says 'nothing to do' or something along those line. Only once did it go further than the above error and it said the same thing only about sqlit2. so i installed that with yum and it went back to the old error again.
 
Heres a step by step:

1) Set up yum/up2date for the atomic channel
wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
2) Add the plesk channel (this is for centos, if youre not on centos, read the page here: http://www.atomicorp.com/channels/plesk/)

cd /etc/yum.repos.d
vim plesk.repo, paste the following

[plesk-8.1.1]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 8.1.1 RPMS
baseurl=http://www.atomicorp.com/channels/plesk/8.1.1/centos/$releasever/$basearch
gpgcheck=0

Step 3) Install atomic-psa. This is just a shortcut I made around all the packages in PSA 8.1.1.
yum install atomic-psa
 
Can't find solution for dependency 'php-configurator'

You need to refer to the install log in the /tmp directory. Plesk makes a pass and, like yum, tries to resolve dependencies. If it fails, it excludes packages and tries again. The problem with this is that, if that second pass fails, Plesk dumps errors from the second pass when your real problem is from the first. php-configurator is the most common error from that second pass and 99% of the time that's not your problem.

Read the install log and find why the first pass failed and odds are you'll have your solution.
 
Hello!

We solved it by the following way,

Install the following packets throught yum,

php-mbstring.i386
php-domxml.i386
php-devel.i386
php-gd.i386
libc-client.i386
php-imap.i386

You only have to execute "yum install XXXX", where XXXX is the name of the packets.

Later you must execute the following command,

rpm -e selinux-policy-targeted-1.17.30-2.145

And that's all, this worked for us :)

Hope it help! Bye!
 
All elements will install bar the second one.
----------------
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-domxml.i386 0:4.3.9-3.22.5 set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Finished Dependency Resolution
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-domxml
----------------
And if I try and run the psa installer, same thing happens and it says there is an issue with php-configurator.

Any ideas why this might be failing?
 
Hello,

First, have you run "yum update" on clean system in order to have all packages updated?

later... try

yum install php.i386

Maybe php base package is missing?

Good Luck!!!
 
Hi atomicturtle,

No, the solution that worked for us was installing those packets from usual yum repositories...

Bye and happy weed-end!
 
Re: Re: Error installing Plesk on CentOS 4

Originally posted by BakArdY
Hello,

First, have you run "yum update" on clean system in order to have all packages updated?

later... try

yum install php.i386

Maybe php base package is missing?

Good Luck!!!

Ran the update. Updated 158 items and then ran php.i386. said nothing to do. Ran the auto installer and is says

Resolve components
ERROR: Can't install product package psa
Errors just before:
- Can't find solution for dependency 'php-configurator'
 
Back
Top