easyapache could not continue because of pcre upgrade error

wt.reyes

Registered
Mar 8, 2014
1
0
1
cPanel Access Level
Website Owner
I've been trying to update apache and php through easyapache but it doesn't allow me to continue and got stuck with the pcre update error.

Here's the logs

Code:
               !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1395691108' !!
                !! 
                Output from '/bin/sh -c "ulimit -a"': 
                core file size          (blocks, -c) 524288
                data seg size           (kbytes, -d) unlimited
                scheduling priority             (-e) 0
                file size               (blocks, -f) unlimited
                pending signals                 (-i) 129805
                max locked memory       (kbytes, -l) 32
                max memory size         (kbytes, -m) unlimited
                open files                      (-n) 1024
                pipe size            (512 bytes, -p) 8
                POSIX message queues     (bytes, -q) 819200
                real-time priority              (-r) 0
                stack size              (kbytes, -s) 10240
                cpu time               (seconds, -t) unlimited
                max user processes              (-u) 129805
                virtual memory          (kbytes, -v) unlimited
                file locks                      (-x) unlimited
                !!
                !! Creating backup of working apache in '/usr/local/apache.backup'. !!
                !! Symlink encountered (/usr/local/apache/etc), preserving target (conf)... !!

                !! Backup of working apache complete. !!
                Checking that all tarballs are present and up to date.
                Checking that all packages are present and up to date.
                Loaded plugins: fastestmirror
                Loading mirror speeds from cached hostfile
                * base: mirror.ubiquityservers.com
                * extras: mirror.cogentco.com
                * updates: mirror.cogentco.com
                Excluding Packages in global exclude list
                Finished
                Setting up Install Process
                Package 12:aspell-0.60.3-13.i386 already installed and latest version
                Package 12:aspell-devel-0.60.3-13.i386 already installed and latest version
                No package automake19 available.
                Package gettext-0.17-1.el5.i386 already installed and latest version
                Package 2:libpng-devel-1.2.10-17.el5_8.i386 already installed and latest version
                Package openssl-0.9.8e-27.el5_10.1.i686 already installed and latest version
                No package libpng-dev available.
                Package zlib-devel-1.2.3-7.el5.i386 already installed and latest version
                No package autoconf261 available.
                Package libidn-devel-0.6.5-1.1.i386 already installed and latest version
                No package gmake available.
                Package libidn-0.6.5-1.1.i386 already installed and latest version
                Package libXpm-3.5.5-3.i386 already installed and latest version
                Package openssl-devel-0.9.8e-27.el5_10.1.i386 already installed and latest version
                Package automake-1.9.6-2.3.el5.noarch already installed and latest version
                Package coreutils-5.97-34.el5_8.1.i386 already installed and latest version
                Package patch-2.5.4-31.el5.i386 already installed and latest version
                No package libstdc++-dev available.
                No package libltdl3-devel available.
                No package libltdl available.
                No package libopenssl0.9.7-static-devel available.
                Package libtool-ltdl-devel-1.5.22-7.el5_4.i386 already installed and latest version
                Package sed-4.1.5-8.el5.i386 already installed and latest version
                Package libXpm-devel-3.5.5-3.i386 already installed and latest version
                No package libXpm-dev available.
                Package lsof-4.78-6.i386 already installed and latest version
                No package krb5-dev available.
                Package flex-2.5.4a-41.fc6.i386 already installed and latest version
                No package glibc-dev available.
                No package expat-dev available.
                Package krb5-devel-1.6.1-70.el5_9.2.i386 already installed and latest version
                Package 12:aspell-devel-0.60.3-13.i386 already installed and latest version
                No package xorg-x11-devel available.
                Package libtool-ltdl-1.5.22-7.el5_4.i386 already installed and latest version
                No package libssl-dev available.
                Package pam-devel-0.99.6.2-12.el5.i386 already installed and latest version
                No package libopenssl0-devel available.
                No package zlib1-devel available.
                Package expat-devel-1.95.8-11.el5_8.i386 already installed and latest version
                Package 12:aspell-0.60.3-13.i386 already installed and latest version
                No package libopenssl0-dev available.
                Package gcc-c++-4.1.2-54.el5.i386 already installed and latest version
                Package expat-1.95.8-11.el5_8.i386 already installed and latest version
                Package glibc-devel-2.5-118.el5_10.2.i386 already installed and latest version
                Package libstdc++-4.1.2-54.el5.i386 already installed and latest version
                Package zlib-1.2.3-7.el5.i386 already installed and latest version
                Package bison-2.3-2.1.i386 already installed and latest version
                Package libstdc++-devel-4.1.2-54.el5.i386 already installed and latest version
                Package libjpeg-devel-6b-38.i386 already installed and latest version
                No package libtool-libltdl-devel available.
                Package libtool-1.5.22-7.el5_4.i386 already installed and latest version
                No package openssl-dev available.
                No package libopenssl0 available.
                No package libz-devel available.
                No package libjpeg-dev available.
                No package pam-dev available.
                Package coreutils-5.97-34.el5_8.1.i386 already installed and latest version
                No package libltdl-devel available.
                No package libopenssl0.9.7-devel available.
                Package e2fsprogs-devel-1.39-36.el5_9.i386 already installed and latest version
                No package ca_root_nss available.
                Package 1:make-3.81-3.el5.i386 already installed and latest version
                Package libX11-devel-1.0.3-11.el5_7.1.i386 already installed and latest version
                No package libstdc++-devel.x86_64 available.
                Package gd-2.0.33-9.4.el5_4.2.i386 already installed and latest version
                Package cpp-4.1.2-54.el5.i386 already installed and latest version
                No package xorg-x11-dev available.
                Package gcc-4.1.2-54.el5.i386 already installed and latest version
                No package ssl-dev available.
                No package lex available.
                Package autoconf-2.59-12.noarch already installed and latest version
                Nothing to do
                !! Processing RPMs... !!


                -- Begin opt 'Cache' --

                    -- Begin step 'to config options' --
                    -- End step 'to config options' --
                -- End opt 'Cache' --

                -- Begin opt 'Deflate' --

                    -- Begin step 'to config options' --
                    -- End step 'to config options' --
                -- End opt 'Deflate' --

                -- Begin opt 'Expires' --

                    -- Begin step 'to config options' --
                    -- End step 'to config options' --
                -- End opt 'Expires' --

                -- Begin opt 'Fileprotect' --
                    -- Begin dryrun test 'turning it on...' --
                    -- End dryrun test 'turning it on...' --

                    -- Begin step 'Run /scripts/enablefileprotect after Apache is installed' --
                    -- End step 'Run /scripts/enablefileprotect after Apache is installed' --
                -- End opt 'Fileprotect' --

                -- Begin opt 'Headers' --

                    -- Begin step 'to config options' --
                    -- End step 'to config options' --
                -- End opt 'Headers' --

                -- Begin opt 'MPM Prefork' --

                    -- Begin step 'to config options' --
                    -- End step 'to config options' --
                -- End opt 'MPM Prefork' --

                -- Begin opt 'Mod SuPHP' --

                    -- Begin step 'Setting version variable' --
                    -- End step 'Setting version variable' --

                    -- Begin step 'Patching mod_suphp' --
                Patch tested at -p1; ../cppatch/01_suphp_paths.patch
                Applying patch; ../cppatch/01_suphp_paths.patch
                patching file src/apache/mod_suphp.c
                patching file src/apache2/mod_suphp.c
                Patch tested at -p1; ../cppatch/02_suphp_userdir.patch
                Applying patch; ../cppatch/02_suphp_userdir.patch
                patching file src/apache/mod_suphp.c
                patching file src/apache2/mod_suphp.c
                patching file src/Application.cpp
                patching file src/Configuration.cpp
                patching file src/Configuration.hpp
                Patch tested at -p1; ../cppatch/03_suphp_full_php_process_display.patch
                Applying patch; ../cppatch/03_suphp_full_php_process_display.patch
                patching file src/Application.cpp
                patching file src/Configuration.cpp
                patching file src/Configuration.hpp
                Patch tested at -p1; ../cppatch/04_suphp_paranoid_checks.patch
                Applying patch; ../cppatch/04_suphp_paranoid_checks.patch
                patching file src/Application.cpp
                patching file src/Configuration.cpp
                patching file src/Configuration.hpp
                Patch tested at -p1; ../cppatch/05_suphp_phprc.patch
                Applying patch; ../cppatch/05_suphp_phprc.patch
                patching file src/Application.cpp
                patching file src/Application.hpp
                patching file src/Configuration.cpp
                patching file src/Configuration.hpp
                Patch tested at -p1; ../cppatch/07_suphp_apache24_detect.patch
                Applying patch; ../cppatch/07_suphp_apache24_detect.patch
                patching file configure
                    -- End step 'Patching mod_suphp' --

                    -- Begin step 'Create task list to do after apache is built' --
                    -- End step 'Create task list to do after apache is built' --
                -- End opt 'Mod SuPHP' --

                -- Begin opt 'Proxy' --

                    -- Begin step 'Adding --enable-proxy to Apache configure line' --
                    -- End step 'Adding --enable-proxy to Apache configure line' --
                -- End opt 'Proxy' --

                -- Begin opt 'UniqueId' --

                    -- Begin step 'to config options' --
                    -- End step 'to config options' --
                -- End opt 'UniqueId' --

                -- Begin opt 'Apache 2.2' --
                    -- Begin dryrun test 'Applying patches if any' --
                Patch tested at -p1; ../cppatch/2.2.6-ssl_engine_rand.patch
                Applying patch; ../cppatch/2.2.6-ssl_engine_rand.patch
                patching file modules/ssl/ssl_engine_rand.c
                Patch tested at -p1; ../cppatch/2.2.8_ssl_scache_dbm.patch
                Applying patch; ../cppatch/2.2.8_ssl_scache_dbm.patch
                patching file modules/ssl/ssl_scache_dbm.c
                Patch tested at -p1; ../cppatch/whmserverstatus.patch
                Applying patch; ../cppatch/whmserverstatus.patch
                patching file support/apachectl.in
                Patch tested at -p1; ../cppatch/safe_conf_defaults.patch
                Applying patch; ../cppatch/safe_conf_defaults.patch
                patching file docs/conf/httpd.conf.in
                Hunk #1 succeeded at 165 (offset 1 line).
                Patch tested at -p1; ../cppatch/suexec_standard.patch
                Applying patch; ../cppatch/suexec_standard.patch
                patching file support/suexec.c
                patching file support/suexec.h
                Patch tested at -p1; ../cppatch/mailman_suexec.patch
                Applying patch; ../cppatch/mailman_suexec.patch
                patching file support/suexec.c
                Patch tested at -p1; ../cppatch/fileprotect_suexec_httpusergroupallow.patch
                Applying patch; ../cppatch/fileprotect_suexec_httpusergroupallow.patch
                patching file support/suexec.c
                Hunk #3 succeeded at 477 (offset 1 line).
                Hunk #5 succeeded at 643 (offset 2 lines).
                Patch tested at -p1; ../cppatch/2.2_apachectl_startssl_support.patch
                Applying patch; ../cppatch/2.2_apachectl_startssl_support.patch
                patching file support/apachectl.in
                Patch tested at -p1; ../cppatch/apache_2.2_apachectl_ulimit.patch
                Applying patch; ../cppatch/apache_2.2_apachectl_ulimit.patch
                patching file support/apachectl.in
                Hunk #1 succeeded at 56 with fuzz 3.
                Patch tested at -p1; ../cppatch/apache_dump_directives.patch
                Applying patch; ../cppatch/apache_dump_directives.patch
                patching file include/http_main.h
                patching file server/main.c
                Hunk #4 succeeded at 662 with fuzz 1 (offset 7 lines).
                Patch tested at -p1; ../cppatch/2.2_default_user_dir.patch
                Applying patch; ../cppatch/2.2_default_user_dir.patch
                patching file modules/mappers/mod_userdir.c
                Hunk #1 succeeded at 78 with fuzz 1.
                Patch tested at -p1; ../cppatch/2.2.12-server-listen.patch
                Applying patch; ../cppatch/2.2.12-server-listen.patch
                patching file server/listen.c
                Patch tested at -p1; ../cppatch/apache_2.2_bug_47673.patch
                Applying patch; ../cppatch/apache_2.2_bug_47673.patch
                patching file modules/ssl/ssl_util_ssl.c
                Patch tested at -p1; ../cppatch/apache_2.2_external_pcre.patch
                Applying patch; ../cppatch/apache_2.2_external_pcre.patch
                patching file configure
                Hunk #1 succeeded at 5426 (offset 6 lines).
                    -- End dryrun test 'Applying patches if any' --
                    -- Begin dryrun test 'Setting permissions on cgi-sys' --
                    -- End dryrun test 'Setting permissions on cgi-sys' --
                    -- Begin dryrun test 'Check SSL' --
                    -- End dryrun test 'Check SSL' --

                    -- Begin step 'Setting up cp identifier' --
                    -- End step 'Setting up cp identifier' --

                    -- Begin step 'Check PCRE' --
                !! Downloading '/var/cpanel/perl/easy/Cpanel/Easy/OptLib/pcre.pm.tar.gz' !!

                !! Installing or updating 'pcre', this will take a while and shouldn't have to be done again until a new version is released by the vendor. !!
                patch: **** Can't open patch file ../pcre-8.21-fixed-length-lookbehind.patch : No such file or directory
                !! Command failed in '/home/cpeasyapache/src/pcre-8.21': 'patch -p1 -i ../pcre-8.21-fixed-length-lookbehind.patch' !!
                !! Restoring original working apache !!

                !! Executing '/scripts/initsslhttpd' !!
                !! Restarting 'httpd' ... !!
                !! 'httpd' restart complete. !!
                Building global cache for cpanel...Done
                !! Executing '/scripts/initfpsuexec' !!
                !! Executing '/scripts/initsslhttpd' !!
                !! Executing '/scripts/update_apachectl' !!
                !! Executing '/scripts/enablefileprotect' !!
                !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1395691108' !!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

The pertinent error message relates to PCRE:

patch: **** Can't open patch file ../pcre-8.21-fixed-length-lookbehind.patch : No such file or directory
It's likely there are some disk space availability issues or immutable directories that are preventing EasyApache from downloading that patch file. Feel free to open a support ticket if the issue persists and post the ticket number here so we can update this thread with the outcome.

Thank you.