• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

anyone used psa autoinstaller?

R

redblue

Guest
Hello,

Just curious if anyone has run the "psa_installer_v2.0.0_build75050908.11_os_RedHat_7.3_i686" script on their server?

The script displayed the following:
Warning! The newer versions of packages required for installation
were found in the system. You can resume setup, however there might be
problems with dependencies.

There are 12 standard packages, that are necessary for Plesk and which
were not found in your system.

There are 1 standard packages, that are installed, but will be upgraded
for Plesk installation.
List of standard packages, that reqired for Plesk installation
==================================================
=============================

1. php-pgsql-4.3.10-0.i386.rpm
2. postgresql-7.2.4-5.73.i386.rpm
3. postgresql-libs-7.2.4-5.73.i386.rpm
4. tkinter-1.5.2-43.73.i386.rpm
5. tk-8.3.3-67.i386.rpm
6. tix-8.2.0b1-67.i386.rpm
7. XFree86-4.2.1-13.73.23.i386.rpm
8. XFree86-font-utils-4.2.1-13.73.23.i386.rpm
9. chkfontpath-1.9.5-2.i386.rpm
10. XFree86-base-fonts-4.2.1-13.73.23.i386.rpm
11. XFree86-xfs-4.2.1-13.73.23.i386.rpm
12. Glide3-20010520-13.i386.rpm
13. hwdata-0.14.1-1.noarch.rpm


.........Plesk was downloading files here.........


Preparing for packages installation...

Installing packages
Installing postgresql-libs-7.2.4-5.73.i386.rpm
Installing postgresql-7.2.4-5.73.i386.rpm
Installing php-pgsql-4.3.10-0.i386.rpm
error: failed dependencies:
php = 4.3.10-0 is needed by php-pgsql-4.3.10-0
Not all required packages were installed.
Press <ENTER> to continue...

.........The installation ended here.........

Can someone please explain what are these packages? And why are there newer versions of them on the server?

Plesk support says I need to
As I can see there is php-4.3.11-mecca1 installed on the server. You should
install appropriate version of php-pgsql. In that case psa will not try to
install older version. Also I would recommend that you try to upgrade to the
Plesk 7.5.4 version instead off 7.5.3.
Does this mean Plesk 7.5.3 and 7.5.4 now requires Postgre SQL in order to run? I never have Postgre SQL on my server before for the previous Plesk 7.5 version. Where can I find detailed instructions on how to run this autoinstaller?
 
WHen you run the auto-installer, at one point it will ask you what Plesk components you want to install. One of these is postgresql.

In order for this package to work with plesk, you need a package called php-pgsql (this is essentially an interface between php and postgresql)

On your system you have a version of php which is newer than the "stock" version of php that Plesk knows about.

The version of php and php-pgsql must be the same. And you don't have php-pgsql installed on your system.

Plesk notices this and tries to install php-pgsql but since it has the wrong version it can't do so (that's the :

Installing php-pgsql-4.3.10-0.i386.rpm
error: failed dependencies:
php = 4.3.10-0 is needed by php-pgsql-4.3.10-0

which is saying "I can't install php-pgsql-4.3.10-0 because you need php = 4.3.10-0 installed". It does not tell you that this is because you have php-4.3.11-mecca1 installed -- you are somehow supposed to magically know this)

So, what do you do?

Well, the simplest thing would be to UNCHECK the postgresql component when given the list of things that you want Plesk to install in the first few pages of the installer. You should untick other things you don't want too. For example the Countrstrike server, Tomcat, Coldfusion, PPWSE, and basically all components that your key does not support and also those you simply don't want.

This will help things go more smoothly.

Faris.
 
Hello,

Thanks for the reply. However, when I tried to deselect PosgreSQL support, Plesk says
You have chosen not to install 'PosgreSQL server support', but it is required by:
* Base packages of Plesk

A more detailed capture is as follow:
Please select the components you wish to install:

1. [*] Base packages of Plesk
2. [*] Plesk Updater
3. [ ] Tomcat Java Servlets support
4. [ ] Frontpage 2002 support
5. [*] PosgreSQL server support
6. [ ] ASP support
7. [*] Mailman mailing list manager support
8. [ ] SpamAssassin support
9. [*] Backup utilities
10. [ ] SPAM blocker for QMail daemon
11. [ ] Apache mod_python
12. [ ] Application vault packages
13. [ ] Additional Horde (webmail) components for Plesk
14. [ ] Plesk Professional Web Site Editor
15. [ ] Plesk API [former Plesk Agent]
16. [ ] SSHTerm - SSH Terminal java applet
17. [ ] Plesk migration manager
18. [ ] Additional Plesk manuals
19. [ ] Dr. Web antivirus
20. [ ] Plesk Firewall module
21. [ ] Plesk Counter-Strike game server module
22. [ ] Plesk VPN module
23. [ ] Plesk Battlefield 1942 game server module
24. [ ] Plesk Fileserver module and SMB file server package
25. [ ] Watchdog (System monitoring module)
26. [ ] Sitebuilder module for Plesk
27. [=] ColdFusion support for Plesk (already installed)

