Bug 1025275 - Could not create drupal quickstart with zend-5.6 cartridge successfully in INT
Summary: Could not create drupal quickstart with zend-5.6 cartridge successfully in INT
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Vojtech Vitek
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-31 11:10 UTC by Wei Sun
Modified: 2015-05-15 02:26 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 00:49:41 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1034584 0 high CLOSED Fail to install packages to zend apps (both zend-5.6 and 6.1) due to "Unable to load dynamic library" error 2021-02-22 00:41:40 UTC

Internal Links: 1034584

Description Wei Sun 2013-10-31 11:10:20 UTC
Description of problem:
Try to create drupal quickstart with zend-5.6 cartridge in INT,but failed.

Could create drupal quickstart with php-5.3 cartridge in INT

Could create drupal quickstart with php-5.3/zend-5.6 cartridge in devenv_3973

Version-Release number of selected component (if applicable):
INT(devenv_3971)
https://github.com/openshift/drupal-quickstart

How reproducible:
Always

Steps to Reproduce:
1.Create a drupal quickstart with zend-5.6 
2.
3.

Actual results:
openshift@openshift-ubuntu:~/test$ rhc app create drupal zend-5 mysql-5 cron --from-code=git://github.com/openshift/drupal-quickstart.git
Using zend-5.6 (Zend Server 5.6) for 'zend-5'
Using mysql-5.1 (MySQL 5.1) for 'mysql-5'
Using cron-1.4 (Cron 1.4) for 'cron'

Application Options
-------------------
  Domain:      wsunint
  Cartridges:  zend-5.6, mysql-5.1, cron-1.4
  Source Code: git://github.com/openshift/drupal-quickstart.git
  Gear Size:   default
  Scaling:     no

Creating application 'drupal' ... 
The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 527238676cec0e3db3000574 -c "exec /usr/bin/runcon
'unconfined_u:system_r:openshift_t:s0:c4,c79' /bin/sh -c \"gear postreceive --first-time >> /tmp/initial-build.log 2>&1\""' returned an
error. rc=255

.Last 10 kB of build output:
fatal: Not a valid object name .openshift/markers/force_clean_build
Stopping Zend Server Console
lighttpd is not running
Stopping Zend Server JobQueue daemon
jqd is not running
Stopping Apache
Syntax error on line 2 of /var/lib/openshift/527238676cec0e3db3000574/zend/configuration/etc/conf.d/openshift.conf:
DocumentRoot must be a directory
httpd (no pid file) not running
Stopping Zend Server Monitor node
monitor is not running
Stopping Zend Server Deployment daemon
zdd is not running
Stopping MySQL cartridge
Stopping Cron cartridge
Building git ref 'master', commit 8d24734
Checking pear: pear.drush.org/drush

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/bcmath.so' -
/usr/local/zend/lib/php/20090626/bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/bz2.so' -
/usr/local/zend/lib/php/20090626/bz2.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/calendar.so' -
/usr/local/zend/lib/php/20090626/calendar.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ctype.so' -
/usr/local/zend/lib/php/20090626/ctype.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/curl.so' -
/usr/local/zend/lib/php/20090626/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/exif.so' -
/usr/local/zend/lib/php/20090626/exif.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/fileinfo.so' -
/usr/local/zend/lib/php/20090626/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ftp.so' -
/usr/local/zend/lib/php/20090626/ftp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/gd.so' - /usr/local/zend/lib/php/20090626/gd.so:
cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/gettext.so' -
/usr/local/zend/lib/php/20090626/gettext.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/imap.so' -
/usr/local/zend/lib/php/20090626/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/intl.so' -
/usr/local/zend/lib/php/20090626/intl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/json.so' -
/usr/local/zend/lib/php/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ldap.so' -
/usr/local/zend/lib/php/20090626/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mbstring.so' -
/usr/local/zend/lib/php/20090626/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mcrypt.so' -
/usr/local/zend/lib/php/20090626/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mongo.so' -
/usr/local/zend/lib/php/20090626/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mysql.so' -
/usr/local/zend/lib/php/20090626/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mysqli.so' -
/usr/local/zend/lib/php/20090626/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pdo_mysql.so' -
/usr/local/zend/lib/php/20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pdo_pgsql.so' -
/usr/local/zend/lib/php/20090626/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pgsql.so' -
/usr/local/zend/lib/php/20090626/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/phar.so' -
/usr/local/zend/lib/php/20090626/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/posix.so' -
/usr/local/zend/lib/php/20090626/posix.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/soap.so' -
/usr/local/zend/lib/php/20090626/soap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/sockets.so' -
/usr/local/zend/lib/php/20090626/sockets.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/sqlite.so' -
/usr/local/zend/lib/php/20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/tidy.so' -
/usr/local/zend/lib/php/20090626/tidy.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/tokenizer.so' -
/usr/local/zend/lib/php/20090626/tokenizer.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/xsl.so' -
/usr/local/zend/lib/php/20090626/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/zip.so' -
/usr/local/zend/lib/php/20090626/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
Attempting to discover channel "pear.drush.org"...
downloading channel.xml ...
Starting to download channel.xml (804 bytes)
....done: 804 bytes
Auto-discovered channel "pear.drush.org", alias "drush", adding to registry
downloading drush-6.1.0.0.tgz ...
Starting to download drush-6.1.0.0.tgz (504,788 bytes)
...done: 504,788 bytes
install ok: channel://pear.drush.org/drush-6.1.0.0

Download and install the latest stable version of Drupal

/var/lib/openshift/527238676cec0e3db3000574/app-root/runtime/repo/.openshift/action_hooks/build: line 41: drush: command not found
ERROR: Unable download and install Drupal.
An error occurred executing 'gear postreceive' (exit code: 7)
Error message: Failed to execute action hook 'build' for 527238676cec0e3db3000574 application drupal

For more details about the problem, try running the command again with the '--trace' option.


Expected results:
Could create drupal quickstart with zend-5.6 cartridge successfully

Additional info:

Comment 1 Andy Goldstein 2013-10-31 20:59:15 UTC
This works in devenv_3974. Please retest when INT is >= 3974. Thanks!

Comment 2 Wei Sun 2013-11-01 03:13:57 UTC
Tested this bug in INT(devenv_3975),still could not create drupal quickstart with zend-5.6,but could create drupal quickstart with zend-5.6 in devenv-stage_546.

Result:
[wsun@dhcp-8-229 test]$ rhc app create drupal zend-5 mysql-5 cron --from-code=git://github.com/openshift/drupal-quickstart.git --server int.openshift.redhat.com -l wsun+3 
Using zend-5.6 (Zend Server 5.6) for 'zend-5'
Using mysql-5.1 (MySQL 5.1) for 'mysql-5'
Using cron-1.4 (Cron 1.4) for 'cron'

Application Options
-------------------
  Domain:      wsun3int
  Cartridges:  zend-5.6, mysql-5.1, cron-1.4
  Source Code: git://github.com/openshift/drupal-quickstart.git
  Gear Size:   default
  Scaling:     no

Creating application 'drupal' ... 
The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 52731b8603ef64802a000381 -c "exec
/usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c3,c106' /bin/sh -c \"gear postreceive --init >>
/tmp/initial-build.log 2>&1\""' returned an error. rc=255

