Impossible installing atomic repo using automated installer

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
skoj
New Forum User
New Forum User
Posts: 4
Joined: Sun Dec 25, 2011 1:00 pm
Location: Belgium

Impossible installing atomic repo using automated installer

Unread post by skoj »

Hi,


Since Plesk 10 gave internal server errors due to the fact that I was using atomic's PHP and MySQL packages, I removed the Atomic repo file and reinstalled all PHP and MySQL packages. Internal server errors were gone. However, I still need the zend/ioncube loaders and modsecurity and adding the atomic repo again using the automated installer doesn't add the repo file. I'm using CentOS 6 with Plesk 10.4.4.

Code: Select all

# wget -q -O - http://www.atomicorp.com/installers/atomic |sh

Atomic Archive installer, version 2.0.3

BY INSTALLING THIS SOFTWARE AND BY USING ANY AND ALL SOFTWARE
PROVIDED BY ATOMICORP LIMITED YOU ACKNOWLEDGE AND AGREE:

THIS SOFTWARE AND ALL SOFTWARE PROVIDED IN THIS REPOSITORY IS 
PROVIDED BY ATOMICORP LIMITED AS IS, IS UNSUPPORTED AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ATOMICORP LIMITED, THE
COPYRIGHT OWNER OR ANY CONTRIBUTOR TO ANY AND ALL SOFTWARE PROVIDED
BY OR PUBLISHED IN THIS REPOSITORY BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

Do you agree to these terms? (yes/no) [Default: yes] yes

Configuring the [atomic] yum archive for this system 

Installing the Atomic GPG key: OK



The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
  atomic          - [ACTIVATED] - contains the stable tree of ART packages
  atomic-testing  - [DISABLED]  - contains the testing tree of ART packages
  atomic-bleeding - [DISABLED]  - contains the development tree of ART packages


# lsautoinstaller-sources.repo  CentOS-Debuginfo.repo
CentOS-Base.repo            CentOS-Media.repo
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Impossible installing atomic repo using automated instal

Unread post by scott »

If you just removed the atomic.repo file before, then its going to assume its still there since its distributed as an rpm package.
skoj
New Forum User
New Forum User
Posts: 4
Joined: Sun Dec 25, 2011 1:00 pm
Location: Belgium

Re: Impossible installing atomic repo using automated instal

Unread post by skoj »

Great! Removed the rpm and reinstalled it successfully :)

I tried installing ioncube, zend and eaccelerator, but it wants me to upgrade all PHP modules to Atomic's PHP version. Unfortunately that gives an internal server error in Plesk's Application Vault and installing WordPress using Plesk. Can I just install them without upgrading the necessary dependencies to .art versions?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Impossible installing atomic repo using automated instal

Unread post by scott »

No, since those are set up for the standard implementation and the plesk design is doing something else. Maybe we can fix plesk though, whats the actual error & versions involved & path to repeat it.
skoj
New Forum User
New Forum User
Posts: 4
Joined: Sun Dec 25, 2011 1:00 pm
Location: Belgium

Re: Impossible installing atomic repo using automated instal

Unread post by skoj »

The internal server error occurs whenever trying to install WordPress in the user's control panel (after clicking on "Install") and opening the Application Vault under Tools & Settings in the admin control panel.

On CentOS 6 with the latest updates and Plesk 10.4.4 (I presume #update8 - release notes)

Unfortunately the logs don't go back further than after the reinstallation of the php modules..
skoj
New Forum User
New Forum User
Posts: 4
Joined: Sun Dec 25, 2011 1:00 pm
Location: Belgium

Re: Impossible installing atomic repo using automated instal

Unread post by skoj »

Any news on this? I want to install Zend Guard loader but that causes me to update to atomic's php. Parallels can only tell me the following at this 500 error:
Plesk won't support PHP ,MySQL and all other packages which is installed from
third party atomic repository ie .art packages.

Plesk only supports the official repository of the operating system.

So I would strongly recommend you to remove the current 'PHP' and 'MySQL' packages
and install original packages.

You can follow the below mentioned steps for the same,

1. Take backup of all databases:
# mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` --all-databases >
/root/mysql.full.dump

2. Remove the current PHP packages,

eg: $rpm -e php-5.3.6-2.el5.art

3. Remove the third-party repos.

4. Clean the yum repo and cache,

5. Install PHP using yum command.

$yum install php

6. Follow the same step for MySQL also. Take back up of mysql directory,
/var/lib/mysql before doing above steps.

7. #After that you may restore your databases:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` < /root/mysql.full.dump

Please try out the steps above and get back to us if the issue persists.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Impossible installing atomic repo using automated instal

Unread post by faris »

Ah. No. I don't think you don't need to worry about all this nonsense anymore.

There is no incompatibility anymore between Plesk and the ART php/mysql under Centos 6 that I'm aware of. Take a look at http://www.atomicorp.com/forum/viewtopic.php?t=5482 for details.

There was a problem, which got triggered when navigating to the APS pages for some reason, with an older version of mysqlclient16 which was missing strmov(). A version with this function was only quite recently added to the Centos 6 repo, and resolves the problem completely.

The Parallels support people do have a point about supporting third party repos, of course. It adds complexity and unknowns, left right and centre. They should think about supporting the ART repos, however, as they are as Plesk specific as you can get, in many ways. To be honest, my opinion they are trying to support too many flavours of linux, and would do better to concentrate on the core server flavours, and then add support for certain third party repos like the ART one. The end result would be fewer problems, imho.

Do be aware, however, that if you upgrade to the ART php and ART mysql 5.5, going back to the stock os-supplied flavour may be painful. Not impossible, but painful. I personally consider it a one-way move. After careful consideration, and assurances from Scott that he'll provide long-term support for 5.3 (rather then dropping it completely in favour of 5.4), I'm going the ART route with all our 10.4.x installs, starting this weekend.

And just to amplify on this, I've been testing with Centos 6 (x86_64), php 5.3.10 and mysql 5.5 from the ART repo, with php-zendguard-loader, php-ioncube-loader and php-eaccelerator and have not experienced any problems with the panel at all. Of course the panel's php is separate, but it does use the common mysqld, hence the problems you were having initially (without the updated mysqlclient16)
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply