• 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

Want PHP5 but can upgrade 7.1.7 to 7.5.4 !!

J

jvanv8

Guest
I've been trying to install PHP 5 but it won't configure since it gives me the error:
Code:
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
So since it appears that the server doesn't have a GCC compiler, I figured the easiest way to get up to date was to run the Plesk updates... its been a while (2004?)

I was able to successfully run the updater to get to Plesk version 7.1.7
Then I tried to go to 7.5.3
Code:
..... lots of stuff....
/PSA_7.5.3/rpm_RedHat_el3/opt/api/psa-api-rpc-7.5.3-rhel3.build75050602.16.noarch.rpm
/PSA_7.5.3/rpm_RedHat_el3/opt/api/psa-api-rpc-doc-7.5.3-rhel3.build75050602.16.noarch.rpm
/PSA_7.5.3/rpm_RedHat_el3/opt/api/psa-api-rpc-protocol-7.5.3-rhel3.build75050602.16.noarch.rpm
----

Retrieving standard packages
---

Retrieving Plesk files
---

Preparing for packages installation...Error reading info for conflict 
check of installed package (null).
Error reading info for conflict check of installed package (null).
Error reading info for conflict check of installed package (null).
Error reading info for conflict check of installed package (null).
Error reading info for conflict check of installed package (null).
Error reading info for conflict check of installed package (null).
Error reading info for conflict check of installed package (null).
Error reading info for conflict check of installed package (null).

----- begin of output -----
Installing bind-libs-9.2.4-7_EL3.i386.rpm
	file /usr/lib/libisccc.so.0 from install of bind-libs-9.2.4-7_EL3 
conflicts with file from package bind-9.2.2-21
	file /usr/lib/libisccfg.so.0 from install of bind-libs-9.2.4-7_EL3 
conflicts with file from package bind-9.2.2-21
	file /usr/lib/liblwres.so.1 from install of bind-libs-9.2.4-7_EL3 
conflicts with file from package bind-utils-9.2.2-21

----- end of output -----

I even tried to rename the conflicting files but it did the same thing again.
So I tried to get 7.5.4 and the autoupdate email stated this:
Code:
Retrieving Plesk files
1. Downloading 
[url]http://autoinstall.plesk.com//PSA_7.5.4/rpm_RedHat_el3/base/osCommerce-2.2ms2-7513.noarch.rpm[/url] 
(28 files to go)


---

Preparing for packages installation...Error reading info for conflict 
check of installed package (null).
Error reading info for conflict check of installed package (null).
Error reading info for conflict check of installed package (null).

----- begin of output -----
Installing openssh-clients-3.6.1p2-33.30.4.i386.rpm
Installing openssh-3.6.1p2-33.30.4.i386.rpm
Installing openssh-server-3.6.1p2-33.30.4.i386.rpm
error: Failed dependencies:
	openssh = 3.6.1p2-33.30.1 is needed by (installed) 
openssh-askpass-gnome-3.6.1p2-33.30.1
	openssh = 3.6.1p2-33.30.1 is needed by (installed) 
openssh-askpass-3.6.1p2-33.30.1

----- end of output -----
I'm new at Linux/Unix and server conf in general... can anyone help me out?
 
First off, I wouldn't think at this time of pairing php5 and Plesk. It's not going to work.

As to the upgrade, try doing:

#rpm -e openssh-askpass*

Then run the installer again.
 
what happens if Plesk "doesn't work"
This is a dedicated server and we actually rarely use the plesk interface since we don't sell hosting or anything... php on the other hand.... is much more integral.
If I install PHP5 and Plesk "breaks" then will it work when they finally catch-up to v5?
 
Hi,

If you can get openssh working as per pheonixisp's instructions and then upgrade to 7.5.4, you can then upgrade to PHP 5. PHP 5 is supported since Plesk 7.5.4 Reloaded version.

Regards,
Jeff Wickenheiser
 