.Last 10 kB of build output:
Stopping MySQL cartridge
Stopping Zend Server Console
lighttpd is not running
Stopping Zend Server JobQueue daemon
jqd is not running
Stopping Apache
Syntax error on line 2 of /var/lib/openshift/52731b8603ef64802a000381/zend/configuration/etc/conf.d/openshift.conf:
DocumentRoot must be a directory
httpd (no pid file) not running
Stopping Zend Server Monitor node
monitor is not running
Stopping Zend Server Deployment daemon
zdd is not running
Stopping Cron cartridge
Building git ref 'master', commit 8d24734
Checking pear: pear.drush.org/drush

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/bcmath.so' -
/usr/local/zend/lib/php/20090626/bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/bz2.so' -
/usr/local/zend/lib/php/20090626/bz2.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/calendar.so' -
/usr/local/zend/lib/php/20090626/calendar.so: cannot open shared object file: No such file or directory in Unknown on line
0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ctype.so' -
/usr/local/zend/lib/php/20090626/ctype.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/curl.so' -
/usr/local/zend/lib/php/20090626/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/exif.so' -
/usr/local/zend/lib/php/20090626/exif.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/fileinfo.so' -
/usr/local/zend/lib/php/20090626/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line
0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ftp.so' -
/usr/local/zend/lib/php/20090626/ftp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/gd.so' -
/usr/local/zend/lib/php/20090626/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/gettext.so' -
/usr/local/zend/lib/php/20090626/gettext.so: cannot open shared object file: No such file or directory in Unknown on line
0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/imap.so' -
/usr/local/zend/lib/php/20090626/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/intl.so' -
/usr/local/zend/lib/php/20090626/intl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/json.so' -
/usr/local/zend/lib/php/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ldap.so' -
/usr/local/zend/lib/php/20090626/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mbstring.so' -
/usr/local/zend/lib/php/20090626/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line
0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mcrypt.so' -
/usr/local/zend/lib/php/20090626/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mongo.so' -
/usr/local/zend/lib/php/20090626/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mysql.so' -
/usr/local/zend/lib/php/20090626/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mysqli.so' -
/usr/local/zend/lib/php/20090626/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pdo_mysql.so' -
/usr/local/zend/lib/php/20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on
line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pdo_pgsql.so' -
/usr/local/zend/lib/php/20090626/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on
line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pgsql.so' -
/usr/local/zend/lib/php/20090626/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/phar.so' -
/usr/local/zend/lib/php/20090626/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/posix.so' -
/usr/local/zend/lib/php/20090626/posix.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/soap.so' -
/usr/local/zend/lib/php/20090626/soap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/sockets.so' -
/usr/local/zend/lib/php/20090626/sockets.so: cannot open shared object file: No such file or directory in Unknown on line
0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/sqlite.so' -
/usr/local/zend/lib/php/20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/tidy.so' -
/usr/local/zend/lib/php/20090626/tidy.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/tokenizer.so' -
/usr/local/zend/lib/php/20090626/tokenizer.so: cannot open shared object file: No such file or directory in Unknown on
line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/xsl.so' -
/usr/local/zend/lib/php/20090626/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/zip.so' -
/usr/local/zend/lib/php/20090626/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
Attempting to discover channel "pear.drush.org"...
downloading channel.xml ...
Starting to download channel.xml (804 bytes)
....done: 804 bytes
Auto-discovered channel "pear.drush.org", alias "drush", adding to registry
downloading drush-6.1.0.0.tgz ...
Starting to download drush-6.1.0.0.tgz (504,788 bytes)
...done: 504,788 bytes
install ok: channel://pear.drush.org/drush-6.1.0.0

Download and install the latest stable version of Drupal

/var/lib/openshift/52731b8603ef64802a000381/app-root/runtime/repo/.openshift/action_hooks/build: line 41: drush: command
not found
ERROR: Unable download and install Drupal.
An error occurred executing 'gear postreceive' (exit code: 7)
Error message: Failed to execute action hook 'build' for 52731b8603ef64802a000381 application drupal

For more details about the problem, try running the command again with the '--trace' option.

Comment 5 Wei Sun 2013-11-18 06:49:15 UTC
Tested in INT(devenv_4043),still could reproduce this issue.

Comment 7 Vojtech Vitek 2013-11-18 16:39:06 UTC
I was not able to reproduce the issue on devenv_4044.

@Wei Sun, can you please retest again or provide the devenv_4043 #ami reference?

Comment 10 Vojtech Vitek 2013-11-20 18:01:03 UTC
I reproduced the issue on the current INT(devenv_4052). Going to launch devenv_4052 and report back.

Comment 11 Vojtech Vitek 2013-11-20 18:53:57 UTC
devenv_4052: SUCCESS

I can't reproduce the issue.

Comment 15 David Lowes - Zend 2013-12-01 14:33:32 UTC
Zend Server should provide all the necessary extensions to run popular php apps such as Drupal, Magento and wordpress.  Please try installing such apps without using pear/pecl.

Comment 17 Vojtech Vitek 2013-12-16 20:10:09 UTC
@Wei Sun, I couldn't reproduce the issue on INT/PROD right now. Can you please verify?

Comment 18 chunchen 2013-12-17 10:07:40 UTC
@Vojtech Vitek, I checked it on INT(devenv_4141), the issue was not totally fixed. It was failed to create drupal quickstart for Zend-6.1, but successful to create drupal quickstart for Zend-5.6. Please refer to the following results:

1. For Zend-6.1
1) drupal with mysql-5.1
]$ rhc app create drupal6 zend-6.1 mysql-5.1 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git
Using cron-1.4 (Cron 1.4) for 'cron'

Application Options
-------------------
Domain:      cdm
Cartridges:  zend-6.1, mysql-5.1, cron-1.4
Source Code: git://github.com/openshift/drupal-quickstart.git
Gear Size:   default
Scaling:     no

Creating application 'drupal6' ... 

The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 52b020166cec0e4eae0001b3 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c3,c672' /bin/sh -c \"gear
postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255