1) Next page; 2) Previous page; 0) Cancel installing
3) Toggle a component; 4) Select all; 5) Deselect all;
Type the number corresponding to the desired action and press Enter [1]: 3

Enter the number of component to toggle: 5
You have chosen not to install 'PosgreSQL server support', but it is required by:
* Base packages of Plesk
Would you like to deselect them all? [Y/n]:

Does this mean I have to rollback my PHP to 4.3.10-0 so when Plesk install its PosgreSQL it'd be of the same version? Because when I select "yes" to deselect them all as prompted above, it also deslects 1. [*] Base packages of Plesk. If the base packages of Plesk is deselected also, that'd mean there's no upgrade to Plesk?

Thanks
 
just install the php-pgsql RPM from your own php version and you're done. Its name is probably php-pgsql-4.3.11-mecca1.rpm
 
Yes, its OK. You just need to do exactly as eilko says and all should be well.

I'm very surprised about the postgress support being required by the base packages of Plesk thing though. That's strange. But it if needs it there's no way around it other than to make sure that the package eilko mentions is installed.

Faris.
 
Hello,

Yeah SWSoft says if I install the PosgreSQL of the same version as my PHP, then it'd be fine. But I don't know how to do this. I have to install the RPM of this PosgreSQL, right? If so, what command should I issue to find and install it?
 
You are on Redhat 7.3?

I think you can do it by using:

up2date php-pgsql

BUT, I don't know where you got the original unusual version of php which is what is causing the problem, so it may be that up2dat isn't set to look in the right place for it, so be careful.

I would suggest contacting the technical support department for the company that provided your server (or set it up).

Faris.
 
Hello,

It says bash: up2date: command not found
But isn't it like "rpm -install <packagename>" or something along that line?
Any idea of where the posgreSQL install files maybe stored at?

I tried searching for php-pgsql-4.3.11-mecca1.rpm by typing "locate php-pgsql-4.3.11-mecca1.rpm" but it returns nothing. So it must be of another filename. However, I don't know how to do the search with an incomplete filename (ie php-pgsql-4.3.11*)
 
up2date is a program that actually downloads the required application onto your server (and installs it) while rpm is the program that installs already downloaded applications. up2date is a standard application on the redhat platform and used to download things from the RedHat Network. However, given that you are on 7.3, which is VERY old in the grand scheme of things, and no further updates are available for it from the RedHat network, I suspect you might have been switched to yum. So try

yum list updates to see if it shows anything, and if it does, try

yum install php-pgsql

As a side note, where on earth did you find a new server running RH7.3? Everybody I've come accross has switched to Centos or RH Enterprise 3 or 4.

Faris.
 
Hello,

I see. The server was actually started a year ago. Maybe back then 7.3 was the latest release.

I tried the command "yum" but it didn't work.
[root@ns1 /]# yum list updates
bash: yum: command not found
[root@ns1 /]# yum
bash: yum: command not found

I also just realized I shouldn't be using the php-pgsql-4.3.11-2.8.i386.rpm I downloaded because I'm using a i686 processor.
[root@ns1 root]# uname -a
Linux ns1.canreef.com 2.4.20-40.7mecca #1 Sat Feb 19 17:51:35 PST 2005 i686 unknown

I was told that Fedcora Core is the latest Linux release? And it requires a 64 bit processor to run. But I still see some Fedora Core compiled for the ix86. Can you please clarify a bit? Also, how do I update it to the latest version? Afterall, it's not as simple as running an update program like in Windows.
 
It isn't possible to upgrade your OS without starting from scratch (i.e. formatting and starting again) (well, I'm sure it is, but it is generally not advisable).

I'm afraid this is now beyond my ability to offer suggestions -- with any luck someone else will come along and say "all you need to do is XYZ - simple!"

But for me, I'd contact your server's suppliers for advise on upgrading things. They may have a a simple mechanism that uses something different to yum or up2date.

Faris.
 
oh, one thing though -- don't worry about i386/i686 -- it doesn't matter. i386 just means it will work on i386 atchitecture - you'll have lots and lots of packages installed that are "i386".

Faris.
 
Hello,

Okay then. If i386 or i686 doesn't matter, let me ask you this. After I tried to "rpm -i php-pgsql-4.3.11-2.8.i386.RPM" it says I need libc.so.6, libpq.so.3, and php. It also says this on http://rpmfind.net/linux/RPM/fedora/updates/3/i386/php-pgsql-4.3.11-2.8.i386.html.

But when I click on the "libc.so.6" link, it returns a lot of links. Which one should I choose? They all have libc.so.6 but I'm not sure how to choose among them. For example, both glibc-ptt-2.3.5-10.i686.html and glibc-2.4.90-3.i686.html seem suitable. And then there's also the question of should I choose glibc-2.4.90-3.i686.html or glibc-2.3.6-3.i686.html? How do I know which one would work with the version of php I have?
 
Back
Top