I ran the command rpm -e openssh-askpass* and it said the package was not installed (obviously I guess)... then I reran the updater and most of the components were already up to date so I picked a few compnents (I don't really need them but from what I gather, I just need to check something to trigger the updater to run).
After successfully running the updater, I tried the command again but it produced the same output:
Code:
# rpm -e openssh-askpass*
error: package openssh-askpass* is not installed
Any ideas on how to install this openssh thing?

Thanks guys for your help so far.
- John
 
ok, I think I got the openssh issue fixed by running
#rpm -e -F openssh*
But now I have yet another error... looks to be either associated with some sort of License Key or with MySQL. Does MySQL have to be shut down to do the update? I thought it did this automatically?
Here is the output
Code:
----- begin of output -----
Installing perl-5.8.0-89.10.i386.rpm
Installing python-2.2.3-6.1.i386.rpm
Installing perl-DBI-1.32-9.i386.rpm
Installing perl-CGI-2.81-89.10.i386.rpm
Installing laus-libs-0.1-70RHEL3.i386.rpm
Installing rh-postgresql-7.3.9-2.i386.rpm
Installing rh-postgresql-server-7.3.9-2.i386.rpm
Installing tcl-8.3.5-92.2.i386.rpm
Installing mailman-2.1.5-25.rhel3.i386.rpm
Installing perl-DateManip-5.42a-0.rhel3.noarch.rpm
Installing 
/PSA_7.5.4/rpm_RedHat_el3/base/libidn-0.4.2-rhel3.build75050824.12.i586.rpm
Installing 
/PSA_7.5.4/rpm_RedHat_el3/base/psa-qmail-1.03-rhel3.build75050824.12.i586.rpm
 Checking for the system groups and users necessary for Qmail...
 Checking for the group 'nofiles'...
 Group 'nofiles' already exists

 Checking for the user 'alias'...
 User 'alias' already exists

 Checking for the user 'qmaild'...
 User 'qmaild' already exists

 Checking for the user 'qmaill'...
 User 'qmaill' already exists

 Checking for the user 'qmailp'...
 User 'qmailp' already exists

 Checking for the group 'qmail'...
 Group 'qmail' already exists

 Checking for the user 'qmailq'...
 User 'qmailq' already exists

 Checking for the user 'qmailr'...
 User 'qmailr' already exists

 Checking for the user 'qmails'...
 User 'qmails' already exists

 Checking for the group 'popuser'...
 Group 'popuser' already exists

 Checking for the user 'popuser'...
 User 'popuser' already exists

Stopping : [  OK  ]===> Updating /etc/psa/psa.conf...
 Trying to set up default qmail permissions... done

===> Installing Qmail server
 Configuring Qmail...
 Trying to generate SSL certificates for TLS sessions... Generating RSA 
private key, 512 bit long modulus
.++++++++++++
...++++++++++++
unable to write 'random state'
e is 65537 (0x10001)

Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
.........................+.+..................+.........+.................................+...........................+...............................+...+.+...+................................+.........+............................................................+...+...........+......................................+........................+...............................................++*++*++*++*++*++*
unable to write 'random state'

Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
.......+.......................................................................................................+.......................................................................................................................................................................+..+....................................................................+..........................................+................................+..................+....................+...................................+.+.........................................................+....................................................................................................................................................................................................................................................+.........................................................+....................................................................................................................................................................................................................+..+...........+.+............................................................+........+........++*++*++*
unable to write 'random state'

done
 Trying to register service qmail...  using /sbin/chkconfig
done
 Trying to start Qmail services... done
 Trying to register service qmail...  using /sbin/chkconfig
done
Shutting down kernel logger: [  OK  ]
Shutting down system logger: [  OK  ]
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]
Installing 
/PSA_7.5.4/rpm_RedHat_el3/base/psa-proftpd-xinetd-1.2.10-rhel3.build75050824.12.i586.rpm
warning: /etc/proftpd.conf saved as /etc/proftpd.conf.rpmsave
1004
Reloading configuration: [  OK  ]
Installing 
/PSA_7.5.4/rpm_RedHat_el3/base/psa-pre-keyupdate-7.5.4-rhel3.build75050824.12.i586.rpm
mysqld (pid 22881) is running...
keyupdate fails

*****************************************************

 The upgrade of your Plesk server was unable to be completed due to a 
failure to upgrade your product license.

 Failure reason:
 

 If you have acquired your new product license already, please attempt 
the upgrade again. You will given an option to continue without 
automatic license updating.
 If you have not acquired your new product license, you can do so 
either through our online license updater at 
[url]https://register.sw-soft.com/key_upgrade/[/url] or by contacting your account 
administrator. For customers of SWsoft Partners, please contact your 
provider for assistance with acquiring an upgrade to your license.
 For additional assistance contact us at [email][email protected][/email].

*****************************************************

error: %post(psa-pre-keyupdate-7.5.4-rhel3.build75050824.12) scriptlet 
failed, exit status 1

----- end of output -----
Thanks again for any help
 
Well I bought key upgrade and now when I go to the updater menu in Plesk all I get is a blank screen...

Is there a way to 'bring the updater page back to life'?
or
Is there a command to manually trigger the updater?

I hope spending the $$$ for the license key wasn't pointless.
 
Back
Top