.Last 10 kB of build output:
Stopping Cron cartridge
Stopping Zend Server daemon
zsd is not running
Stopping Zend Server JobQueue daemon
jqd is not running
Stopping Zend Server Deployment daemon
zdd is not running
Stopping Zend Server Java Bridge daemon
java_daemon is not running
Stopping Zend Server Console

lighttpd is not running
Stopping Apache
Syntax error on line 2 of /var/lib/openshift/52b020166cec0e4eae0001b3/zend/configuration/etc/conf.d/openshift.conf:
DocumentRoot must be a directory
httpd (no pid file) not running
Stopping Zend Server Monitor node
monitor is not running
Stopping MySQL cartridge
Repairing links for 1 deployments
Building git ref 'master', commit 8b529ba
Checking pear: pear.drush.org/drush

Attempting to discover channel "pear.drush.org"...
downloading channel.xml ...
Starting to download channel.xml (804 bytes)
....done: 804 bytes
Auto-discovered channel "pear.drush.org", alias "drush", adding to registry
downloading drush-6.2.0.0.tgz ...
Starting to download drush-6.2.0.0.tgz (505,989 bytes)
...done: 505,989 bytes
install ok: channel://pear.drush.org/drush-6.2.0.0

Download and install the latest stable version of Drupal

Drush command terminated abnormally due to an unrecoverable error.   [error]
Error: Call to undefined function ctype_alnum() in
/var/lib/openshift/52b020166cec0e4eae0001b3/app-root/runtime/dependencies/zend/phplib/pear/pear/php/drush/includes/command.inc,
line 896
ERROR: Unable download and install Drupal.
An error occurred executing 'gear postreceive' (exit code: 7)
Error message: Failed to execute action hook 'build' for 52b020166cec0e4eae0001b3 application drupal6

For more details about the problem, try running the command again with the '--trace' option.

2) drupal with mysql-5.5
]$ rhc app create drupal6 zend-6 mysql-5.5 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git
Using zend-6.1 (PHP - Zend Server 6.1 (PHP 5.4)) for 'zend-6'
Using cron-1.4 (Cron 1.4) for 'cron'

Application Options
-------------------
Domain:      cdm
Cartridges:  zend-6.1, mysql-5.5, cron-1.4
Source Code: git://github.com/openshift/drupal-quickstart.git
Gear Size:   default
Scaling:     no

Creating application 'drupal6' ... 
The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 52b020cb03ef6434bc000193 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c5,c931' /bin/sh -c \"gear
postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255

.Last 10 kB of build output:
Stopping MySQL cartridge
Stopping Cron cartridge
Stopping Zend Server daemon
zsd is not running
Stopping Zend Server JobQueue daemon
jqd is not running
Stopping Zend Server Deployment daemon
zdd is not running
Stopping Zend Server Java Bridge daemon
java_daemon is not running
Stopping Zend Server Console

lighttpd is not running
Stopping Apache
Syntax error on line 2 of /var/lib/openshift/52b020cb03ef6434bc000193/zend/configuration/etc/conf.d/openshift.conf:
DocumentRoot must be a directory
httpd (no pid file) not running
Stopping Zend Server Monitor node
monitor is not running
Repairing links for 1 deployments
Building git ref 'master', commit 8b529ba
Checking pear: pear.drush.org/drush

Attempting to discover channel "pear.drush.org"...
downloading channel.xml ...
Starting to download channel.xml (804 bytes)
....done: 804 bytes
Auto-discovered channel "pear.drush.org", alias "drush", adding to registry
downloading drush-6.2.0.0.tgz ...
Starting to download drush-6.2.0.0.tgz (505,989 bytes)
...done: 505,989 bytes
install ok: channel://pear.drush.org/drush-6.2.0.0

Download and install the latest stable version of Drupal

Drush command terminated abnormally due to an unrecoverable error.   [error]
Error: Call to undefined function ctype_alnum() in
/var/lib/openshift/52b020cb03ef6434bc000193/app-root/runtime/dependencies/zend/phplib/pear/pear/php/drush/includes/command.inc,
line 896
ERROR: Unable download and install Drupal.
An error occurred executing 'gear postreceive' (exit code: 7)
Error message: Failed to execute action hook 'build' for 52b020cb03ef6434bc000193 application drupal6

For more details about the problem, try running the command again with the '--trace' option.



2. For Zend-5.6
1) drupal with mysql-5.1
]$ rhc app create drupal zend-5 mysql-5.1 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git
Using zend-5.6 (PHP - Zend Server 5.6 (PHP 5.3)) for 'zend-5'
Using cron-1.4 (Cron 1.4) for 'cron'

