Updated Support/Repo for Ubuntu 12.04

General discussion forum for the Zend Server

Updated Support/Repo for Ubuntu 12.04

Postby kentatzend on Wed Jun 06, 2012 10:07 pm

Hi all,

We've create a new repo and installation script that should fix all the outstanding issues with the Ubuntu 12.04 release. This fixes the dependency issues and the SSL issues some people have encountered. We have tested this on "clean" systems that have not had Zend Server before.

If you have not installed before follow the normal instructions here using one of the updated installers scripts (attached here) or follow the manual setup instruction and use the updated repo line "deb http://repos.zend.com/zend-server/5.6.0_ubuntu1204/deb server non-free" instead of the one listed in the docs.

If you have previously installed Zend Server before this new update then you can edit your /etc/apt/sources.list to update the Zend repository entry as described above and then run "aptitude update" followed by "aptitude safe-upgrade" and you should be ok after that.

If people try this new repo/script please post here and let us know how it works (either pass or fail).

The Zend Team
Attachments
ZendServer-5.6.0-RepositoryInstaller-linux.tar.gz
Zend Server Setup Script
(4.17 KiB) Downloaded 566 times
ZendClusterManager-5.6.0-RepositoryInstaller-linux.tar.gz
Zend Cluster Manager Setup Script
(2.65 KiB) Downloaded 449 times
User avatar
kentatzend
 
Posts: 1778
Joined: Thu Dec 11, 2008 1:08 pm

Re: Updated Support/Repo for Ubuntu 12.04

Postby melancholy on Sun Jun 10, 2012 7:45 pm

Fail.

Tried using the updated repo.

$ sudo aptitude install zend-server-php-5.3
The following NEW packages will be installed:
cli-tools-zend-server{a} deployment-daemon-zend-server{a} deployment-extension-zend-server{a} jobqueue-zend-server{a} jq-daemon-zend-server{a} libapache2-mod-php-5.3-zend-server{a} libframework1-zend-server{a} libicu36{a} libmcrypt4{a}
libmysqlclient15off{a} liboci-us-locales-zend{a} libpng3{a} libpq5{a} libsqlite0{a} libssl0.9.8{a} lighttpd-zend-server{a} mysql-common{a} php-5.3-bcmath-zend-server{a} php-5.3-bin-zend-server{a} php-5.3-bz2-zend-server{a}
php-5.3-calendar-zend-server{a} php-5.3-cm-utils-pe-zend-server{a} php-5.3-code-tracing-zend-server{a} php-5.3-common-extensions-zend-server{a} php-5.3-ctype-zend-server{a} php-5.3-curl-zend-server{a} php-5.3-data-cache-zend-server{a}
php-5.3-debugger-zend-server{a} php-5.3-dev-zend-server{a} php-5.3-exif-zend-server{a} php-5.3-fcgi-zend-server{a} php-5.3-fileinfo-zend-server{a} php-5.3-ftp-zend-server{a} php-5.3-gd-zend-server{a} php-5.3-gettext-zend-server{a}
php-5.3-gui-zend-server{a} php-5.3-imap-zend-server{a} php-5.3-intl-zend-server{a} php-5.3-jq-zend-server{a} php-5.3-json-zend-server{a} php-5.3-ldap-zend-server{a} php-5.3-mbstring-zend-server{a} php-5.3-mcrypt-zend-server{a}
php-5.3-monitor-ui-zend-server{a} php-5.3-monitor-zend-server{a} php-5.3-mysql-zend-server{a} php-5.3-mysqli-zend-server{a} php-5.3-oci8-zend-server{a} php-5.3-optimizer-plus-zend-server{a} php-5.3-page-cache-zend-server{a}
php-5.3-pdo-mysql-zend-server{a} php-5.3-pdo-oci-zend-server{a} php-5.3-pdo-pgsql-zend-server{a} php-5.3-pgsql-zend-server{a} php-5.3-phar-zend-server{a} php-5.3-posix-zend-server{a} php-5.3-sc-zend-server{a}
php-5.3-session-clustering-zend-server{a} php-5.3-soap-zend-server{a} php-5.3-sockets-zend-server{a} php-5.3-sqlite-zend-server{a} php-5.3-tidy-zend-server{a} php-5.3-tokenizer-zend-server{a} php-5.3-xsl-zend-server{a}
php-5.3-zds-zend-server{a} php-5.3-zem-zend-server{a} php-5.3-zend-extensions{a} php-5.3-zendutils-zend-server{a} php-5.3-zip-zend-server{a} sc-daemon-zend-server{a} sqlite{a} zend-base{a} zend-server-doc{a} zend-server-framework{a}
zend-server-php-5.3
0 packages upgraded, 75 newly installed, 0 to remove and 0 not upgraded.
Need to get 72.2 MB of archives. After unpacking 268 MB will be used.
The following packages have unmet dependencies:
percona-server-common-5.5 : Conflicts: mysql-common but 5.5.22-0ubuntu1 is to be installed.
Conflicts: mysql-common:i386 which is a virtual package.
Conflicts: mysql-common-4.1 which is a virtual package.
Conflicts: mysql-common-4.1:i386 which is a virtual package.
The following actions will resolve these dependencies:

Remove the following packages:
1) percona-server-client-5.5
2) percona-server-common-5.5
3) percona-server-server-5.5



Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
melancholy
 
Posts: 4
Joined: Mon May 21, 2012 8:58 am

Re: Updated Support/Repo for Ubuntu 12.04

Postby liorkaplan on Thu Jun 14, 2012 1:59 pm

@melancholy

The percona-server packages aren't part of Ubuntu 12.04 as supplied by Canonical.
I guess you've added a 3rd party repository to have them.

The percona-server-common-5.5 package conflics with Ubuntu's mysql-common package, which zend-server depends on.
User avatar
liorkaplan
 
Posts: 91
Joined: Tue Jun 22, 2010 5:59 am

Re: Updated Support/Repo for Ubuntu 12.04

Postby melancholy on Fri Jun 15, 2012 3:42 pm

liorkaplan wrote:The percona-server packages aren't part of Ubuntu 12.04 as supplied by Canonical.
I guess you've added a 3rd party repository to have them.

The percona-server-common-5.5 package conflics with Ubuntu's mysql-common package, which zend-server depends on.


percona-server-common-5.5 replaces and provides mysql-common.

As I stated in my original thread viewtopic.php?f=8&t=59308, percona-server installs perfectly on Ubuntu 12.04 with the native php stack. The conflict comes with zend-server - likely because of the Zend repository's libmysqlclient15off package.
melancholy
 
Posts: 4
Joined: Mon May 21, 2012 8:58 am

Re: Updated Support/Repo for Ubuntu 12.04

Postby melancholy on Fri Jun 15, 2012 4:28 pm

Removing the depend mysql-common version from Zend's libmysqlclient15off package seems to fix the problem.

Depends: mysql-common, libc6 (>= 2.7-1), zlib1g (>= 1:1.1.4)
instead of
Depends: mysql-common (>= 5.0.51a-24+lenny5), libc6 (>= 2.7-1), zlib1g (>= 1:1.1.4)

Quick workaround:
Code: Select all
apt-get download libmysqlclient15off
mkdir extract build
dpkg-deb -x libmysqlclient15off_5.0.51a-24+lenny5_amd64.deb extract/
dpkg-deb -e libmysqlclient15off_5.0.51a-24+lenny5_amd64.deb extract/DEBIAN
sed -i -e 's/mysql-common (>= 5.0.51a-24+lenny5)/mysql-common/' extract/DEBIAN/control
dpkg-deb -b extract/ build/
cd build
dpkg --install libmysqlclient15off_5.0.51a-24+lenny5_amd64.deb
apt-get install zend-server-php-5.3
melancholy
 
Posts: 4
Joined: Mon May 21, 2012 8:58 am

Re: Updated Support/Repo for Ubuntu 12.04

Postby ngispa on Tue Jul 24, 2012 10:16 am

Hi All,

for us, it works without any problem while when using the original repository SSL didn't work.

I only want to signal a little issue: Zend installer edit my apache2.conf adding some lines, in particular this:

Code: Select all
NameVirtualHost *:80


When booting apache2, this produces:

Code: Select all
[warn] NameVirtualHost *:80 has no VirtualHosts