Application Options
-------------------
Domain:      cdm
Cartridges:  zend-5.6, mysql-5.1, cron-1.4
Source Code: git://github.com/openshift/drupal-quickstart.git
Gear Size:   default
Scaling:     no

Creating application 'drupal' ... done

  Note: You should set password for the Zend Server Console at: https://drupal-cdm.int.rhcloud.com/ZendServer

MySQL 5.1 database added.  Please make note of these credentials:

       Root User: adminquCiEF2
   Root Password: B4UNER54i8sa
   Database Name: drupal

Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/

You can manage your new MySQL database by also embedding phpmyadmin.
The phpmyadmin username and password will be the same as the MySQL credentials above.

To schedule your scripts to run on a periodic basis, add the scripts to 
your application's .openshift/cron/{minutely,hourly,daily,weekly,monthly}/
directories (and commit and redeploy your application).

Example: A script .openshift/cron/hourly/crony added to your application
         will be executed once every hour.
         Similarly, a script .openshift/cron/weekly/chronograph added
         to your application will be executed once every week.

Zend Server 5.6 started successfully
Zend Server 5.6 stopped successfully
Zend Server 5.6 started successfully

Waiting for your DNS name to be available ... done

Your application 'drupal' is now available.

  URL:        http://drupal-cdm.int.rhcloud.com/
  SSH to:     52b01da403ef641617000001.rhcloud.com
  Git remote: ssh://52b01da403ef641617000001.rhcloud.com/~/git/drupal.git/

Run 'rhc show-app drupal' for more details about your app.

2) drupal with mysql-5.5
]$ rhc app create drupal5 zend-5.6 mysql-5.5 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git
Using cron-1.4 (Cron 1.4) for 'cron'

Application Options
-------------------
Domain:      cdm
Cartridges:  zend-5.6, mysql-5.5, cron-1.4
Source Code: git://github.com/openshift/drupal-quickstart.git
Gear Size:   default
Scaling:     no

Creating application 'drupal5' ... done

  Note: You should set password for the Zend Server Console at: https://drupal5-cdm.int.rhcloud.com/ZendServer

MySQL 5.5 database added.  Please make note of these credentials:

       Root User: adminbfp4svS
   Root Password: StPtc4NwAzFS
   Database Name: drupal5

Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/

You can manage your new MySQL database by also embedding phpmyadmin.
The phpmyadmin username and password will be the same as the MySQL credentials above.

To schedule your scripts to run on a periodic basis, add the scripts to 
your application's .openshift/cron/{minutely,hourly,daily,weekly,monthly}/
directories (and commit and redeploy your application).

Example: A script .openshift/cron/hourly/crony added to your application
         will be executed once every hour.
         Similarly, a script .openshift/cron/weekly/chronograph added
         to your application will be executed once every week.

Zend Server 5.6 started successfully
Zend Server 5.6 stopped successfully
Zend Server 5.6 started successfully

Waiting for your DNS name to be available ... done

Your application 'drupal5' is now available.

  URL:        http://drupal5-cdm.int.rhcloud.com/
  SSH to:     52b01f4003ef6434bc000149.rhcloud.com
  Git remote: ssh://52b01f4003ef6434bc000149.rhcloud.com/~/git/drupal5.git/

Run 'rhc show-app drupal5' for more details about your app.

Comment 19 Vojtech Vitek 2013-12-17 11:30:46 UTC
@chunchen,
> Drush command terminated abnormally due to an unrecoverable error.   [error]
> Error: Call to undefined function ctype_alnum() in
> /var/lib/openshift/52b020166cec0e4eae0001b3/app-root/runtime/dependencies/zend/phplib/pear/pear/php/drush/includes/command.inc,
> line 896
this is completely unrelated bug. Can you please submit a new bug "ctype_alnum() function not available in Zend-6.1" and VERIFY this bug (as it was originally open against zend-5.6 only)?

Thanks, Vojtech

Comment 20 Wei Sun 2013-12-18 03:46:02 UTC
According to #Comment 18 and #Comment 19,verify this bug.

Comment 21 Wei Sun 2013-12-18 05:09:08 UTC
File a new bug: https://bugzilla.redhat.com/show_bug.cgi?id=1044312 to track the issue "ctype_alnum() function not available in Zend-6.1"


Note You need to log in before you can comment on or make changes to this bug.