This is a misconfiguration (http://wiki.apache.org/httpd/CommonMisconfigurations) because that directive is specified also in ports.conf. Just remove only that line and it works without any warnings.

Thanks to all
ngispa
 
Posts: 3
Joined: Thu Mar 08, 2012 11:08 am

Re: Updated Support/Repo for Ubuntu 12.04

Postby chrisjluke on Thu Jul 26, 2012 7:21 pm

Zend people, reckon you could fix the PGP signatures for this repository? They're invalid, and it looks like, eg, the Release file is newer than its signature:

Code: Select all
-rw-r--r-- 1 apt-mirror apt-mirror   2133 Jul  2 10:59 Release
-rw-r--r-- 1 apt-mirror apt-mirror    198 May 29 12:16 Release.gpg


Code: Select all
$ gpg --verify Release.asc
gpg: Signature made Tue 29 May 2012 12:16:49 PM UTC using DSA key ID F7D2C623
gpg: BAD signature from "Infra team <zp-infra@zend.com>"
chrisjluke
 
Posts: 1
Joined: Thu Jul 26, 2012 7:16 pm

Re: Updated Support/Repo for Ubuntu 12.04

Postby wshafer1209 on Sat Sep 01, 2012 3:26 am

Hello,

We too are having issues with the key from this repo. We are attempting to install this on a new server.

Here's the error we are getting after adding the repo and doing an apt-get update

W: GPG error: http://repos.zend.com server Release: The following signatures were invalid: BADSIG 2EAE1437F7D2C623 Infra team <zp-infra@zend.com>

Any idea on when this might be fixed?
wshafer1209
 
Posts: 5
Joined: Sat Sep 01, 2012 3:21 am

Re: Updated Support/Repo for Ubuntu 12.04

Postby sptman on Wed Sep 12, 2012 5:15 am

It worked like a charm. Fantastic!!! You saved my day.

melancholy wrote:Removing the depend mysql-common version from Zend's libmysqlclient15off package seems to fix the problem.

Depends: mysql-common, libc6 (>= 2.7-1), zlib1g (>= 1:1.1.4)
instead of
Depends: mysql-common (>= 5.0.51a-24+lenny5), libc6 (>= 2.7-1), zlib1g (>= 1:1.1.4)

Quick workaround:
Code: Select all
apt-get download libmysqlclient15off
mkdir extract build
dpkg-deb -x libmysqlclient15off_5.0.51a-24+lenny5_amd64.deb extract/
dpkg-deb -e libmysqlclient15off_5.0.51a-24+lenny5_amd64.deb extract/DEBIAN
sed -i -e 's/mysql-common (>= 5.0.51a-24+lenny5)/mysql-common/' extract/DEBIAN/control
dpkg-deb -b extract/ build/
cd build
dpkg --install libmysqlclient15off_5.0.51a-24+lenny5_amd64.deb
apt-get install zend-server-php-5.3
sptman
 
Posts: 1
Joined: Wed Sep 12, 2012 5:14 am

Re: Updated Support/Repo for Ubuntu 12.04

Postby lialokawebadmin on Fri Dec 28, 2012 7:59 pm

CLEAN INSTALL OF UBUNTU 12.04, NO UPDATES DURING INSTALL, INSTALLED UPDATES AFTER OS INSTALL COMPLETE

EDITED etc/apt/sources.list ADD LINE (MOC = COM)

#RL
deb http://repos.zend.MOC/zend-server/5.6.0_ubuntu1204/deb server non-free


RAN as ROOT (MOC = COM)

# wget http://repos.zend.MOC/zend.key -O- |apt-key add -

# apt-get update

# apt-get install zend-server-ce-php-5.3



INSTALL SUCCESS


Starting Zend Server 5.6.0 ..

Starting Zend Server Monitor node [OK]
[28.12.2012 11:30:28 SYSTEM] watchdog for monitor is running.
[28.12.2012 11:30:28 SYSTEM] monitor is running.
* Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using XXX.X.X.X for ServerName
[ OK ]
spawn-fcgi: child spawned successfully: PID: 15928
Starting Zend Server GUI [Lighttpd] [OK]
[28.12.2012 11:30:30 SYSTEM] watchdog for lighttpd is running.
[28.12.2012 11:30:30 SYSTEM] lighttpd is running.
scd watchdog is up and running.. [OK]
[28.12.2012 11:30:31 SYSTEM] watchdog for scd is running.
[28.12.2012 11:30:31 SYSTEM] scd is running.
Starting Deployment [OK]
[28.12.2012 11:30:33 SYSTEM] watchdog for zdd is running.
[28.12.2012 11:30:33 SYSTEM] zdd is running.
Starting JobQueue [OK]
[28.12.2012 11:30:34 SYSTEM] watchdog for jqd is running.
[28.12.2012 11:30:34 SYSTEM] jqd is running.

Zend Server started...
Setting up libsqlite0 (2.8.17-7fakesync1build1) ...
Setting up sqlite (2.8.17-7fakesync1build1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place


Thank-you
lialokawebadmin
 
Posts: 1
Joined: Fri Dec 28, 2012 7:54 pm

Next

Return to Zend Server

Who is online

Users browsing this forum: No registered users and 9 guests